-
Notifications
You must be signed in to change notification settings - Fork 307
[ionic serve] Error ECONNRESET - Reload and websocket error breaks server #1345
Comments
Hi! got the same issue from yesterday. To fix: Now we waiting an ionic-app-script update to fix it. |
I can confirm the issue is fixxed with [email protected] |
this solution works for myApp tabs but does not work with myApp blank and myApp sidemenu. |
Hey there! Can you please install the nightly version of app-scripts to verify that all is fixed.
This just pins the version to 3.3.2 for now until we properly update ws. |
3.1.6 is out now, which has the fix. Please upgrade your app-scripts version |
3.1.6 solves the issue. Thank you. |
@mhartington thx, the fix works perfectly |
@mhartington It may be useful to update ionic change log (version of ionic-app-script is hardcoded on 3.1.0 there) |
have you try adding --local to your cmd? |
I'm still experiencing this issue on my Windows 7 machine:
|
Hi guys, I still have the issue with Chrome
|
me too, ionic serve on chrome crash at first reload, ionic serve -w firefox works without problems, error with chrome: events.js:160 Error: read ECONNRESET |
+1 |
I got same issue. |
thanks FazioNico, it fixed. |
Short description of the problem:
With the last update of Google Chrome, when I refresh a page, the local server (ionic server) breaks.
According @DeMoorJasper in the
parcel
project, the problem comes when disconnecting the client websocket from the server, which resulted in ECONNRESET, which was ignored in WS 3.3.2 but now triggers an unmatched errorAccording @iMediaSolutions downgrading the
ws
dependency ofionic-app-scripts
solve the issue (see ionic forum)What behavior are you expecting?
It should be possible to refresh or reload an app or page etc.
Steps to reproduce:
=> server stops/breaks
Log
Other information:
Ionic forum: https://forum.ionicframework.com/t/ionic-serve-crash-on-save/115615
Parcel: parcel-bundler/parcel#315
** Duplicate **
ionic-team/ionic-cli#2921
#1344
The text was updated successfully, but these errors were encountered: