Welcome! Log In Create A New Profile

Advanced

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

June 04, 2016 07:17PM
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!

Dr. Gianluigi "Zane" Zanettini - TurboLab.it
Subject Author Posted

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

ZaneCEO June 04, 2016 07:17PM

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

Lucas Rolff June 04, 2016 07:32PM

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

ZaneCEO June 06, 2016 03:53AM

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

Maxim Konovalov June 06, 2016 04:02AM

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

A. Schulze June 06, 2016 06:02AM

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

Maxim Konovalov June 06, 2016 06:06AM

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

B.R. June 06, 2016 02:22PM

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

ZaneCEO July 08, 2016 05:55PM

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

itpp2012 July 08, 2016 06:35PM

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

Lukas Tribus July 09, 2016 06:28AM

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

ZaneCEO July 11, 2016 04:25AM

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

Jason Woods July 15, 2016 08:10AM

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

Lukas Tribus July 15, 2016 08:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 254
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready