question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to suppress reconnection error?

See original GitHub issue

Error in my chrome console: Error: No activity within 45000 milliseconds. 11 chars received. Reconnecting.

I am fine that Event Source reconnects from time to time, but don’t want to have errors in my console about it.

First of all why this is an error, not a warning? Second is why do you use console.error instead of simply throwing errors?

The second part makes it pretty hard to catch this error, the only way i find to do this is overwriting console.error but it doesn’t look like a proper solution, any other ways to suppress error?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
roman-sereda-lohikacommented, Oct 5, 2021

@Yaffle ahh, sorry for confusing, yeah, i see that it was not reported at all in previous versions, well, ok, i will just use some hacks around console.error, but if somebody else will argue about this i hope that some mechanism will be created, thanks

1reaction
botjaegercommented, Jun 27, 2022

solved it by adding this to my Mercure config heartbeat 15s

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the ERR_CONNECTION_RESET Error in 7 Ways
6. Disable Proxy Server Access · Navigate to System Preferences -> Network. · Select your active internet connection. · Open the Advanced settings...
Read more >
How to Fix the "ERR_CONNECTION_RESET" Error (5 Ways)
If your internet connection was the problem, the error should be gone. 3. Disable Your Antivirus Software and Firewall. Antiviruses and ...
Read more >
c# - How to disable "Attempting to reconnect to the server ...
components-reconnect-failed : Reconnection failed, probably due to a network failure. To attempt reconnection, call window.Blazor.reconnect() .
Read more >
Fix a "Reconnect me" error - Android - Chromecast Help
Step 1. Check the internet access · If the network is online and the issue gets fixed after you reboot the router, then...
Read more >
ERR_CONNECTION_RESET: How to fix the Chrome ... - IONOS
As a result, the connection has been “reset”. The error, which usually comes with the 101 code, is particularly common on Chrome (Google's ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found