Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Truffle init fails to create new project behind a proxy #380

Closed
davebryson opened this issue Mar 23, 2017 · 4 comments
Closed

Truffle init fails to create new project behind a proxy #380

davebryson opened this issue Mar 23, 2017 · 4 comments

Comments

@davebryson
Copy link

davebryson commented Mar 23, 2017

OSX
Truffle: 3.2.1 (but I saw the same problem with earlier 3.x versions as well)
Node: 6.2.2
Npm: 3.9.3

I've used truffle for some time now, but the recent updates with the way init pulls from github is causing problems behind a proxy. Currently truffle init fails to create a new project with

Error: connect ECONNREFUSED 151.101.56.133:443

@orbmis
Copy link

orbmis commented May 8, 2017

Did you ever find a solution for this? I'm having the exact same issue:

> truffle init

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: connect ENETUNREACH xxx.xxx.xx.xxx:443
    at Object.exports._errnoException (util.js:1022:11)
    at exports._exceptionWithHostPort (util.js:1045:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)

I'm running:

  • Truffle v3.2.1
  • Node v6.9.5
  • NPM 3.10.10

on Ubuntu 14.04

@coder5876
Copy link

I'm seeing this problem when offline. When online: works fine. When offline:

chris@chris-VBox:~/tmp/truffle_test$ truffle init
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: getaddrinfo EAI_AGAIN raw.githubusercontent.com:443
    at Object.exports._errnoException (util.js:1026:11)
    at errnoException (dns.js:33:15)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:79:26)

@Shreekavithaa
Copy link

Same issue for me too. Any solution?

@tcoulter
Copy link
Contributor

Marking as a duplicate of trufflesuite/truffle-init#1. See that ticket for more info.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants