vue-cli: Hangs behind HTTP Proxy

Version

3.0.0-alpha.8

Steps to reproduce

Run vue create on a computer configured with a corporate HTTP Proxy

(http_proxy and https_proxy environment variable are defined, everything else is working properly)

What is expected?

It should run as usual

What is actually happening?

vue create command hangs forever with no prompt at all.


Tested on Windows and Ubuntu.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 6
  • Comments: 24 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Have verified changing out request works in my environment. Unless someone else is already working on this I will put together a PR.

Getting this error with @vue/cli@3.0.0-alpha.9 for vue create randomapp

ERROR Error: connect ETIMEDOUT <someIpWithPortHere> Error: connect ETIMEDOUT <someIpWithPortHere> at Object._errnoException (util.js:1003:13) at _exceptionWithHostPort (util.js:1024:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1194:14)

Getting the following error with @vue/cli@3.0.0-alpha.9 for vue create my-app

ERROR  Error: write EPROTO 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:827:

Error: write EPROTO 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:827:

    at _errnoException (util.js:1024:11)
    at WriteWrap.afterWrite [as oncomplete] (net.js:867:14)