"exp start" fail

When i enter the “exp start” in the command prompt and then entered user name and password of the expo account, it fails with the following error message.

17:14:50 [exp] getaddrinfo ENOTFOUND exp.host exp.host:443
17:14:50 [exp] Set EXPO_DEBUG=true in your env to view the stack trace.

As i am using my company network, it should behind the firewall. Is that problem related to the proxy problem? If so, how to solve it?


Hi @lws869 - are you able to visit https://exp.host/ in your browser from the affected computer?

@fson do you have any ideas here?

Hi @esamelson, yes i can visit https://exp.host in the web browser. As i set the proxy in the web browser, everyhings work fine.

@esamelson and @fson, do you have any ideas? I am struggle in this problem for few weeks already…

Thanks for your great help.

If your network requires you to use a proxy, you could try setting the HTTP_PROXY and HTTPS_PROXY environment variables in your terminal session. They instruct exp to use the proxy for requests.

Hi @fson, do you mean there is a command to set HTTP_PROXY and HTTPS_PROXY in expo? If so, would you please give me an example? Thanks.

Check this out: https://docs.expo.io/versions/latest/introduction/troubleshooting-proxies#for-command-line-applications

@fson, thank you. However, I am using the Windows platform. The doc looks only for the Mac platform???

exp reads from the environment variables on Windows too; the part that’s related to Expo should be platform-independent.

um…i am sorry that i am newb to expo, i am still not understand how to set the proxy.

Would you mind to teach me step-by-step?

Now, i opened node.js command prompt. Then, what should i do to set the proxy?

See this guide for how to set environment variables on Windows: Permanently Set Environment Variables on Windows

Still have the following error when connecting to internet using expo. Thanks for your help.

{ Error: There was a problem understanding the server. Please try again.
at C:\xdl@49.1.0\src\ApiV2.js:186:46
at Generator.throw ()
at step (C:\Users<user_name>\AppData\Roaming\npm\node_modules\exp\node_modules\x
at C:\Users<user_name>\AppData\Roaming\npm\node_modules\exp\node_modules\xdl\bui
at process._tickCallback (internal/process/next_tick.js:182:7) responseBody:
undefined }
17:41:59 [exp] Error registering user: There was a problem understanding the ser
ver. Please try again.

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