-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Apollo stucks until timeout when Uploading #202
Comments
I suggest ensuring you are using the latest version of
Early Also, Apollo Server doesn't handle errors perfectly in all the integrations, see: apollographql/apollo-server#2843 . Unfortunately browsers freak out when the server sends back a response before the client has finished streaming up the request, even though that is valid according to HTTP. Here are some relevant tests:
Finally, I notice you are using React Native. Make sure you don't have any of the dev tools or network inspectors open when making multipart requests because they bug out the requests. |
I tried to update |
It's likely not an |
I had the same problem if you are using node js |
@luco : Do you finally found a solution ? |
Hey guys,
I'm building an Apollo Server with upload. It works fine, the upload works perfectly. But I'm testing throwing an error to handle the UI in case of some error.
The first time I send the mutation it gets the error. But if I try to send it again calling the mutation function again, it gets stuck until a timeout (networkError TypeError: Network request failed). If I remove the files from the upload it works as expected (Getting the error)
Here's my function on client side:
And my function on server-side:
Any thoughts? Thanks!
The text was updated successfully, but these errors were encountered: