question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

install behind proxy failed.

See original GitHub issue

searched 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
acburdinecommented, Nov 8, 2019

Released with Ghost-CLI 1.13.0.

2reactions
cheahkhingcommented, Oct 16, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found