socket.io-client-swift icon indicating copy to clipboard operation
socket.io-client-swift copied to clipboard

error with data: [Invalid namespace]

Open xuchaofei opened this issue 4 years ago • 0 comments

2021-12-09 15:10:11.323771+0800 WeTalk[5784:912049] LOG SocketIOClient{/}: Socket connected 2021-12-09 15:10:11.324220+0800 WeTalk[5784:912049] LOG SocketIOClient{/}: Handling event: statusChange with data: [connected, 3] statusChange--------------[connected, 3] 2021-12-09 15:10:11.324782+0800 WeTalk[5784:912049] LOG SocketIOClient{/}: Handling event: connect with data: ["/"] 2021-12-09 15:10:11.325983+0800 WeTalk[5784:912049] LOG SocketIOClient{/}: Removing handler with id: 78071854-1521-4806-9876-3FF8E47A8752 ---------连接成功了 2021-12-09 15:10:11.673295+0800 WeTalk[5784:912219] LOG SocketEngine: Got message: 421["notificationEvent",{"from":"0","chatType":3,"to":"216734237724905472","msgType":0,"create":1639033811988,"cmd":0,"content":"登录成功","finger":"089b19df5bff4bf7a24a7f2da1fff47d"}] 2021-12-09 15:10:11.673618+0800 WeTalk[5784:912219] LOG SocketEngine: Got message: 44/,"Invalid namespace" 2021-12-09 15:10:11.673662+0800 WeTalk[5784:912049] LOG SocketParser: Parsing 21["notificationEvent",{"from":"0","chatType":3,"to":"216734237724905472","msgType":0,"create":1639033811988,"cmd":0,"content":"登录成功","finger":"089b19df5bff4bf7a24a7f2da1fff47d"}] 2021-12-09 15:10:11.674827+0800 WeTalk[5784:912049] LOG SocketParser: Decoded packet as: SocketPacket {type: 2; data: [notificationEvent, { chatType = 3; cmd = 0; content = "\U767b\U5f55\U6210\U529f"; create = 1639033811988; finger = 089b19df5bff4bf7a24a7f2da1fff47d; from = 0; msgType = 0; to = 216734237724905472; }]; id: 1; placeholders: -1; nsp: /} 2021-12-09 15:10:11.675765+0800 WeTalk[5784:912049] LOG SocketIOClient{/}: Handling event: notificationEvent with data: [{ chatType = 3; cmd = 0; content = "\U767b\U5f55\U6210\U529f"; create = 1639033811988; finger = 089b19df5bff4bf7a24a7f2da1fff47d; from = 0; msgType = 0; to = 216734237724905472; }] 2021-12-09 15:10:11.676300+0800 WeTalk[5784:912049] LOG SocketParser: Parsing 4/,"Invalid namespace" 2021-12-09 15:10:11.676896+0800 WeTalk[5784:912049] LOG SocketParser: Decoded packet as: SocketPacket {type: 4; data: [Invalid namespace]; id: -1; placeholders: -1; nsp: /} 2021-12-09 15:10:11.677156+0800 WeTalk[5784:912049] LOG SocketIOClient{/}: Handling event: error with data: [Invalid namespace] error--------------[Invalid namespace]

I connected success, bug then report [Invalid namespace],the issue in 2017 Ihave readed,I do not found engineDidOpen in SocketIOClient

xuchaofei avatar Dec 09 '21 07:12 xuchaofei