Unable to connect to MQTT broker #987
Unanswered
cily35
asked this question in
Support Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I got stock to cuminicate to the broker,
my system is the mqtt on the OS ransberry and the ring-mqtt on docker
Ring API using generated token 2025-04-17T20:05:00.323Z ring-mqtt Received updated refresh token 2025-04-17T20:05:00.323Z ring-mqtt Saving updated refresh token to state file 2025-04-17T20:05:01.341Z ring-mqtt Successfully saved updated state file: /[data/ring-state.json](http://data/ring-state.json) 2025-04-17T20:05:02.323Z ring-mqtt TypeError: utils.config(...).mqtt_options.split is not a function at Mqtt.init (file:///app/ring-mqtt/lib/mqtt.js:57:85) at EventEmitter.<anonymous> (file:///app/ring-mqtt/lib/mqtt.js:27:22) 2025-04-17T20:05:02.323Z ring-mqtt Could not parse MQTT advanced options, continuing with default settings 2025-04-17T20:05:02.323Z ring-mqtt Attempting connection to MQTT broker... 2025-04-17T20:05:02.388Z ring-mqtt Unable to connect to MQTT broker Connection refused: Not authorized 2025-04-17T20:05:03.401Z ring-mqtt Attempting to reconnect to MQTT broker...
How ever I'm able to test the broker sending hello message from two different terminals, which makes me think the broker is working as expected,
I'm able to read mosquito broker with the same credential inside HA
here the ring-mqtt config
{ "ring_username": "***", "ring_password": "**", "mqtt_url": "mqtt://192.168.***.***1883", "mqtt_username": "***", "mqtt_password": "***", "mqtt_options": { "client_id": "ring-mqtt" } }
any suggestion? thanks
Beta Was this translation helpful? Give feedback.
All reactions