kyren / webrtc-unreliable

Just enough hacks to get unreliable unordered WebRTC data channels between a browser and a server
Other
394 stars 29 forks source link

Error establishing connection #25

Open cBournhonesque opened 1 year ago

cBournhonesque commented 1 year ago

Hi, I was able to use webrtc-unreliable (via naia) to establish a webrtc connection between a local client and server. But now it seems to not work anymore. I see this in the logs

2023-01-17T03:57:52.202243Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp 26:3:70:0:3e:1:29:c1: io error: Can't assign requested address (os error 49)
2023-01-17T03:57:52.202343Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp fe:80::: io error: Can't assign requested address (os error 49)
2023-01-17T03:57:52.222732Z  INFO webrtc_unreliable_client::webrtc::peer_connection: signaling state changed to stable
2023-01-17T03:57:52.222878Z  INFO webrtc_unreliable_client::webrtc::crates::ice::agent::agent_internal: [controlling]: Setting new connection state: Checking
2023-01-17T03:57:52.222981Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_internal: [controlling]: pingAllCandidates called with no candidate pairs. Connection is not possible yet.

I'm not sure how to debug this. There is 0 code change on my part. Potential issues:

cybersoulK commented 1 year ago

i am on MacOs 13.2 and mine works fine both Locally and remote server (i am using webrtc unreliable directly without naia)

cybersoulK commented 1 year ago

@cBournhonesque