From bd9942b426ce7e4557602b9333f816ad1dc7d914 Mon Sep 17 00:00:00 2001 From: Nicholas Flamy <30300649+NicholasFlamy@users.noreply.github.com> Date: Mon, 12 Jun 2023 00:07:34 +0400 Subject: [PATCH] Add FAQ about MQTT not connecting (#6554) * Update faqs.md I spent hours trying to figure this out and if this could be included in some way that would potentially help someone out there. * Update docs/docs/troubleshooting/faqs.md Co-authored-by: Nicolas Mowen * Update docs/docs/troubleshooting/faqs.md Co-authored-by: Nicolas Mowen * Update faqs.md --------- Co-authored-by: Nicolas Mowen Co-authored-by: Blake Blackshear --- docs/docs/troubleshooting/faqs.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/troubleshooting/faqs.md b/docs/docs/troubleshooting/faqs.md index 4b166b037..9b736316f 100644 --- a/docs/docs/troubleshooting/faqs.md +++ b/docs/docs/troubleshooting/faqs.md @@ -40,3 +40,9 @@ If you see repeated "On connect called" messages in your logs, check for another ### Error: Database Is Locked SQLite does not work well on a network share, if the `/media` folder is mapped to a network share then [this guide](../configuration/advanced.md#database) should be used to move the database to a location on the internal drive. + +### Unable to publish to MQTT: client is not connected + +If MQTT isn't working in docker try using the IP of the device hosting the MQTT server instead of `localhost`, `127.0.0.1`, or `mosquitto.ix-mosquitto.svc.cluster.local`. + +This is because, by default, Frigate does not run in host mode so localhost points to the Frigate container and not the host device's network.