What Should You Do when the Apache Mesos Web UI Keeps Refreshing and Sending a Pop-up “Failed to connect to …:5050”?

Problem scenario
You deployed Apache Mesos. The web UI is having problems. You see the error "Failed to connect to x.x.x.x:5050." What should you do?

Solution

  1. Go to the back-end of the Apache Mesos server. Run this command: sudo systemctl stop mesos-master
  2. sudo find / -name mesos-master.sh
  3. Change directory into the parent of the "bin" directory that houses the mesos-master.sh as found above.
  4. Find the internal IP adress (e.g., with ip addr show | grep eth0 | grep inet).
  5. Run this command but substitute x.x.x.x with the internal IP address:
sudo ./bin/mesos-master.sh --ip=x.x.x.x --work_dir=/var/lib/mesos --hostname=x.x.x.x

6. Go back to your web browser. Refresh your web browser.

Leave a comment

Your email address will not be published. Required fields are marked *