-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Fetch fails intermittently on first request with 'POST' method when using nginx 1.10.x #7943
Comments
Just a follow-up to hopefully keep others from banging head against wall on 'POST' requests. Above seems to be due to http2 changes in nginx 1.10.x. |
It is indeed an nginx bug. You can track https://trac.nginx.org/nginx/ticket/959. I'm hoping there is a 1.10.2 release. |
We believe this might be fixed in RN 0.31-rc.0 which uses OkHttp 3.4.1. |
I'm actually seeing this in iOS. |
I believe the issue's been fixed in nginx 1.11.x -- just did some research on our own servers since we haven't been seeing HTTP/2 issues on iOS nor Android since we upgraded recently. My reading of http://stackoverflow.com/questions/36907767/nsurlerrordomain-code-1004-for-few-seconds-after-app-start-up/37195635#37195635 is that iOS 9's NSURLSession library and nginx 1.10.1 don't get along. I'm closing this since it doesn't look like it's related to React Native nor reasonable for RN to fix. Solutions at hand: use nginx 1.9.x, 1.11.x, or disable HTTP/2 until Apple patches iOS if they ever do. |
Fetch fails intermittently on first request with 'POST' method when using nginx 1.10.x with following server-side error:
client sent stream with data before settings were acknowledged while processing
Similar to:
#7642
The text was updated successfully, but these errors were encountered: