日志如下:
D/WebSocket.cpp: NOTICE: lws_client_connect_2: 0xb2d2b780: address 123.60.135.198
NOTICE: uplevelling AF_INET to AF_INET6
D/WebSocket.cpp: WebSocket (0xb2d41900) Unhandled websocket event: 32
WebSocket (0xb2d41900) Unhandled websocket event: 29
V/AudioMixerController: Play over …
Doesn’t have enough tracks: 1, 1
V/AudioEngineImpl: Removing player id=1, state:5
V/PcmAudioPlayer: In the destructor of PcmAudioPlayer (0xb2d28960)
V/Track: ~Track(): 0xb2d41480
D/WebSocket.cpp: NOTICE: lws_client_connect_2: 0xb2d2b780: address 123.60.135.198
NOTICE: uplevelling AF_INET to AF_INET6
NOTICE: Connect failed errno=113
WebSocket (0xb2d41900) onConnectionError, state: 0 …
WebSocket (0xb2d41900) onConnectionClosed, state: 2 …
onConnectionClosed, WebSocket (0xb2d41900) is closing by server.
WebSocket (0xb2d41900) onConnectionClosed DONE!
WebSocket (0xb2d41900) Unhandled websocket event: 50
WebSocket (0xb2d41900) Unhandled websocket event: 45
WebSocket (0xb2d41900) Unhandled websocket event: 33
WebSocket (0xb2d41900) onConnectionClosed, state: 3 …
D/jswrapper: JS: [object Object]
如果你用的是wss
那么你需要一个证书
我证书添加了,还是连接不上
好了,应该是服务器的问题,用4g连的上用公司的WiFi就连不上