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

Michael Doyle commented on MESOS-7908:
--------------------------------------

We see this issue in 1.7.1.

I think perhaps the code moved here:

[https://github.com/apache/mesos/blob/master/src/webui/app/controllers.js#L66-L69]

 

 

> 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)

Reply via email to