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

Deployment "succeeds" but application is inaccessible #1329

Open
haton opened this issue Nov 13, 2022 · 1 comment
Open

Deployment "succeeds" but application is inaccessible #1329

haton opened this issue Nov 13, 2022 · 1 comment

Comments

@haton
Copy link

haton commented Nov 13, 2022

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

  • 1.2.3.4: Ubuntu 18.04

=> Docker Status

  • 1.2.3.4: 20.10.18 Running

=> Meteor Status - my-app

  • 1.2.3.4: running
    Created at 2022-11-13T16:33:03.303664653Z
    Restarted 0 times
    ENV:
    • ROOT_URL=http://1.2.3.4
    • MONGO_URL=mongodb+srv://user:pass@subdomain.subdomain.host.com
    • METEOR_SETTINGS={"public":{}}
    • PORT=3000
    • PATH=/home/app/.onbuild-node/bin:/home/app/.onbuild-node/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    • NODE_PATH=/home/app/.onbuild-node/lib/node_modules
      Published Ports (Inside Container => On Server):
    • 3000/tcp => 80
      App running at http://1.2.3.4:80
    • Available in app's docker container: true
    • Available on server: false
    • Available on local computer: false
@haton
Copy link
Author

haton commented Nov 20, 2022

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

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

1 participant