Nginx cutting off ajax responses

Hi,

I have nginx as proxy to apache. Sometimes AJAX responses are cutting
off. And it mostly appears in Safari. In FF it appears rarely.

In error.log I found this record. Not sure what does it mean though:

2010/09/20 12:46:51 [crit] 11465#0: 87523 open()
“/etc/nginx/proxy_temp/6/08/0000000086” failed (13: Permission denied)
while reading upstream, client: .
.., server: .com,
request: “POST /en/entries/addcommenttopage/12/525/20/newest_first/polls
HTTP/1.1”, upstream:
http://127.0.0.1:8080/en/entries/addcommenttopage/12/525/20/newest_first/polls”,
host: "www.
.com", referrer:
http://www.*******.com/en/entries/12/comments/newest_first/polls///tab”

Any advise will be appreciated.

Thanks.

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

Hello!

On Mon, Sep 20, 2010 at 06:53:36AM -0400, alexk wrote:

request: “POST /en/entries/addcommenttopage/12/525/20/newest_first/polls
HTTP/1.1”, upstream:
http://127.0.0.1:8080/en/entries/addcommenttopage/12/525/20/newest_first/polls”,
host: “www..com", referrer:
"http://www.
.com/en/entries/12/comments/newest_first/polls///tab”

Any advise will be appreciated.

Due to lack of permissions nginx wasn’t able to create temporary
file in proxy temp’s directory. Check permissions, nginx workers
should be able to write there.

http://wiki.nginx.org/NginxHttpProxyModule#proxy_temp_path

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs