我使用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"
有什么线索可以解决这个问题吗?
答案 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.