-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Can't connect from the same network #229
Comments
I have the same issue sometimes. My usual workaround is to click Join repeatedly until it finally does so. It has worked every time, but the number of clicks needed varies |
Going by this workaround, it should be noted that everyone else from outside my LAN was able to connect without incident |
Interesting. I tried joining from the same browser, the same computer and even the same network using my computer and my phone (same wifi) and it's working fine so I will need to investigate a bit more to see if there's a fix for this. |
Same result tonight. I might try pulling down a dev environment, but this is a complete dealbreaker for our campaign |
@aravol I investigated a bit more, and I just tested with multiple computers in my house and I sadly cannot reproduce this issue. I think it could be isolated to the way your network/router/ISP is configured but its pretty hard for me to pinpoint. It could also be related to this: https://github.com/fariapp/fari/wiki/Connection-issues But since I cannot reproduce it on my end, I will need help to help find more details about this issue. For now, I would recommend you use the offline mode and share your screen while players look at their character sheet on their end. If that still doesn't work for you, well I'm sorry that it is a dealbreaker for your campaign. |
A similar problem. The error message does not appear, but in the console the message is:
Can I help figure out the reason? |
I encountered the same problem on Chrome on MacOS version 10.15.7 (Catalina), but clicking 'Join' repeatedly wasn't working. The problem may have something to do with anonymizing the local IPs exposed by WebRTC. WorkaroundI've found disabling anonymizing local IP addresses in your browser allows you connect. I'm no expert, but using these workarounds is a potential security concern, hence why the browsers are the set the way they are. If you insist of doing this, I advise you to use this workaround for the duration of playing then change it back. This workaround may need to be done for both computers on your network, not just the one that can't connect. Chrome
FirefoxSomeone else may confirm this, but I believe the following steps are equivalent to the above Chrome workaround if you're encountering a problem using Firefox:
On an potentially related note, comparing the console output of a successful connection against one that doesn't connect, I've found the successful one contains two additional lines: |
Was able to get it working with this above anonymization workaround, though it didn't work on only the host machine; needed to be applied to both machines |
Noted, I'll add that to the workaround. |
This is a very nice investigation @FastCarrot and happy to see that it worked for you @aravol ! Perhaps this workaround could be added to the wiki so that everyone can benefit from this ? https://github.com/fariapp/fari/blob/master/docs/fari-wiki.md#connection-issues |
I still find it weird that this flag is needed only for certain users and not all of them. I'm no network expert so if anyone knows and would like to enlighten me, please do. |
Hello, I'm having the same issue. Two computers, same LAN, cannot connect to each other. My workaround was to set up a local hotspot on my phone and have one player connect to that hotspot. Then I was able to establish the connection. |
🚩 Describe the bug
Two machines connected from the same LAN cannot connect to each other over Fari
🔢 Steps to reproduce
Host a table from Machine A
Copy Link, send to Machine B
Join game from Machine B
Enter name on name page
Wait...
Client console shows
PeerJS: iceConnectionState changed to disconnected on the connection with <GUID>
Note
<GUID>
does NOT match the link guidServer Console does not appear to acknowledge the connection attempt
🟢 Expected behavior
App connects or displays a clear error
🔴 Actual behavior
App never stops "loading" spinner
💅 Screenshots
🖥 Desktop or Smartphone
📄 Additional context
The text was updated successfully, but these errors were encountered: