WebRTC Failing to Connect

222 views
Skip to first unread message

Ayush Agarwal

unread,
Apr 21, 2024, 4:55:43 AM4/21/24
to discuss-webrtc
Hi, I am trying to run WebRTC locally. When I run peer_connection_server and peer_connection_client, everything works fine and I can see that the client has connected successfully.

However, when I try to connect to the client from my website running on Chrome, I run into the following error message:

(p2p_transport_channel.cc:1244): Failed to resolve ICE candidate hostname [HOSTNAME].local with error -2
(thread.cc:803): Waiting for the thread to join, but blocking calls have been disallowed
(connection.cc:1217): Connection deleted with number of pings sent: 1

I am confused because before this error shows up, the logs show that an offer has been received and I also see this message:

(p2p_transport_channel.cc:1264): Resolved ICE candidate hostname [DIFFERENT HOSTNAME].local to [LOCAL_IP_ADDRESS]

I see the peer_connection server log the connection and show the extra website client connected. However, then the web client is disconnected.

I would appreciate any help or suggestions in debugging this issue.
Reply all
Reply to author
Forward
0 new messages