-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox issues: won't connect to Public IP (but OK on LAN) #84
Comments
I don't think you've done anything stupid .. Personally I have been very stumped by how to get this working on Firefox. I've spent several hours myself messing with Firefox feature flags regarding WebRTC .. no luck. Related: |
Wait, I saw a little while back on Discord that Firefox requires you use port 3478 for WebRTC? Try that. Also search for "Firefox" in the Naia Discord for further hints possibly? |
Thanks for the response! I'll try your suggestions and check out the Discord, report here if I discover a solution. |
I didn't know about the port 3478 requirement for Firefox. I still guess it has something to do with |
Okay, nevermind. I've disabled IPv6 on my server completely. Won't work either... |
Hi,
I've been able to get a connection from Firefox to naia based server via WebRTC perfectly fine on LAN addresses. As soon as it connects via a public IP address, I get the error below. I can only guess it is using some other protocol when it should just be sending a HTTP POST?
I've tried many combinations of things with no luck. CORS is enabled for all hosts, if that makes a difference.
When changing the IP address I always update the
public_webrtc_url
inServerAddrs
to match the public IP address of the server.I thought it was a firewall issue (at home), so I just ran it on a DigitalOcean host (which is what the logs are below) and exactly the same thing happened.
(Very limited knowledge about this:) I tried removing the STUN entries as I don't need any sort of NAT, as the server is not behind a NAT, but that caused a panic elsewhere in the code.
Sorry for asking in here, this is probably me doing something stupid (I don't know much about WebRTC), and thought this would be the best place to get a good answer. Thanks for any hints/help.
The text was updated successfully, but these errors were encountered: