Steve Ng
2014-Aug-04 13:25 UTC
[asterisk-users] Asterisk websocket with Nginx 502 Gateway error
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140804/1e6c2a2e/attachment.html>