Open tsyrya opened 3 years ago
Well, I found the httpRetryConfig option. It helps, the client throws an exception after some time, but it continues sending requests like that: https://web-2.statscollector.sd-rtn.com:6443/events/messages
. How can I stop it?
Also, could please you clarify the meaning of the options in the RetryConfig interface?
Describe the bug
If a user for some reason has some network restrictions, then the client keeps on trying to join infinitely. Is there a way to interrupt the process or set some sort of timeout for the attempts?
SDK Logs
13:07:19:300 Agora-SDK [DEBUG]: [client-5db35] new Session 209D1B534778DA0BA65C36F15A0122CB AgoraRTC_N-production.js?e671:374 POST https://sua-ap-web-1.agora.io/api/v1?action=stringuid net::ERR_INTERNET_DISCONNECTED AgoraRTC_N-production.js?e671:374 POST https://statscollector-1.agora.io:6443/events/messages net::ERR_INTERNET_DISCONNECTED AgoraRTC_N-production.js?e671:374 POST https://statscollector-1.agora.io:6443/events/messages net::ERR_INTERNET_DISCONNECTED ....
Channel:
39ef9b84-f233-41af-ab94-3f07c45d9112@
UID:
"1"
Platform and Browser:
macOS, Chrome 90
SDK Version:
4.4.0
To Reproduce
Steps to reproduce the behavior: