Closed anyone0034 closed 11 months ago
Hello! Thank you for filing an issue.
If this is a bug report, please include relevant logs to help us debug the problem.
Join slack 🤖 to connect and communicate with our developers.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Used import { OpenIMSDK } from 'open-im-sdk' Headers:
Request URL: ws://vm1:10001/?sendID=5302466161&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiI1MzAyNDY2MTYxIiwiUGxhdGZvcm1JRCI6NiwiZXhwIjoxNzExMzc5MDE3LCJuYmYiOjE3MDM2MDI3MTcsImlhdCI6MTcwMzYwMzAxN30.YsZ3v0T9cFLntzWZO2lU3yAraOfOKzJt7NhPwuJ70kA&platformID=6&operationID=1 Request Method: GET Status Code: 101 Switching Protocols Connection: Upgrade Sec-WebSocket-Accept: 20XtqShFiN9O6WfoAf/VVBwQ7mY= Upgrade: websocket Accept-Encoding: gzip, deflate Accept-Language: zh-CN Cache-Control: no-cache Connection: Upgrade Host: vm1:10001 Origin: http://127.0.0.1:7045 Pragma: no-cache Referer: https://tmaservice.developer.toutiao.com/?appid=tt65b91304fa8501e801&version=1.0.0 Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits Sec-WebSocket-Key: aULZxwXWxAs4Gg9+bYVKzQ== Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 BytedanceWebview/d8a21c6 Aweme/15.9.0 Mobile ToutiaoMicroApp/2.8.0.12 @byted/miniprogram-ide sendID: 5302466161 token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiI1MzAyNDY2MTYxIiwiUGxhdGZvcm1JRCI6NiwiZXhwIjoxNzExMzc5MDE3LCJuYmYiOjE3MDM2MDI3MTcsImlhdCI6MTcwMzYwMzAxN30.YsZ3v0T9cFLntzWZO2lU3yAraOfOKzJt7NhPwuJ70kA platformID: 6 operationID: 1
Used tt.connectSocket Headers:
Request URL: ws://vm1:10001/?sendID=5302466161&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiI1MzAyNDY2MTYxIiwiUGxhdGZvcm1JRCI6NiwiZXhwIjoxNzExMzc5MDE3LCJuYmYiOjE3MDM2MDI3MTcsImlhdCI6MTcwMzYwMzAxN30.YsZ3v0T9cFLntzWZO2lU3yAraOfOKzJt7NhPwuJ70kA&platformID=6&operationID=cy2yyts1b1703658795984
Request Method: GET
Status Code: 101 Switching Protocols
Connection: Upgrade
Sec-WebSocket-Accept: 43woWC7JwSMyxKDaZYtTrNDPz9Y=
Upgrade: websocket
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN
Cache-Control: no-cache
Connection: Upgrade
Host: vm1:10001
Origin: http://127.0.0.1:7045
Pragma: no-cache
Referer: https://tmaservice.developer.toutiao.com/?appid=tt65b91304fa8501e801&version=1.0.0
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Sec-WebSocket-Key: 0L5xh11zYP0qvqvC0V6cQw==
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 BytedanceWebview/d8a21c6 Aweme/15.9.0 Mobile ToutiaoMicroApp/2.8.0.12 @byted/miniprogram-ide
sendID: 5302466161
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiI1MzAyNDY2MTYxIiwiUGxhdGZvcm1JRCI6NiwiZXhwIjoxNzExMzc5MDE3LCJuYmYiOjE3MDM2MDI3MTcsImlhdCI6MTcwMzYwMzAxN30.YsZ3v0T9cFLntzWZO2lU3yAraOfOKzJt7NhPwuJ70kA
platformID: 6
operationID: cy2yyts1b1703658795984
111
What happened?
What did you expect to happen?
I am using the douyin mini program, the login is successful.Than,i want to sent message, it prompts that the socket has been closed.
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
No response
version
Cloud provider
OS version
Install tools