Reputation: 340
We started getting a Network Request Failed
error in our production app when users try to login on WiFi, mobile data never has this issue. It occurs on most but not all WiFi networks. We have pushed no changes to our app recently and it only occurs on Android. Pertinent logcat message is No valid NAT64 prefix
. Any ideas what could happening?
Upvotes: 5
Views: 14978
Reputation: 1413
Setting usesCleartextTraffic
to true
in my AndroidManifest.xml
worked for me.
Add it in the application
tag.
Cleartext is any transmitted or stored information that is not encrypted or meant to be encrypted. When an app communicates with servers using a cleartext network traffic, such as HTTP, it could raise a risk of eavesdropping and tampering of content
Upvotes: 3