Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download node #8

Closed
reutopiaer opened this issue Jul 28, 2016 · 5 comments
Closed

Unable to download node #8

reutopiaer opened this issue Jul 28, 2016 · 5 comments

Comments

@reutopiaer
Copy link

$git push deis master

-----> Installing binaries
engines.node (package.json): 4.2.x
engines.npm (package.json): unspecified (use default)

   Resolving node version 4.2.x via semver.io...
   Downloading and installing node ...
   Unable to download node ; does it exist?

-----> Build failed

   We're sorry this build is failing! You can troubleshoot common issues here:
   https://devcenter.heroku.com/articles/troubleshooting-node-deploys

   If you're stuck, please submit a ticket so we can help:
   https://help.heroku.com/

   Love,
   Heroku
@Joshua-Anderson
Copy link
Contributor

@reutopiaer What version of deis are you using? Did you get this error when deploying the example nodejs app?

@reutopiaer
Copy link
Author

$deis -v
2.2.0-32177aa�

$git push deis master�
Counting objects: 195, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (88/88), done.
Writing objects: 100% (195/195), 35.34 KiB | 0 bytes/s, done.
Total 195 (delta 104), reused 195 (delta 104)
Starting build... but first, coffee! ����������������������������������������������������������������������������������������������������������������������������������
...
-----> Node.js app detected

-----> Creating runtime environment

   NPM_CONFIG_LOGLEVEL=error
   NPM_CONFIG_PRODUCTION=true
   NODE_ENV=production
   NODE_MODULES_CACHE=true

-----> Installing binaries
engines.node (package.json): 4.2.x
engines.npm (package.json): unspecified (use default)

   Resolving node version 4.2.x via semver.io...
   Downloading and installing node ...
   Unable to download node ; does it exist?

-----> Build failed

   We're sorry this build is failing! You can troubleshoot common issues he

e:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys

   If you're stuck, please submit a ticket so we can help:
   https://help.heroku.com/

   Love,
   Heroku�

@bacongobbler
Copy link
Member

bacongobbler commented Aug 2, 2016

9 times out of 10 this is a connection issue/DNS issue. When I hit this problem, the DNS server provided by my ISP redirected the requests incorrectly. The resolution for me was to change my DNS settings on the host to hit Google's DNS server (8.8.8.8 or 8.8.4.4), re-provision the cluster and suddenly my Vagrant cluster worked again.

What provider are you using to install Kubernetes, and what version of Kubernetes are you running? Is this on Vagrant or on a public cloud provider like AWS?

@reutopiaer
Copy link
Author

reutopiaer commented Aug 3, 2016

@bacongobbler

local area network kubernetes/cluster/vagrant

follow document: https://deis.com/docs/workflow/quickstart/provider/vagrant/install-vagrant/

/etc/dnsmasq.conf add: address=/nip.io/10.247.3.77

$host 10.247.3.77.nip.io
10.247.3.77.nip.io has address 10.247.3.77�
$ host something-random.10.247.3.77.nip.io
something-random.110.247.3.77.nip.io has address 10.247.3.77
$ curl http://deis.10.247.3.77.nip.io/v2/ && echo
{"detail":"Authentication credentials were not provided."}

@reutopiaer
Copy link
Author

opps,I made a big mistake,when I stop dnsmsaq the problem is solved. Sorry for everyone!

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

No branches or pull requests

3 participants