[ 
https://issues.apache.org/jira/browse/MESOS-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14155052#comment-14155052
 ] 

Timothy Chen commented on MESOS-1852:
-------------------------------------

Hi Adam, this is a Marathon feature and not a Mesos feature.

Please close this jira issue and report this at the Marathon github repo.

Thanks!

> Health validation do not accept port index other that 0 or multiple 
> validations for several ports
> -------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-1852
>                 URL: https://issues.apache.org/jira/browse/MESOS-1852
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.20.1
>         Environment: Mesos 0.20.1 Marathon 0.7.1
>            Reporter: Adam Spektor
>            Priority: Critical
>
> Example : 
> "healthChecks": [
>         {
>             "protocol": "HTTP",
>             "path": "/action=GetLicenseInfo",
>             "gracePeriodSeconds": 3,
>             "intervalSeconds": 10,
>             "portIndex": 0,
>             "timeoutSeconds": 10,
>             "maxConsecutiveFailures": 3
>         },
>         {
>             "protocol": "HTTP",
>             "path": "/action=GetStatus",
>             "gracePeriodSeconds": 3,
>             "intervalSeconds": 10,
>             "portIndex": 1,
>             "timeoutSeconds": 10,
>             "maxConsecutiveFailures": 3
>         },
>         {
>             "protocol": "HTTP",
>             "path": "/action=GetStatus",
>             "gracePeriodSeconds": 3,
>             "intervalSeconds": 10,
>             "portIndex": 2,
>             "timeoutSeconds": 10,
>             "maxConsecutiveFailures": 3
>         }
> I got following error :
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
> <title>Error 500 Server Error</title>
> </head>
> <body>
> <h2>HTTP ERROR: 500</h2>
> <p>Problem accessing /v2/apps. Reason:
> <pre>    Server Error</pre></p>
> <hr /><i><small>Powered by Jetty://</small></i>
> </body>
> </html>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to