install behind proxy failed.
See original GitHub issuesearched doc and google , could not find how to setup proxy for ghost-cli. or any offline install method?
before run ghost install , I set following parameters:
export http_proxy=proxy-server-name:80
export https_proxy=proxy-server-name:80
export HTTP_PROXY=proxy-server-name:80
export HTTPS_PROXY=proxy-server-name:80
npm config set strict-ssl false -g
npm config set proxy http://proxy-server-name:80 -g
npm config set https-proxy http://proxy-server-name:80 -g
yarn config set proxy http://proxy-server-name:80 -g
yarn config set https-proxy http://proxy-server-name:80 -g
$ghost install
✔ Checking for latest Ghost version
✔ Running system checks
✔ Setting up install directory
❯ Downloading and installing Ghost v1.0.0-beta.1
✔ Getting download information
✖ Downloading
→ tunneling socket could not be established, cause=connect EINVAL 0.0.0.80:80 - Local (0.0.0.0:0)
Installing dependencies
Moving files
An error occurred.
Message: 'tunneling socket could not be established, cause=connect EINVAL 0.0.0.80:80 - Local (0.0.0.0:0)'
Debug Information:
Node Version: v4.8.3
Ghost-CLI Version: 1.0.0-alpha.18
Environment: production
Command: 'ghost install'
more ghost-cli-debug-2017-06-14T07\:33\:11.481Z.log
Debug Information:
Node Version: v4.8.3
Ghost-CLI Version: 1.0.0-alpha.18
Environment: production
Command: 'ghost install'
An error occurred.
Message: 'tunneling socket could not be established, cause=connect EINVAL 0.0.0.80:80 - Local (0.0.0.0:0)'
Stack: RequestError: tunneling socket could not be established, cause=connect EINVAL 0.0.0.80:80 - Local (0.0.0.0:0)
at ClientRequest.<anonymous> (/root/.nvm/v4.8.3/lib/node_modules/ghost-cli/node_modules/download/node_modules/got/index.js:73:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at ClientRequest.onError (/root/.nvm/v4.8.3/lib/node_modules/ghost-cli/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:178:21)
at ClientRequest.g (events.js:260:16)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketErrorListener (_http_client.js:269:9)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at emitErrorNT (net.js:1272:8)
at nextTickCallbackWith2Args (node.js:511:9)
at process._tickCallback (node.js:425:17)
Code: ECONNRESET
Path: /ghost/-/ghost-1.0.0-beta.1.tgz
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:15 (11 by maintainers)
Top Results From Across the Web
apt-get install behind proxy - Failed to fetch - Ask Ubuntu
I am running Ubuntu 18.04LTS, behind a proxy. I had a lot of packages with available updates (more than 200, I guess). I...
Read more >networking - Pip Install - 'Cannot connect to proxy.', OSError'
10 Answers 10 · Click on Wifi · Open Network Preferences · Click Advanced button · Go to proxies tab · Uncheck Web...
Read more >Installation behind proxy fails · Issue #4404 · MISP ... - GitHub
Hi, I have been trying to install MISP to a Ubuntu 18.04 box which is behind a proxy. I use the second curl...
Read more >You receive error messages when you use Windows Update ...
You receive a "Download and installation failed" error message when you try to ... The proxy server caches the Windows Update page and...
Read more >How to Use Pip with a Proxy Server - ActiveState
Click to install and use PIP with a Proxy server for security and privacy. Understand the alternative way to secure pip use.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Released with Ghost-CLI 1.13.0.
Hi, @zicklag I’ve created a pull request on this, however it seems like this project is quite ‘inactive’ for sometime since a lot of pull requests not being merged. 😕 Hopefully it won’t die out soon.