我使用Nginx作为Websocket SSL升级到Asterisk后端的代理。
然而,有时,我的用户只是无法连接到Asterisk。在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"
我该如何解决这个问题?
这对吗?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