Updated on 2024-11-29 GMT+08:00

Failed to Access the Hue Web UI

Issue

An error page is displayed when the Hue web UI is accessed.

Symptom

The following error information is displayed on the Hue web UI:

503 Service Unavailable
The server is temporarily unable to service your requster due to maintenance downtime or capacity problems.Please try again later.

Cause Analysis

  • The Hue configuration has expired.
  • The configuration of the Hue service needs to be modified manually in a single-master cluster.

Procedure

  1. Log in to the Master node.
  2. Run the hostname -i command to obtain the IP address of the local host.
  3. Run the following command to obtain the value of HUE_FLOAT_IP:

    grep "HUE_FLOAT_IP" ${BIGDATA_HOME}/MRS_Current/1_*/etc*/ENV_VARS, where MRS is subject to the actual file name.

  4. Check whether the local IP address is the same as the value of HUE_FLOAT_IP. If they are different, change the value of HUE_FLOAT_IP to the local IP address.
  5. Restart the Hue service.