Priority: Not Evaluated
Affects Version/s: 5.7.1
Fix Version/s: None
Environment:iPhone 6SE (iOS 10.2.1)
iPhone 5S (iOS 8.3)
4G carrier: T-Mobile
When the phone is connected to wi-fi and 4g, and the user disable the wi-fi the QNetworkManager instance will go into the NotAccessible state, if it was previously connected to an host (connectToHost/connectToHostEncrypted).
1) enable both WiFi and 4G (it's important that both are enabled before opening the app);
2) open the app;
3) disable the wifi;
4) the QNetworkAccessManager goes into NotAccessible state.
It might be necessary to try 3-4 times, as it doesn't happens always.
Also, I'm not sure if it's related, but just before switching state, I see the following log message:
It appears to happen only on iOS, I tried on a Samsung Galaxy S6 (Android 6.0.1) and I couldn't reproduce it. Also it doesn't happen if the manager wasn't connected to an host.
Attached there is a test application to reproduce the issue.