You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app that uses react-native-background-upload to upload files to a nestjs backend.
When connecting the app to an instance of the backend running locally, uploads work in the foreground and background. However, when pointing the app towards the production server, as soon as the app goes in the background, the server responds with BadRequestError: Request disconnected during file upload stream parsing. after less than 2 seconds.
The only environment difference is the production server is running on an ec2 instance behind an auto scaling group with load balancing.
Could the auto scaling group be interfering with the library's ability to maintain background uploads? Does anybody else have experience with this?
The text was updated successfully, but these errors were encountered:
I have an app that uses
react-native-background-upload
to upload files to a nestjs backend.When connecting the app to an instance of the backend running locally, uploads work in the foreground and background. However, when pointing the app towards the production server, as soon as the app goes in the background, the server responds with
BadRequestError: Request disconnected during file upload stream parsing.
after less than 2 seconds.The only environment difference is the production server is running on an ec2 instance behind an auto scaling group with load balancing.
Could the auto scaling group be interfering with the library's ability to maintain background uploads? Does anybody else have experience with this?
The text was updated successfully, but these errors were encountered: