arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 395 forks source link

Deploy fails at curl #46

Open corv89 opened 10 years ago

corv89 commented 10 years ago

I always get curl: (7) Failed to connect to localhost port 8080: Connection refused and Latest deployment failed! Reverted back to the previous version. when running mup deploy.

  1. This happens on a clean install of Ubuntu 14.04 and 12.04.4.
  2. I had to do sudo apt-get install curl since mup setup did not install it.
  3. The App starts fine when running node main.js and exporting env vars on the server directly.
  4. I changed deployedCheckWaitTime to several minutes and it still happens.
  5. I also tried setting setupMongo and setupNode to false and installing recent versions manually.
  6. This also happens with example meteor apps.
arunoda commented 10 years ago

you can check the logs with mup logs and see what has happened.


Arunoda Susiripala I curate Meteor Weekly - Check it out!http://meteorhacks.com/meteor-weekly/?utm_source=email-footer&utm_medium=email&utm_campaign=meteorweekly

On Thu, Apr 24, 2014 at 10:03 PM, corv89 notifications@github.com wrote:

I always get curl: (7) Failed to connect to localhost port 8080: Connection refused and Latest deployment failed! Reverted back to the previous version. when running mup deploy.

  1. This happens on a clean install of Ubuntu 14.04 and 12.04.4.
  2. I had to do sudo apt-get install curlsincemup setup` did not install it.
  3. The App starts fine when running node main.js and exporting env vars on the server directly.
  4. I changed deployedCheckWaitTime to several minutes and it still happens.
  5. I also tried setting setupMongo and setupNode to false and installing recent versions manually.
  6. This also happens with example meteor apps.

— Reply to this email directly or view it on GitHubhttps://github.com/arunoda/meteor-up/issues/46 .

zenmatt commented 10 years ago

I'm getting a similar error but thought it was related to the fiber package install. I pasted my mup logs output in #49.

zenmatt commented 10 years ago

Problem solved on my end, localhost was not defined in /etc/hosts.

seiyria commented 9 years ago

I'm having this problem as well, but localhost is in my /etc/hosts:

127.0.0.1       localhost
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
rdewolff commented 9 years ago

Having the same error, cf https://github.com/arunoda/meteor-up/issues/244 curl is installed, as well localhost IP correctly defined.

Any idea what it might be?

hustbill commented 9 years ago

I replace "localhost" by "127.0.0.1". It works in my Mac Air. Hope it helps.