Jump to content
  • 0

isTrusted:true error when deploying conference.html independently


ruell magpayo
 Share

Question

Hi have copied the entire source file of 

https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/conference.html

copied the source its dependencies to a standalone nodejs express app,

so i can just run it by itself

but during initialization or creation of webRTCAdaptor
i am getting the error

connection closed.

 error occured: {"isTrusted":true}

I dont know where to go from here, there is no additional error message, 
How can we debug this?
whats causing the issue?

Note: all application even the simple publisher has the same issue.

the is a huge blocker in our production :(

 

I was suspecting that the server should be running in HTTPS, but it was not the case,

 

I had this before and it was supposed to be fixed with version 2.3.2 but now its back.

Any help please??
Link to comment
Share on other sites

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0

Hi,

Have a good day.

i have copied the entire source file of 

Please copy also webrtc_adaptor.js and websocket_adaptor.js files. 

connection closed.  error occured: {"isTrusted":true}

Actually, I'm curious about WebSocket URL. Could you please make sure your WebSocket URL is right:
wss://serverURL:5443/<AppName>/websocket

Looking forward to hearing from you soon.

Best Regards,
Selim

Link to comment
Share on other sites

  • 0
>Please copy also webrtc_adaptor.js and websocket_adaptor.js files. 
Yes, already did that, as I said, it intermittently work, but after like end of day, when i shut down servers, devices and resume the next day, the error re-occurs.

here is how my webrtc path looks like

My setup, is I have a local ubuntu machine where Antmedia is running and being access from another laptop (development machine),
SSL certificate are self signed as it is local development.


Link to comment
Share on other sites

  • 0

Hi,

Have a good day.

Are you sure your AMS working properly? Could you please share your ant-media-server.log file? You can find ant-media-server.log file on /usr/local/antmedia/log folder. It would great to understand your issue. 

Looking forward to hearing from you soon.

Best Regards,
Selim

Link to comment
Share on other sites

  • 0

Hi,

I have checked your logs. As I saw, you are using v2.3.1 SNAPSHOT version. Google Chrome has changed something in the above 90 version. Could you please upgrade to the latest version v2.3.2? 
Please check for more details: https://github.com/ant-media/Ant-Media-Server/issues/3182

I hope, I could help you.

Best Regards,
Selim

Link to comment
Share on other sites

 Share

×
×
  • Create New...