bug-tracker
bug-tracker copied to clipboard
Rainway Dashboard notification icon shows (Offline) when online
Rainway app version 1.0.14.0 Windows 10 1903 18362.1
Repro steps:
- Configure Rainway to not use uPnP.
- Start Rainway, wait for Ready to Host to appear
- Hover over notification icon and see (Offline)
Hey @riverar thanks for this bug report! It will be fixed in our next patch.
Still seeing this in 1.0.15.0. cc: @Codeusa
Thanks for note @riverar. I just double checked and I am unable to reproduce. Looking at the code, this text is set by our internet connection checks which pings 8.8.8.8, 1.1.1.1, and 223.5.5.5. If all three of those pings fail, it will set the text to Offline. I did find an error in there that might cause a false-positive, but I don't think its tied directly to UPNP. I've written a patch for that one issue which should go live Monday.
We also do a hard check for NetworkInterface.GetIsNetworkAvailable()
and if that returns false, that could also be a cause.
If you enable UPNP does it say Online again?
@Codeusa Ahhh, I have ICMP filtered on my Rainway boxes.
Since Rainway is anchored to Windows 10, maybe one enhancement (low priority) would be to tap into WinRT's NetworkInformation.GetInternetConnectionProfile()
/ GetNetworkConnectivityLevel()
.
That returns ConnectionProfile::InternetAccess
on my boxes right now.
Wasn't aware of these, I will implement them since we already use NetworkStatusChanged to trigger the pings.
Just an update that this particular change didn't make it in, but it's staged for 1.0.17.