2014-07-21 2 views
-1

WebSocket SSL을 Asterisk 백엔드로 업그레이드하기 위해 프록시로 Nginx를 사용하고 있습니다.Nginx 오류 [1049 # 0]

그러나 때때로 사용자가 Asterisk에 연결할 수 없습니다. 별표 끝에는 연결 시도가 표시되지 않습니다.

따라서 나는의 nginx 오류 로그보고 있었고, 난 그런 오류

[error] 1049#0: *28726 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 103.246.xx.xx, server: xxx.xxx.io, request: "GET/HTTP/1.1", upstream: "http://0.0.0.0:8088/ws", host: "yyy.xxx.io" 

많은 내가이 문제를 해결할 수있는 방법에 대한 단서가 있나요 발견?

+1

로그 (단지 한 줄) 가장 도움이 될 것입니다 귀하의 nginx 구성에 대한 몇 가지 상황. –

+0

그건 그렇고 : 당신은 자원이 거의 없을 것입니다 (열려있는 파일은 일반적인 용의자입니다) –

답변

0

맞습니까? http://0.0.0.0:8088/ws

In the Internet Protocol version 4 the address 0.0.0.0 is a non-routable 
meta-address used to designate an invalid, unknown or non applicable target. 
To give a special meaning to an otherwise invalid piece of data is 
an application of in-band signaling. 

출처 : http://en.wikipedia.org/wiki/0.0.0.0

+0

예. 별표는 Nginx와 동일한 서버에서 호스팅됩니다. –

+0

@SteveNg 동일한 서버는 0.0.0.0이 아니라 127.0.0.1입니다. – ElmoVanKielmo