-
Notifications
You must be signed in to change notification settings - Fork 478
Expo server crashes often. #519
Comments
Stack traces that start with ABIXX and ABIYY are very often bad state being cached by the bundler. |
OK I'll try, thanks |
Same here. |
what operating system are you folks using? please notice that there is an issue template that you need to follow in order for us to understand the context surrounding your issue. i attached it here again for you to fill it out. we can't help until you do it.
|
EnvironmentExpo CLI 2.6.14 environment info: Steps to Reproduce
Expected BehaviorThe expo server should serve js bundle stably Actual Behaviorexpo crashes sometimes, given the only message: When I restart it, everything goes well then, and it still crashes after some time. Reproducible DemoIf you really need a demo project, please leave comments. Thank you. |
I've had this issue before, consistently -- I think it might have been something to do with watchman. I restarted my laptop and it went away... |
While, even if I change to prod mode, it still crashes, Actually what I'm doing is to make expo server serve my app stable, for continuous integration use. It's a shame that if expo-server is only for development use :( |
Hi, @brentvatne, I got something new! |
|
I erroneously posted this on react-native, but I'm posting it here now... Environment
DescriptionThis consistently happens when the phone is locked or you close the app on the phone. On my machine this takes 3 minutes on the nose. So, I'm guessing there's a 180s timeout on the socket. The problem is, it never recovers when I start the phone app back up again, which causes lost productivity because I have to restart expo, and then wait about a minute for the javascript build. I have a very small project, I can't imagine how painful this would be with larger projects.
Reproducible DemoThis happens with any application, no real need for a demo; it's an expo issue for not being able to recover from a connection reset. |
Oh, one more thing. This will only occur if you actually start the app using the expo app and trigger a javascript build on the expo server. After that I'm guessing it keeps a connection open between the server and the app on the phone to monitor for changes, and that is where the issue lies. |
The error disappears once I switch expo to production mode |
Same here. But production mode didn't solve it. |
need help, facing same problem here too......... |
I have the same problem, server crash every 5-20 min, this really annoying restarting server every 5-20 min
Maybe the problem because I use the socket.io and websocket in my project? After migrating to expo-cli my websockets connection stop working in development mode |
Happening for me too - was working fine with an Android device connected, but when I connect an iPhone (running ios 10.3.3 on an iPhone 5) I get this error after a few minutes |
Same here, i am using android emulator on win 10/ ubuntu. Any help? |
Started to happen after switching to a new laptop 😒 Happens very often. |
Same here. I deleted the .expo folder and upgraded expo CLI to 2.11.8 but the problem insistis. |
Same problem |
I changed to node v8.9.4 and the problem is gone. |
Same here: Environment: Packages: (wanted => installed) Diagnostics report: |
The same problem: |
Same problem... Expo CLI 2.14.0 environment info: events.js:167 Error: connect ECONNREFUSED 127.0.0.1:43725 |
Hey there! Same problem for me. Expo server crashes without apparent reasons. EnvironmentExpo CLI 2.14.0 environment info: Error is :events.js:173 Error: read ECONNRESET |
I am having the same issue.. anyone have any insight on this? Error: read ECONNRESET |
Someone tried to downgrade their node to version 8.16.0? Some reported that this solves the crashing expo-cli. |
I have downgraded node to version 8 from version 12. Now I have not encountered this problem at all. |
I have the same issue, I have to restart Expo, everytime this happens, any fix for this issue? |
Getting this a bunch
|
Hey guys, randomly started facing the same issue recently. I was wondering if this is an OS specific issue? I am viewing expo on my android app. |
This isn't an OS specific issue. It seems it's just a case of one of the servers not graciously handling a socket error. (In Node v8, socket errors had a default error handler; since Node v10, they don't). |
The error appears to occur only if you are using a real mobile device. |
This is definitely not the case for me, both with IOS and Android simulators I experience this problem. |
Okay so just upgrading my expo cli somehow helped... I understand this is a socket issue but |
@yashank09 there's been many times I thought it helped, just to find it did not. Are you really sure it helped? If so, what version did you start on and what version is working better for you? |
I am having the same issue when I ' expo login ' I cannot login in my Terminal even though I can sign-in in Expo website . read ECONNRESET And I need to login because of expo notification feature, please help. |
@SPineapple I think that's a distinct/different issue. You might want to see if there's another thread of that specifically, or if there's not, open a new issue. Make sure that your firewall isn't blocking the request first though. |
I used to encounter this issue a lot. |
@arnaud-cortisse Weird. I had this issue exclusively with a physical phone. |
Well, I've noted that it only happens with my Xiaomi phone. With the iPod Touch works fine. |
Great news, this issue is fixed for me with expo-cli 3.11.2 based on PR #1368. I upgraded expo-cli and then started with It seems what was happening was that log messages would get split into chunks and if a chunk happened to be a string with an integer, it would get coerced into an integer and the |
Still get this error on expo-cli 3.11.3, after an idle period or device "sleep": INFO Error: read ECONNRESET |
@natecartwright Did you do |
I have the same error all the time. Using ios simulator, expo version 3.11.1. I'll try for some time with the
UPDATE: using -c does not help |
@vujevits One cause of this problem was fixed in 3.11.2 so please upgrade and try again. |
thanks @kevgrig , upgrading solved the issue. |
I have the same problem during
|
Currently it's fixed in the latest, if someone has this problem again please feel free to open a new issue. |
ECONNRESET
I served the app with the command:
expo start
But it keeps crashing again and again. And I can not get any information from the message.
The text was updated successfully, but these errors were encountered: