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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to