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

Issue deploying to AWS #1127

Open
trevordowdle opened this issue Oct 5, 2016 · 4 comments
Open

Issue deploying to AWS #1127

trevordowdle opened this issue Oct 5, 2016 · 4 comments

Comments

@trevordowdle
Copy link

I have successfully deployed to my AWS ubuntu server, however I can't get the webpage to load, and it always gets redirected to https. Does anyone have any idea what might be causing this issue? Or what might be causing the redirect to https?

Thank you

ec2-54-191-111-45.us-west-2.compute.amazonaws.com

@gsabran
Copy link

gsabran commented Oct 25, 2016

can you share your mup config? Is your instance set up to receive traffic on port 80 and 443?

@trevordowdle
Copy link
Author

trevordowdle commented Nov 4, 2016

Thank you for your response,

here is my mup.json file and yes I had my instance setup to receive traffic on port 80 and 443.

{
// Server authentication info
"servers": [
{
"host": "54.191.111.45",
"username": "ubuntu",
//"password": "password"
// or pem file (ssh based authentication)
"pem": "~/Meteor/bvSecure.pem"
}
],

// Install MongoshB in the server, does not destroy local MongoshB on future setup
"setupMongo": true,

// Show a progress bar during the upload of the bundle to the server.
// Might cause an error in some rare cases if set to true, for instance in Shippable CI
"enableUploadProgressBar": true,

// Application name (No spaces)
"appName": "boldvue",

// Location of app (local directory)
"app": "~/Meteor/convert/boldvue-convert",

// Configure environment
"env": {
"ROOT_URL": "http://ec2-54-191-111-45.us-west-2.compute.amazonaws.com",
"MAIL_URL": "smtp://SMTP_Injection:[email protected]:587"
},

// Meteor Up checks if the app comes online just after the deployment
// before mup checks that, it will wait for no. of seconds configured below
"deployCheckWaitTime": 30
}

@gsabran
Copy link

gsabran commented Nov 4, 2016

hum that surprising because you don't seem to be setting anything for https. Also make sure to not share your db/mail credentials in github :) Not sure if they're valid but you should replace "mongodb://tre..." by `"" so that it's enough to understand the context, but not enough to connect to your db!

@trevordowdle
Copy link
Author

whoops Thank you for bringing that to my attention. Those lines were commented out and so weren't really pertinent so I removed them. Thanks again.

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

2 participants