Adam
Adam

Reputation: 340

Network request started failing in production app with No valid NAT64 prefix error over WIFI but works on mobile data, Android only

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

Answers (1)

Yeshan Jay
Yeshan Jay

Reputation: 1413

Setting usesCleartextTraffic to true in my AndroidManifest.xml worked for me.

Add it in the application tag.

Cleartext Traffic Error

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

Related Questions