Nginx cutting off ajax responses

Maxim Dounin mdounin at mdounin.ru
Mon Sep 20 15:20:28 MSD 2010


Hello!

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

> 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.

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 Dounin



More information about the nginx mailing list