Open malepurakesh opened 3 years ago
did you solve?
No
Did you solve it?
Having the same issue.
You can press F12 to look at the console console, what is wrong with the report, the high probability is that it has not been connected through ws
Tip - if your mqtt accepts anonymous access (typical in intranet locally hosted situations) use the _dashboardanonymous.js instead of the dashboard.js script. You can either rename the anonymous script or edit MosquitoDashboard.html and change the line
<script src="./js/dashboard.js"></script>
to
<script src="./js/dashboard_anonymous.js"></script>
remember for this to work your mosquitto server must also have websockets enabled (as well as mqtt) so your mosquitto.conf should contain lines similar to
listener 1883
protocol mqtt
listener 8883
protocol websockets
Tip - if your mqtt accepts anonymous access (typical in intranet locally hosted situations) use the _dashboardanonymous.js instead of the dashboard.js script. You can either rename the anonymous script or edit MosquitoDashboard.html and change the line
<script src="./js/dashboard.js"></script>
to
<script src="./js/dashboard_anonymous.js"></script>
remember for this to work your mosquitto server must also have websockets enabled (as well as mqtt) so your mosquitto.conf should contain lines similar to
listener 1883 protocol mqtt listener 8883 protocol websockets
It works! Thank you so much
Hi, First of all I didn't put the username and password for mosquitto broker. In log in prompt it is not getting logged in if I press login button. In another way, I have created the user name and password for mosquitto broker, and provided in dashboard.js file. Even After I couldn't able to log in to the dashboard. I am getting some thing shown below.