-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I have deployed mesos-ui as a marathon app using its docker image.
But when i try to access the UI, it responds with a 404.
Here's the curl output
curl -v http://localhost:51026
* Rebuilt URL to: http://localhost:51026/
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 51026 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:51026
> Accept: */*
>
< HTTP/1.1 404 Not Found
< X-Powered-By: Express
< X-Content-Type-Options: nosniff
< Content-Type: text/html; charset=utf-8
< Content-Length: 13
< Date: Tue, 27 Sep 2016 05:09:20 GMT
< Connection: keep-alive
<
Cannot GET /
* Connection #0 to host localhost left intact
Here's a copy of my marathon.json
{
"id": "mesos-ui",
"instances": 1,
"cpus": 0.2,
"mem": 512,
"env": {
"ZOOKEEPER_ADDRESS": "mesos-master:2181"
},
"labels": {
"DCOS_PACKAGE_NAME": "mesos-ui",
"DCOS_PACKAGE_IS_FRAMEWORK": "false",
"DCOS_PACKAGE_VERSION": "0.1.0"
},
"healthChecks": [
{
"gracePeriodSeconds": 120,
"intervalSeconds": 15,
"maxConsecutiveFailures": 10,
"path": "/",
"portIndex": 0,
"protocol": "HTTP",
"timeoutSeconds": 5
}
],
"container": {
"type": "DOCKER",
"docker": {
"image": "capgemini/mesos-ui:standalone-latest",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 5000,
"hostPort": 51026,
"servicePort": 10097,
"protocol": "tcp"
}
]
}
}
}It looks like the request is going through to express. So the docker port mappings should be fine. But the GET / seems to give a 404.
Would appreciate any help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels