incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Zhao (JIRA)" <>
Subject [jira] [Created] (MESOS-198) WebUI fails when the master is set to any ip other than localhost
Date Thu, 24 May 2012 04:59:41 GMT
James Zhao created MESOS-198:

             Summary: WebUI fails when the master is set to any ip other than localhost
                 Key: MESOS-198
             Project: Mesos
          Issue Type: Bug
          Components: webui
    Affects Versions: 0.9.0
         Environment: Ubuntu 12.04, Python 2.7.3
            Reporter: James Zhao

When bin/ is run, everything works fine

When bin/ --ip=[ip] is run, WebUI fails with IOError('socket error', error(111,
'Connection refused'))

Traceback (most recent call last):
  File "/home/jzhao/mesos/src/webui/bottle-0.8.3/", line 499, in handle
    return handler(**args)
  File "/home/jzhao/mesos/src/webui/master/", line 51, in index
    return template("index", master_port = master_port, log_dir = log_dir)
  File "/home/jzhao/mesos/src/webui/bottle-0.8.3/", line 1796, in template
    return TEMPLATES[tpl].render(**kwargs)
  File "/home/jzhao/mesos/src/webui/bottle-0.8.3/", line 1775, in render
    self.execute(stdout, **args)
  File "/home/jzhao/mesos/src/webui/bottle-0.8.3/", line 1763, in execute
    eval(, env)
  File "/home/jzhao/mesos/src/webui/master/index.tpl", line 10, in <module>
    % data = urllib.urlopen(url).read()
  File "/usr/lib/python2.7/", line 86, in urlopen
  File "/usr/lib/python2.7/", line 207, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.7/", line 344, in open_http
  File "/usr/lib/python2.7/", line 954, in endheaders
IOError: [Errno socket error] [Errno 111] Connection refused

With further testing, --ip= and --ip= both work fine, but --ip= and
--ip= result in failure.

Someone else seems to have had this issue too:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message