On certain version of iOS and Safari some users (two so far) get err_failed and NSPOSIXErrorDomain:100 errors. Opening this issue so that we can track this and see if we can find the cause.
Known browsers with issues:
To reproduce this:
Solutions that worked:
process.php.Theories and guesses:
That being the case, though, iOS doesn鈥檛 automatically send out the If-Modified-Since header on the way back. If-Modified-Since header, this line would simply fail and there would be no 304 response.Tickets:
HS tag: err_failed
Can confirm that fixing #762 did not resolve this. Apple and their weirdness.
@Tabrisrp I am not why this is happening, but consistently the solution was to stop the 304 response that WP Rocket sends.
I know this is not a perfect situation. Is it feasible to think of a filter with which we can turn off the headers and the 304 response that we send? These ones:
Another case: https://secure.helpscout.net/conversation/724140697/89210?folderId=377611
In case it's revealing in any way, the customer also referenced this thread where at the end a solution is proposed from the server side:
http://forum.directadmin.com/showthread.php?t=55803
Had one more of this happen - https://secure.helpscout.net/conversation/730059226/90062/
Tested to make sure that the fix we added for #762 wasn't the cause.
Note to self: Re-evaluate our 304 process and see if we are doing something wrong.
Also having this issue, first I tried this
http://forum.directadmin.com/showthread.php?t=55803 although I'm not using nginx so I added
Header unset Upgrade
to my http2 config
That didn't fix it, this however did
Is this issue just related to HTTP/2 ?
Comment out these 2 parts works:
Ref ticket: https://secure.helpscout.net/conversation/836744613/105585?folderId=1213662
Another case here: https://secure.helpscout.net/conversation/1087940476/146939?folderId=2683093
Romain's solution solved the issuehttps://github.com/wp-media/wp-rocket/issues/1282#issuecomment-487573485
Another case: https://secure.helpscout.net/conversation/1090376764/147433?folderId=2675957.
Customer applied Romain's fix and that helped too!
Another case here: https://secure.helpscout.net/conversation/1258863440/188541?folderId=273766
The issues are related:
https://github.com/wp-media/wp-rocket/issues/1423
Most helpful comment
Comment out these 2 parts works:
Ref ticket: https://secure.helpscout.net/conversation/836744613/105585?folderId=1213662