EXPO: read ECONNRESET

#1

When trying to login with either expo login or exp login I recive the following error.

read ECONNRESET
Error: read ECONNRESET
    at TLSWrap.onread (net.js:657:25)

expo diagnostics

  Expo CLI 2.15.4 environment info:
    System:
      OS: Linux 4.18 Ubuntu 18.10 (Cosmic Cuttlefish)
      Shell: 4.4.19 - /bin/bash
    Binaries:
      Node: 10.2.1 - /usr/local/bin/node
      npm: 5.8.0 - /usr/bin/npm
    npmPackages:
      expo: ^31.0.4 => 31.0.6 
      react: 16.5.0 => 16.5.0 
      react-native: https://github.com/expo/react-native/archive/sdk-31.0.1.tar.gz => 0.57.1 
      react-navigation: ^2.16.0 => 2.18.3 
    npmGlobalPackages:
      expo-cli: 2.15.4
#2

Hey @wasp24,

Can you try running rm -rf .expo and see if that helps?

Cheers,
Adam

#3

Hi Adam,

Unfortunately that did not help, I also created a new project using expo init AwesomeProject then tried to login and had the same issue.


desktop@Q170M-C:~/Repo/AwesomeProject$ expo diagnostics

  Expo CLI 2.15.4 environment info:
    System:
      OS: Linux 4.18 Ubuntu 18.10 (Cosmic Cuttlefish)
      Shell: 4.4.19 - /bin/bash
    Binaries:
      Node: 10.2.1 - /usr/local/bin/node
      npm: 5.8.0 - /usr/bin/npm
    npmPackages:
      expo: ^32.0.0 => 32.0.6 
      react: 16.5.0 => 16.5.0 
      react-native: https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz => 0.57.1 
      react-navigation: ^3.0.9 => 3.9.1 
    npmGlobalPackages:
      expo-cli: 2.15.4

desktop:~/Repo/AwesomeProject$ expo login
? Username/Email Address: wasp24
? Password: [hidden]
read ECONNRESET
Error: read ECONNRESET
    at TLSWrap.onread (net.js:657:25)

When running the new project I also get a ECONNRESET Warning.

Expo DevTools is running at http://localhost:19002
Opening DevTools in the browser… (press shift-d to disable)
Warning: Problem validating app.json: Unable to perform cache refresh for /home/wasp24/.cache/expo/schema-32.0.0.json: Error: read ECONNRESET.
Starting Metro Bundler on port 19001.
Tunnel ready.

Also tried updating my project to expo v32, the login error still persists and I also get the following console errors

Warning: Unable to resolve manifest assets. Icons might not work. Unable to perform cache refresh for /home/wasp24/.cache/expo/schema-32.0.0.json: Error: read ECONNRESET.
Warning: Problem validating app.json: Unable to perform cache refresh for /home/wasp24/.cache/expo/schema-32.0.0.json: Error: read ECONNRESET.

Any other ideas?

Thanks for the help.

#4

Finally figured out it was an issue with the firewall, a recent update resulted in the firewall the TCP connection.

1 Like