-
Notifications
You must be signed in to change notification settings - Fork 868
Multipart upload reset connection #265
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
Comments
Not sure what's happening. Providing some extra information on the target server and its configuration might help. Even better would be to provide a minimal setup in which this issue can be reproduced. |
I meet the same quetion too, |
Think this is an issue for the upstream library Try creating a issue on their issue tracker: To help out investigation; Is it reproducible with just the |
I looked at this issue node-http-proxy. Found it quite similar to this issue. Try this
|
@ConsidNdr Thank you soo much. It is working for me.. |
I need to proxy a multipart upload request from a web application to an API server.
The target server checks the file size and if it is bigger than expected return a 413 - Payload Too Large with a message.
If I send the request directly to the API server, I get the expected 413.
But if I send the request to the proxy, the connection is reset.
Setup
Code
Here is my code
If I add the following snippet of code as an option
this is what is printed:
So it seems to me that the proxy receives the expected response form the API server but then it does not forward it correctly.
Can someone please help me fix this issue?
Let me know if I must add more information and feel free to ask questions.
The text was updated successfully, but these errors were encountered: