steveng.1988 at gmail.com Guest
|
Posted: Mon Aug 04, 2014 8:25 am Post subject: [asterisk-users] Asterisk websocket with Nginx 502 Gateway e |
|
|
Hi all,
I am using the following set up:
SIPML5 --> Nginx --> Asterisk, where NGINX as a reverse proxy, main purpose is to take in wss and route to Asterisk's ws.
However, I am facing this issue recently where Nginx will return 502 gateway error of
8018#0: *24183 upstream prematurely closed connection while reading response header from upstream, client: 116.15.31.xxx, server: asteriskstage.xxx.yy, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8088/ws", host: "asteriskstage.xxx.yy"
Anyone has any idea why?
Here's my nginx config:
http://pastebin.com/UU0G3YLh
Regards,
Steve |
|