XMLHttpRequest Object throws occasional "Network Error" in TestFlight Production Environment #44175
Labels
Needs: Attention
Issues where the author has responded to feedback.
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Needs: Triage 🔍
🌐Networking
Related to a networking API.
Newer Patch Available
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
Months ago, I submitted a bug request with the amplify-js team with AWS over a very frustrating bug that has been occurring periodically in our production app. Essentially when a user is on a relatively poor network connection (10ish MB/s upload speed or slower), the XMLHttpRequest will throw a Network Error and fail the upload to S3. After a few months of tracing, the issue is stemming directly from the XMLHttpRequest object, and not from Amplify itself.
Here is a reference to the issue: aws-amplify/amplify-js#12912
You will find the entire error trace system within this github thread and ultimately determining where it's stemming from towards the end. Because it's occurring in production environment, I have not been able to make a perfectly reproducible example.
Steps to reproduce
My beta testing team is experiencing this issue every day at random in our production environment, and will gladly work with the react-native team to provide any logs necessary. It's obviously very difficult to get an example app that is firing this error over and over again because it's happening in production.
React Native Version
0.73.6
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
TBD
Screenshots and Videos
Refer to aws-amplify/amplify-js#12912
The text was updated successfully, but these errors were encountered: