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

Error when deploying to EC2 #36

Closed
iwoork opened this issue Apr 4, 2014 · 5 comments
Closed

Error when deploying to EC2 #36

iwoork opened this issue Apr 4, 2014 · 5 comments

Comments

@iwoork
Copy link

iwoork commented Apr 4, 2014

Not sure what I'm missing here but getting this error when running on our EC2 instance.

[54.255.153.149] invoking deployment process: FAILED

    -----------------------------------STDERR-----------------------------------
    Warning: Permanently added '54.255.153.149' (RSA) to the list of known hosts.
    npm http GET https://registry.npmjs.org/fibers
    npm http 304 https://registry.npmjs.org/fibers
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to localhost:80; Connection refused
    reverted back to the previous version due to the latest version didn't pick up!
    -----------------------------------STDOUT-----------------------------------

    > fibers@1.0.1 install /opt/meteor/tmp/bundle/programs/server/node_modules/fibers
    > node ./build.js

    `linux-x64-v8-3.14` exists; testing
    Binary is fine; exiting
    fibers@1.0.1 node_modules/fibers
    meteor stop/waiting
    meteor start/running, process 13906
    wait for mongo(5 minutes) to initiaze
    connected
    waiting for 15 secs while app is booting up
    checking for app is booted or not?
    meteor stop/waiting
    meteor start/running, process 13939
    ----------------------------------------------------------------------------
Completed TaskList: Deploying App
@arunoda
Copy link
Owner

arunoda commented Apr 4, 2014

Invoke mup logs and see app logs. You will find something there.

On Friday, April 4, 2014, Efren Macasaet notifications@github.com wrote:

Not sure what I'm missing here but getting this error when running on our
EC2 instance.

[54.255.153.149] invoking deployment process: FAILED

-----------------------------------STDERR-----------------------------------
Warning: Permanently added '54.255.153.149' (RSA) to the list of known hosts.
npm http GET https://registry.npmjs.org/fibers
npm http 304 https://registry.npmjs.org/fibers
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed connect to localhost:80; Connection refused
reverted back to the previous version due to the latest version didn't pick up!
-----------------------------------STDOUT-----------------------------------

> fibers@1.0.1 install /opt/meteor/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
fibers@1.0.1 node_modules/fibers
meteor stop/waiting
meteor start/running, process 13906
wait for mongo(5 minutes) to initiaze
connected
waiting for 15 secs while app is booting up
checking for app is booted or not?
meteor stop/waiting
meteor start/running, process 13939
----------------------------------------------------------------------------

Completed TaskList: Deploying App


Reply to this email directly or view it on GitHubhttps://github.com/zodern/meteor-up/issues/36
.


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

@iwoork
Copy link
Author

iwoork commented Apr 4, 2014

Didn't see any problem on logs

[54.255.153.149] Warning: Permanently added '54.255.153.149' (RSA) to the list of known hosts.
[54.255.153.149] --> schools index mapping completed
--> users index mapping completed
 >> stepping down to gid: meteoruser
 >> stepping down to uid: meteoruser
--> schools index mapping completed
--> users index mapping completed
--> schools index mapping completed
--> users index mapping completed
 >> stepping down to gid: meteoruser
 >> stepping down to uid: meteoruser

Any idea why the error it complains earlier saying connection to localhost:80 is refused? Why is it connecting to localhost:80?

@arunoda
Copy link
Owner

arunoda commented Apr 4, 2014

If you are doing some initialisation before starting up. Please make sure
they are getting complete before 15 secs.
Or else increase deployCheckWaitTime
https://github.com/arunoda/meteor-up#example-file


Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

On Fri, Apr 4, 2014 at 8:46 AM, Efren Macasaet notifications@github.comwrote:

Didn't see any problem on logs

[54.255.153.149] Warning: Permanently added '54.255.153.149' (RSA) to the list of known hosts.
[54.255.153.149] --> schools index mapping completed
--> users index mapping completed

stepping down to gid: meteoruser
stepping down to uid: meteoruser
--> schools index mapping completed
--> users index mapping completed
--> schools index mapping completed
--> users index mapping completed
stepping down to gid: meteoruser
stepping down to uid: meteoruser

Any idea why the error it complains earlier saying connection to
localhost:80 is refused? Why is it connecting to localhost:80?


Reply to this email directly or view it on GitHubhttps://github.com/zodern/meteor-up/issues/36#issuecomment-39528373
.

@iwoork
Copy link
Author

iwoork commented Apr 4, 2014

This worked! Increased it to 35. Thanks @arunoda

@ccorcos
Copy link

ccorcos commented Aug 26, 2015

Hmm. I'm not having the same luck :(

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