isTrusted:true error when deploying conference.html independently

2,345 views
Skip to first unread message

ruell magpayo

unread,
May 7, 2021, 3:13:59 AM5/7/21
to Ant Media Server
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??

Selim Emre

unread,
May 7, 2021, 5:55:22 PM5/7/21
to Ant Media Server
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

drulz

unread,
May 10, 2021, 4:16:38 AM5/10/21
to Selim Emre, Ant Media Server
> 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.


--
You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/By2a-yDIrmY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/a1804444-a182-4a88-9da1-dba97289ea72n%40googlegroups.com.

Selim Emre

unread,
May 10, 2021, 5:40:06 PM5/10/21
to Ant Media Server
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

drulz

unread,
May 18, 2021, 6:34:05 AM5/18/21
to Selim Emre, Ant Media Server
Hi,

Sorry for late response, was on leave,
See attached file for logs.


antserver logs 2

Selim Emre

unread,
May 20, 2021, 6:19:09 PM5/20/21
to Ant Media Server
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? 

I hope, I could help you.

Best Regards,
Selim

drulz

unread,
May 20, 2021, 10:50:53 PM5/20/21
to Selim Emre, Ant Media Server
Hi Selim,

Yes I am using the snapshot v2.3.1 version as I was testing the MCU build provided to me by support team.
I guess the branch for the MCU does not contain the fixes from the v2.3.2 :)

Reply all
Reply to author
Forward
0 new messages