Why am I getting 502 error with longpolling?
Hello. Newby here..
I have nginx proxy_pass directed to port 8069. Also another proxy pass for location /longpolling points to 8072. I think it's all fine on the nginx side. The problem is (I think) that longpolling is not working at all.
This is the output from firebug console:
POST https://example.com/longpolling/poll 502 Bad Gateway 2ms
I think my problem is the same as this guy's:
I can telnet to 8069 but not to 8072.
$ telnet 127.0.0.1 8072
telnet: Unable to connect to remote host: Connection refused
Nobody responded to him and I don't really understand his own answer. This package 'psycogreen' I already had installed.
I pasted my odoo-server.conf file contents here: http://pastebin.com/rSKaLxSV