zodern / meteor-up

Production Quality Meteor Deployment to Anywhere
http://meteor-up.com/
MIT License
1.28k stars 279 forks source link

Deployment "succeeds" but application is inaccessible #1329

Open haton opened 1 year ago

haton commented 1 year ago

Hello, I would need help to get my deployment to work. The problem is that the application is inaccessible (so says mup status too). I had doubts with the mongo_url but I checked that the app runs OK locally on my computer with it. Do you have any advice? Thanks

Mup version: 1.5.9

Mup config { "servers": { "one": { "host": "1.2.3.4", "username": "ubuntu", "password": "password" } }, "app": { "name": "my-app", "path": "../", "servers": { "one": {} }, "buildOptions": { "serverOnly": true, "buildLocation": "C:\Users\haton\AppData\Local\Temp\mup-meteor-634dc3f8-3d62-40bc-bdb5-971bfd12fcab", "cleanBuildLocation": true }, "env": { "ROOT_URL": "http://subdomain.subdomain.host.com", "MONGO_URL": "mongodb+srv://user:pass@subdomain.subdomain.host.com" }, "docker": { "image": "zodern/meteor:root", "stopAppDuringPrepareBundle": true, "imagePort": 3000 }, "enableUploadProgressBar": true, "type": "meteor" } } ✓ Config is valid

Output of command >mup.cmd status => Servers

=> Docker Status

=> Meteor Status - my-app

haton commented 1 year ago

Hi, after carefully reading the doc I found the issue: it had to do with force-ssl causing a redirection. Kudos, documentation! A suggestion, though: could 'mup status' be able to detect this situation and give a warning? Thanks