I’m having a really odd issue that seems to only affect a few devices. My app is failing to connect to anywhere whilst on WiFi. I get the error java.net.ConnectException: failed to connect to "server"
What makes this stranger is that it will work with a freshly installed apk, this is what I’ve tried.
- WiFi On, Uninstall game, install game via apk.
- Open game, everything works!
- Kill game, Open game, everything works!
- Kill game, turn WiFi Off, turn Wifi On, Open game, ConnectException Error
- Turn WiFi Off (4g On), Open game, everything works!
- Turn Wifi On, Open game, ConnectException Error
It’s trying to connect to facebookGraph, unity and my server. All give the same error.
I’ve also tested this on a different wifi network.
This only happens on some devices, but I have absolutely no clue why, any ideas???