You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gilbert Song (JIRA)" <ji...@apache.org> on 2018/01/20 01:07:00 UTC

[jira] [Updated] (MESOS-7908) Mesos UI Keeps refreshing

     [ https://issues.apache.org/jira/browse/MESOS-7908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilbert Song updated MESOS-7908:
--------------------------------
    Priority: Major  (was: Critical)

> Mesos UI Keeps refreshing
> -------------------------
>
>                 Key: MESOS-7908
>                 URL: https://issues.apache.org/jira/browse/MESOS-7908
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 1.2.0, 1.3.0, 1.3.1
>            Reporter: Lax
>            Priority: Major
>         Attachments: mesos_ui_refresh.png
>
>
> I tried to upgrade mesos from 1.0.1 to latest and suddenly I see Mesos UI keeps refreshing every few seconds. I can say the issue remains at least from version 1.1.x onwards.
> The UI refresh will be seen only when you access Mesos thru proxy ports (other than 5050) or custom DNS. 
> Root cause for this appears to be to be how mesos ui is constructing the end point in here: https://github.com/apache/mesos/blob/master/src/webui/master/static/js/controllers.js#L362-L365. It basically learning mesos host and port from mesos state API response and using that to load in the UI. But what you learn will be the internal host name(pretty much node name)  and port (5050) and it wont work in cases where user proxy's the mesos port eg: 9443 in my case and also have custom DNS format eg: *mesos-laxmesos4.dev.io*
> So basically when I load mesos ui with URI:  https://mesos-laxmesos4.dev.io:9443, above pointed API is returning https://[my node name]:5050/metrics/... while expected path is https://mesos-laxmesos4.dev.io:9443/metrics/...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)