Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular [webpack-dev-server] Connection Looping under Chrome

For my Angular project(Angular 14, webpack-dev-server 4.9.3), web-pack-server disconnected and trying to reconnect message constantly looping if the application is run under Chrome. But the message does not show if run under Edge.

The message is shown under Console log.

Console log: Disconnected!, Trying to reconnect..., Live Reloading enabled.

like image 212
JamesW Avatar asked Aug 09 '26 09:08

JamesW


2 Answers

In my case I added an exception to the localhost address in my Kaspersky antivirus.

Under Security/Security Settings/Safe Browsing/Advanced Settings/Trusted URLs, click +Add and type in *localhost*.

like image 92
mark lauron Avatar answered Aug 12 '26 00:08

mark lauron


I would try opening your site in a Chrome Incognito tab.

If it works there, you know you have some plugin that does some weird sh...

like image 26
Spock Avatar answered Aug 11 '26 23:08

Spock