moisty
Client unable to send requests on certain internet providers
Summary
Hi, we built a Expo React Native app with over 350k users with tRPC making calls to our backend edge functions hosted on Vercel's Next.js app.
The issue is that we don't receive the requests for a certain subset of our users in our production environment.
Clues
- We've tried logging the error on the user's side, and all they see is
TRPCClientError: Network request failed
- We thought that it was a problem on our domain, but we tried other popular domain names like https://google.com, and users still had the same problem, leading us to believe that it's not a DNS/SSL issue with our domain
- We tried different APIs to send requests, such as axios
and fetch
with no success, so maybe it's not a problem with tRPC?
Potential Fixes
- A known fix that worked for some users is switching from using their Wifi connection to using mobile data. After switching, they could send requests and we could receive them.
- Another known fix was to use our app during late hours, when no one is using Wifi.
Affected Devices
- Platforms: iOS, Android
- Affected Internet Providers: Plumas-Sierra Telecommunications, Orange Polska, and more.1 replies