Updated on 2022-08-16 GMT+08:00

Why Cannot I Access the Apache Flink Dashboard?

Question

Why cannot I access the Apache Flink Dashboard through the URL: http://IP address of JobManager:port of JobManager.

Answer

The IP address of the computer you used has not been added to the whitelist of Apache Flink Dashboard. To solve this problem, modify the conf/flink-conf.yaml configuration file as follows:

  1. Check whether the value of jobmanager.web.ssl.enabled is false. If not, set it to false.
  2. Check whether the IP address of the computer you used has been added to the values of jobmanager.web.access-control-allow-origin and jobmanager.web.allow-access-address. If the IP address has not been added, add it to the two parameters:
    jobmanager.web.access-control-allow-origin:IP address of the computer where the browser is installed
    jobmanager.web.allow-access-address:IP address of the computer where the browser is installed