How to suppress reconnection error?
See original GitHub issueError 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:
- Created 2 years ago
- Reactions:1
- Comments:11 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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, thankssolved it by adding this to my Mercure config
heartbeat 15s