sanjeshpathak / Mosquitto-Dashboard

A real time dashboard for monitoring Mosquitto Broker (MQTT)
99 stars 22 forks source link

Authentication required but set username/password in dashboard.js #2

Open agrath opened 4 years ago

agrath commented 4 years ago

I have set the MQTT username/password in dashboard.config, but when I load the dashboard, I still get an authentication prompt. You can enter the username/password then it connects but should this be bypassed if set in dashboard.js?

kkberg commented 4 years ago

Having same problem!

fawnlake1 commented 4 years ago

Hi, I am experiencing the same issue and have not found a solution.

dashboard.js... var usessl = false;

fawnlake1 commented 4 years ago

Hmm it could be related to this line in OP readme;

"websockets and not with tcp"

Never tried to connect via websockets only.

fawnlake1 commented 4 years ago

Solved.. For me it is a \ was a port issue.

I had to research and open port 9001 the WS listen port in my CentOS 7 firewall and the router.

Works fine now and thanks for the application!

Riseryn commented 4 years ago

Hello I have the same problem. For test purpose I use no login/password for mosquitto I have set var usessl = false; in dashboard.js and allow_anonymous true in mosquitto config. But i get the password prompt and after clicking on login with empty field I get stuck on the auth windows. Thanks for the help

kevin1594 commented 3 years ago

Hi @Riseryn I have the same problem. Did you solve?

MaxMerdes commented 3 years ago

I have the same Issue