graylog-labs / graylog2-web-interface

[DEPRECATED]
https://www.graylog.org/
611 stars 174 forks source link

Random ERR_CONTENT_LENGTH_MISMATCH errors #1600

Closed citosid closed 9 years ago

citosid commented 9 years ago

I have the latest version of graylog, using the AMI in us-west-1

Randomly I'm receiving the error content length mismatch.

Here is an screenshot:

screen shot 2015-09-11 at 11 40 30 am

Sometimes hitting Ctrl + Shift + F5 works, but others no.

Any idea?

citosid commented 9 years ago

More info:

2015/09/11 15:39:58 [crit] 24622#0: *38270 open() "/opt/graylog/embedded/proxy_temp/3/08/0000000083" failed (13: Permission denied) while reading upstream, client: 190.52.168.82, server: , request: "GET /assets/javascripts/jquery-ui.min.js HTTP/1.1", upstream: "http://127.0.0.1:9000/assets/javascripts/jquery-ui.min.js", host: "analytics.site.org", referrer: "http://analytics.site.org/"
2015/09/11 15:40:00 [crit] 24622#0: *38263 open() "/opt/graylog/embedded/proxy_temp/4/08/0000000084" failed (13: Permission denied) while reading upstream, client: 190.52.168.82, server: , request: "GET /assets/javascripts/moment-timezone-with-data.min.js HTTP/1.1", upstream: "http://127.0.0.1:9000/assets/javascripts/moment-timezone-with-data.min.js", host: "analytics.site.org", referrer: "http://analytics.site.org/"
2015/09/11 15:40:01 [crit] 24622#0: *38231 open() "/opt/graylog/embedded/proxy_temp/5/08/0000000085" failed (13: Permission denied) while reading upstream, client: 190.52.168.82, server: , request: "GET /assets/javascripts/build/app-029af06f34.js HTTP/1.1", upstream: "http://127.0.0.1:9000/assets/javascripts/build/app-029af06f34.js", host: "analytics.site.org", referrer: "http://analytics.site.org/
citosid commented 9 years ago

More info yet:

I noticed that file does not even exists...

mariussturm commented 9 years ago

Hi, for some reason your Nginx cache directory has the wrong user permissions. In doubt you can delete the directory sudo rm -r /opt/graylog/embedded/proxy_temp and recreate it with proper user rights sudo graylog-ctl reconfigure and sudo graylog-ctl restart nginx.