expo login read ECONNRESET

I’ve been trying to login for a week now, and it gives me error everytime:

Fetching the user profile failed

read ECONNRESET

and

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

I’m not sure what to do? as I need to login to use Expo notifications, or if there’s another way to integrate notifications? please help.

Please provide the following:

  1. Expo Version: 34.0.1
    -SDK Version: 3.11.1
  2. Platforms(Android/iOS/web/all):
    Android/iOS

Hi

So you get the above errors when you run expo login?

What is printed if you run EXPO_DEBUG=true expo login?

Are you behind a proxy server? If so, try setting the https_proxy environment variable to the address of your proxy server. e.g.:

$ export https_proxy=http://192.168.8.100:8080
$ EXPO_DEBUG=true expo login

I got :

connect ECONNREFUSED 172.20.10.7:8080
Error: connect ECONNREFUSED 172.20.10.7:8080
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1136:16)

I don’t know which port should I put excatly, I still can’t login

That error means it is the wrong port. What are your proxy settings in your web browser?

If you can’t get the proxy working, another possibility would be to use a VPN.

Yes, I just tried using VPN, and it actually works for me now.
Thanks!

1 Like

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