Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BadRequestError: Request disconnected during file upload stream parsing. #341

Open
alexandergx opened this issue Oct 23, 2023 · 0 comments

Comments

@alexandergx
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant