Issue with HTTP/2 and async file upload from Safari on iOS

ZaneCEO nginx-forum at forum.nginx.org
Sat Jun 4 23:17:26 UTC 2016


Hi guys,
I'm at my first deploy of Nginx with php-fpm after 10+ years of love with
Apache and mod_php. So far so (very) good.

I just have a peculiar issue with Safari on iOS. As you can read here
http://stackoverflow.com/questions/37635277/safari-on-ios-fails-to-ajax-upload-some-image-file-cannot-connect-to-server
, my webapp allows the user to select an image, client-resize it via JS and
then upload it via jQuery.

The problem is that Safari on iOS 9 sometimes fails the upload with the
error

POST <my upload url>, Could not connect to the server.

I just found out that  when I disabled the HTTP/2 form my server config the
issue vanishes.

Is this a known issue somehow? Is there any other solution that doesn't
require me to go nuclear on HTTP/2?

Thanks for your help!

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267385,267385#msg-267385



More information about the nginx mailing list