naia-lib / naia

a cross-platform (including Wasm!) networking library built in Rust. Intended to make multiplayer game development dead-simple & lightning-fast
Apache License 2.0
857 stars 61 forks source link

Windows: OS errors when negotiating...? #93

Open brandon-reinhart opened 1 year ago

brandon-reinhart commented 1 year ago

Windows 11

Code is just a simple connect to a local server:

client.auth(Auth::new("test", "12345"));
client.connect("http://192.168.1.190:14191");

I get these errors, but am not sure yet if they are a naia level issue (use of webrtc_unreliable) or an issue with webrtc_unreliable:

2022-09-23T14:34:57.903796Z  INFO webrtc_unreliable_client::webrtc::peer_connection: signaling state changed to have-local-offer    
2022-09-23T14:34:57.905683Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp 26:17:f000:a060:eed9:3d7a:c3b3:194b: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.906316Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp 169.254.129.206: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.906553Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp 169.254.76.106: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.906798Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp ::0.0.1.0: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.906951Z  INFO webrtc_unreliable_client::webrtc::peer_connection: signaling state changed to stable
2022-09-23T14:34:57.907084Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlled]: could not listen udp 80fe::eed9:3d7a:c3b3:194b: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.907184Z  INFO webrtc_unreliable_client::webrtc::crates::ice::agent::agent_internal: [controlling]: Setting new connection state: Checking
2022-09-23T14:34:57.907273Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 26:17:f000:a060::c00: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.907594Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 26:17:f000:a060:acc4:dfec:5cac:c75f: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.907830Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 80fe::d945:4b2e:d7cb:2289: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.908064Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 169.254.215.234: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.908473Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 80fe::43c9:d10c:e330:5acf: io error: The requested address is not valid in its context. (os error 10049)
2022-09-23T14:34:57.908717Z  WARN webrtc_unreliable_client::webrtc::crates::ice::agent::agent_gather: [controlling]: could not listen udp 169.254.145.112: io error: The requested address is not valid in its context. (os error 10049)
GarmOfGnipahellir commented 1 year ago

Getting the same on Windows 10