openimsdk / open-im-flutter-demo

Demo developed based on flutter open IM SDK.
https://openim.io
Apache License 2.0
310 stars 209 forks source link

🤖Failing-test: The SDK connection status for a long time is connecting or failed. #93

Closed 4815180 closed 1 year ago

4815180 commented 1 year ago

Which job are failing?

Which test are failing?

登录demo后,SDK状态为可能会维持接近1分钟的连接中或反复连接失败

Since when has it been failing?

demo测试第一次

Testgrid link

No response

Reason for failure (if possible)

No response

Anything else we need to know?

No response

std-s commented 1 year ago

@4815180 Hi, please upload the logs from "Initializing SDK" to the end of synchronization here. Let's follow up.

4815180 commented 1 year ago

Flutter Logs.txt

std-s commented 1 year ago

@4815180 hi, Are you sure you want to use the port?

"apiAddr":"http://new.618w.cn:10002","wsAddr":"ws://new.618w.cn:10001"

4815180 commented 1 year ago

@4815180 hi, Are you sure you want to use the port?

"apiAddr":"http://new.618w.cn:10002","wsAddr":"ws://new.618w.cn:10001"

Due to my lack of registration in mainland China, I am unable to use HTTPS. In order to avoid changing my IP address in the future, I have adopted this approach. However, it has resulted in an exception. When I switch to http://ip:10001 and http://ip:10002, the issue is resolved. I am quite confused.

std-s commented 1 year ago

hi, You can make the following changes.

http://ip:10001/ => http://host/msg_gateway http://ip:10002/ => http://host/api

std-s commented 1 year ago

After no response for a long time, I closed it first.