打不开dashboard

环境信息

  • EMQX 版本: EMQX 5.0.8 for CentOS 7
  • 操作系统及版本:
  • 其他

问题描述

emqx能启动成功,但是浏览器18083打开是空白没反应

配置文件及日志

[root@localhost emqx]# emqx console
!!!!!!
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /etc/emqx/emqx.conf or override from environment variable EMQX_NODE__COOKIE
NOTE: Use the same config value for all nodes in the cluster.
!!!!!!
log.file_handlers.default.enable = EMQX_LOG__FILE_HANDLERS__DEFAULT__ENABLE = false
log.console_handler.enable = EMQX_LOG__CONSOLE_HANDLER__ENABLE = true
Protocol 'ekka': register/listen error: "port 4370 is in use"

看起来确实是启动成功了的,有点奇怪。能看到 emqx 有什么错误日志么?

===== LOGGING STARTED Sat Sep 24 19:33:55 PDT 2022
=====
!!!!!!
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /etc/emqx/emqx.conf or override from environment variable EMQX_NODE__COOKIE
NOTE: Use the same config value for all nodes in the cluster.
!!!!!!
Erlang/OTP 24 [erts-12.2.1] [emqx] [64-bit] [smp:1:1] [ds:1:1:8] [async-threads:4]

Listener ssl:default on :8883 started.
Listener tcp:default on :1883 started.
Listener ws:default on :8083 started.
Listener wss:default on :8084 started.
Listener http:dashboard on :18083 started.
EMQX 5.0.8 is running now!
Restricted Eshell V12.2.1  (abort with ^G)
5.0.8(emqx@127.0.0.1)1> 
===== Sat Sep 24 19:44:58 PDT 2022
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed

=====
===== LOGGING STARTED Sat Sep 24 19:45:50 PDT 2022
=====
!!!!!!
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /etc/emqx/emqx.conf or override from environment variable EMQX_NODE__COOKIE
NOTE: Use the same config value for all nodes in the cluster.
!!!!!!
Erlang/OTP 24 [erts-12.2.1] [emqx] [64-bit] [smp:1:1] [ds:1:1:8] [async-threads:4]

Listener ssl:default on :8883 started.
Listener tcp:default on :1883 started.
Listener ws:default on :8083 started.
Listener wss:default on :8084 started.
Listener http:dashboard on :18083 started.
EMQX 5.0.8 is running now!
Restricted Eshell V12.2.1  (abort with ^G)
5.0.8(emqx@127.0.0.1)1> 
=====
===== LOGGING STARTED Sat Sep 24 19:56:19 PDT 2022
=====
!!!!!!
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /etc/emqx/emqx.conf or override from environment variable EMQX_NODE__COOKIE
NOTE: Use the same config value for all nodes in the cluster.
!!!!!!
Erlang/OTP 24 [erts-12.2.1] [emqx] [64-bit] [smp:1:1] [ds:1:1:8] [async-threads:4]

Listener ssl:default on :8883 started.
Listener tcp:default on :1883 started.
Listener ws:default on :8083 started.
Listener wss:default on :8084 started.
Listener http:dashboard on :18083 started.
EMQX 5.0.8 is running now!
Restricted Eshell V12.2.1  (abort with ^G)
5.0.8(emqx@127.0.0.1)1> Stop listener http:dashboard on :18083 successfully.
Listener ssl:default on :8883 stopped.
Listener tcp:default on :1883 stopped.
Listener ws:default on :8083 stopped.
Listener wss:default on :8084 stopped.
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed

centos7自带的Firefox浏览器老版本,升级一下Firefox就可以打开dashboard登陆进去