AgoraIO / agora-rtc-web

14 stars 3 forks source link

Many errors when running (statscollector-1.agora.io:6443/events/messages) #2

Open DasGandlaf opened 1 year ago

DasGandlaf commented 1 year ago

AgoraRTC SDK version

4.3.0

Fail Rate

100%

Link to minimal reproduction

https://github.com/AgoraIO-Community/VideoUIKit-Web-React

Steps to reproduce

  1. Get uBlock origin and/or Brave browser
  2. Open react app
  3. Open console
  4. Observe the error being thrown when you either have the Brave browser shields up, or the ublock origin extension is active.

What is expected?

No errors being thrown.

What is actually happening?

~4 Errors being thrown every second (amounts to thousands in a just a few minutes) image

System Info

No response

Any additional comments?

No response

simo-an commented 1 year ago

That is due to uBlock treating stats upload url as AD connection and block it. Please check https://easylist.to/ .

DasGandlaf commented 1 year ago

Thank you, yeah thats true. Do you know if there is a way to disable this stats colletction in the code? I would see that if the request fails three times or so, I would stop making the request.

simo-an commented 1 year ago

No, there is no way to disable stats collection. We will treat it as an improvement point of web sdk. Thanks.

DasGandlaf commented 1 year ago

No, there is no way to disable stats collection. We will treat it as an improvement point of web sdk. Thanks.

Is there any way to work around this issue or so? I really would not like to go into production with a site that throws thousands of exceptions... I tried to change the source code to not make these requests, but I cannot find where the actual human-readable code is. All I find is the bundled js file of AgoraRTC N-production.js. How can I change it?

CREDO23 commented 8 months ago

Hello team, i have the same error with the Agora rtc react.

I tried all Agora code examples. The error persists. I need help please :pray: .

simo-an commented 8 months ago

Hello team, i have the same error with the Agora rtc react.

I tried all Agora code examples. The error persists. I need help please 🙏 .

Okay, we will try to mitigate this problem.

LookRain commented 8 months ago

Hello team, i have the same error with the Agora rtc react. I tried all Agora code examples. The error persists. I need help please 🙏 .

Okay, we will try to mitigate this problem.

Thanks, we recently ran into the same issues. Would appreciate if it can be turned off or stopped after multiple failed attempts