Open WizardForHire123 opened 10 months ago
I have the same issue. The app provides a 192.0.0.2 (which I don't know where it comes from) and an actual IP for my local networking (192.168.2.181), however when I choose the latter which is also the Subnet my PC is in I get a
Failed to host on provided IP:
ws://192.168.2.181:8596
Please check your network settings or restart the game using another IP
When choosing the other IP it seems to setup correctly but then of course I can't connect because 192.0.0.0/24 is not a range that is valid within my network.
I'm on iPhone 15 Pro Max with iOS 17.4.1
Further investigation yielded that the xx.0.0.xx:8596 seems to be shown when Mobile Data is activated. It doesn't show for me when I switch it off. However the issue still persists that I can't establish a connection to my normal internal IP address (192.169.2.XX:8596) with the aforementioned error occuring. I dug out an old Android Phone (Samsung J5) and installed the app on there. The connection works perfectly fine on there and I can roll my dice which show up in Foundry.
This suggests that the problem only occurs on iPhones (and presumably iPads, which I can't tests since I don't own an iPad).
It might be a problem with how websockets are setup in iOS. The layout of the GoDice App suggest that it's written with Xamarin/Cordova or a similar cross-platform tool that utilisies a specific browser engine in the background as it looks exactly the same on Android and iOS leading to somewhat hail mary conclusion that setting up a socket in iOS needs to be handled a separate way than in Android (This is pure speculation at this point in time). However iOS has to be known to throw some tantrums when it comes down to websockets:
Sources:
Might be that the GoDice App needs to be revisited here @ParticulaCode
app providing inaccurate ip address putting 0s in middle of ips
xx.0.0.xx:8596 instead of actual ip provided by phone.