-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
brotli causing errors in Safari for JavaScript files starting with 0.10.0 #1958
Comments
@gruberro what's the output using curl to make a request? |
This is the curl output you asked for.
|
I too was seeing a similar issue loading Grafana JS. But what I was seeing was |
@gruberro @nixgadget I think I will change the default for the brotli module until we could determine exactly if the issue is in the brotli module or nginx 1.13.8 |
@nixgadget can test if setting |
@aledbf can confirm that it appears to be working with 0.10.0 and |
@aledbf thank you for investigating this problem. We're also going forward without brotli for the moment! |
I have also seen this with javascript files and it is on Chrome 63.0.3239.132. Using 0.10.2 and enabling brotli can cause the error, so I'm pretty sure it is brotli at fault. In chrome on the javascript file when it fails, we get a similar |
For the next release, I will rollback the brotli version. I think the latest version is the reason for this error |
@gruberro @nixgadget please test |
@aledbf tested the container you mentioned and it's working now! TY |
@aledbf Works for me as well. Thanks a bunch for getting a fix quick. |
What's the actual root of this? A bug in the Brotli algorithm? Is it being addressed? |
Hi!
After having upgraded from
0.9.0
to0.10.0
I recognized that Safari starts failing when loading JavaScript files (and yep, other file-types like CSS are working as expected 😟 ). The error message in Safari (and only Safari) isFailed to load resource: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 303.)
. I tried to find the root cause and ended up with disablingbrotli
. This helped to avoid the issue in Safari. A downgrade to0.9.0
solved the errors as well (for sure with brotli enabled).I tried to diff the generated
nginx.conf
s and all other configuration files but couldn't find hints regarding this problem. One potential problem is discussed in google/ngx_brotli#50. Not pretty sure if the minor Nginx upgrade brings in the problem?!Some details about the ingress configuration (non of them seems to be directly related to the problem):
tls-acme
onaffinity
andsession-cookie-*
onforce-ssl-redirect
onproxy-body-size
and thessl-protocols
Please let me know if I can support you with more details.
TY
Robert
The text was updated successfully, but these errors were encountered: