expo login throws an error [ read ECONNRESET ]

Diagnostics

 Expo CLI 3.0.10 environment info:
    System:
      OS: macOS High Sierra 10.13
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 12.6.0 - /usr/local/bin/node
      Yarn: 1.17.3 - /usr/local/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
    IDEs:
      Android Studio: 3.0 AI-171.4443003
      Xcode: 9.2/9C40b - /usr/bin/xcodebuild
    npmPackages:
      expo: ^35.0.0 => 35.0.0 
      react: 16.8.3 => 16.8.3 
      react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8 
      react-navigation: ^4.0.10 => 4.0.10

So I’ve been having this issue since last week, been using expo login command and when it asks for the email and password it ends up throwing this error

read ECONNRESET

Set EXPO_DEBUG=true in your env to view the stack trace.

and after setting the debug to true and try again, this is what I get

read ECONNRESET
Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:183:27)

does anyone know what this is?

Hey @shorookoptimizekw,

Your version of expo-cli is a bit out of date. Can you try upgrading to the latest version (3.4.1 at the time of writing) and see if the issue persists?

Cheers,
Adam

yah that didn’t work. what works tho is when I switch to a vpn connection everything works fine (even without the upgrade)… also I believe this is connected to our notifications issue here #29650

Hi

Both issues imply that there might be a transparent proxy intercepting your traffic. I might be wrong, but that’s what it looks like to me.

This has started to work normally again along with our notification issue… still have no idea what was going on tho

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.