• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

mosquitto

Q&A Forum › Category: Questions › mosquitto
0 Vote Up Vote Down
Fadhli Azinnuddin asked 2 years ago

I have problem with mosquitto, when i testing with command mosquitto_sub -d -t testTopic the result : 
mosquitto_sub -d -t testTopic
Client (null) sending CONNECT
Client (null) received CONNACK (5)
Connection error: Connection Refused: not authorised.
Client (null) sending DISCONNECT
can you help me?
yo can see at my drive :
https://drive.google.com/file/d/18SOm26sh2CV-kXv-ftpDo9DEUm0uYwW8/view?usp=sharing

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Did you setup a user and password for the MQTT broker?
If yes, you’ll need to pass the username and password in the command.
 
What Raspberry Pi model and operating system are you using? I see that you are constantly with permission issues…
 
Regards,
Sara

0 Vote Up Vote Down
Fadhli Azinnuddin answered 2 years ago

How to change my mqtt broker password ? because i am forget my mqtt password for connecting between eps 32, raspberry pi and node red..
I am use raspberry pi 3 model b+

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

See instructions on page 108.
You can create a new user and a new password or change the password for a previous user.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.