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

Deploy fails at curl #46

Open
corv89 opened this issue Apr 24, 2014 · 6 comments
Open

Deploy fails at curl #46

corv89 opened this issue Apr 24, 2014 · 6 comments

Comments

@corv89
Copy link

corv89 commented Apr 24, 2014

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
Copy link
Owner

arunoda commented Apr 24, 2014

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/zodern/meteor-up/issues/46
.

@zenmatt
Copy link

zenmatt commented May 8, 2014

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
Copy link

zenmatt commented May 13, 2014

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

@seiyria
Copy link

seiyria commented Sep 24, 2014

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
Copy link

Having the same error, cf zodern/meteor-up#244
curl is installed, as well localhost IP correctly defined.

Any idea what it might be?

@hustbill
Copy link

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

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

6 participants