Skip to content

Instantly share code, notes, and snippets.

@id-ilych id-ilych/logcat.log
Created Apr 9, 2019

Embed
What would you like to do?
Cocos Creator 2.0.9 Android `wss://` issue
04-09 13:31:07.813: D/WebSocket.cpp(20710): WebSocket thread start, helper instance: 0xd19ad4e0
04-09 13:31:07.820: D/WebSocket.cpp(20710): scheme: ws, host: echo.websocket.org, port: 0, path:
04-09 13:31:07.926: D/WebSocket.cpp(20710): WebSocket (0xce292b00) Unhandled websocket event: 32
04-09 13:31:07.926: D/WebSocket.cpp(20710): WebSocket (0xce292b00) Unhandled websocket event: 29
04-09 13:31:08.166: D/WebSocket.cpp(20710): WebSocket (0xce292b00) Unhandled websocket event: 24
04-09 13:31:08.277: D/WebSocket.cpp(20710): WebSocket (0xce292b00) Unhandled websocket event: 2
04-09 13:31:08.277: D/WebSocket.cpp(20710): onConnectionOpened...: 0xce292b00, client protocols: , server selected protocol:
04-09 13:31:08.286: D/WebSocket.cpp(20710): Safely done, msg(2)!
04-09 13:31:08.287: D/WebSocket.cpp(20710): msg(2) append: 0 + 4 = 4
04-09 13:31:08.287: D/WebSocket.cpp(20710): msg(2) was totally sent!
04-09 13:31:08.287: D/WebSocket.cpp(20710): -----------------------------------------------------------
04-09 13:31:08.399: D/WebSocket.cpp(20710): Receiving data:index:1, len=4
04-09 13:31:08.424: D/WebSocket.cpp(20710): Notify data len 4 to Cocos thread.
04-09 13:31:08.424: D/WebSocket.cpp(20710): closeAsync: WebSocket (0xce292b00) is closing...
04-09 13:31:08.425: D/WebSocket.cpp(20710): Closing websocket (0xce292b00) connection.
04-09 13:31:08.429: D/WebSocket.cpp(20710): scheme: wss, host: echo.websocket.org, port: 0, path:
04-09 13:31:08.430: D/WebSocket.cpp(20710): CA file (/data/user/0/org.cocos2d.helloworld/files/ssl_cert.pem) in writable path exists!
04-09 13:31:08.515: D/WebSocket.cpp(20710): WebSocket (0xd123d280) Unhandled websocket event: 32
04-09 13:31:08.515: D/WebSocket.cpp(20710): WebSocket (0xd123d280) Unhandled websocket event: 29
04-09 13:31:08.535: D/WebSocket.cpp(20710): WebSocket (0xce292b00) Unhandled websocket event: 33
04-09 13:31:08.535: D/WebSocket.cpp(20710): WebSocket (0xce292b00) Unhandled websocket event: 50
04-09 13:31:08.535: D/WebSocket.cpp(20710): WebSocket (0xce292b00) Unhandled websocket event: 4
04-09 13:31:08.535: D/WebSocket.cpp(20710): WebSocket (0xce292b00) onConnectionClosed, state: 2 ...
04-09 13:31:08.535: D/WebSocket.cpp(20710): onConnectionClosed, WebSocket (0xce292b00) is closing by client asynchronously.
04-09 13:31:08.535: D/WebSocket.cpp(20710): WebSocket (0xce292b00) onConnectionClosed DONE!
04-09 13:31:08.842: D/WebSocket.cpp(20710): LWS_CALLBACK_CLIENT_CONNECTION_ERROR: lws_ssl_client_connect2 failed
04-09 13:31:08.843: D/WebSocket.cpp(20710): WebSocket (0xd123d280) onConnectionError, state: 0 ...
04-09 13:31:08.843: D/WebSocket.cpp(20710): WebSocket (0xd123d280) onConnectionClosed, state: 2 ...
04-09 13:31:08.843: D/WebSocket.cpp(20710): onConnectionClosed, WebSocket (0xd123d280) is closing by server.
04-09 13:31:08.843: D/WebSocket.cpp(20710): WebSocket (0xd123d280) onConnectionClosed DONE!
04-09 13:31:08.843: D/WebSocket.cpp(20710): WebSocket (0xd123d280) Unhandled websocket event: 45
04-09 13:31:08.843: D/WebSocket.cpp(20710): WebSocket (0xd123d280) Unhandled websocket event: 33
04-09 13:31:08.843: D/WebSocket.cpp(20710): WebSocket (0xd123d280) onConnectionClosed, state: 3 ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.