FarmBot's AMQP link fixed for admin passwords with special characters
A pull request written with Claude Code escapes the admin password in the broker URL and ignores blank broker settings, which had silently stopped edits syncing to self-hosted bots.
Credits
- Source byline tencur Source ↗
Earliest dated source:
The full story
On a self-hosted FarmBot server, the API's AMQP connection to the bundled broker could fail on every attempt while everything else looked healthy. Edits in the web app never synced to the bot, logs and telemetry were never saved, and the only sign was a repeating 'Connecting to broker' line in one container's log. One cause was an admin password containing a character not allowed in a URL; another was blank broker URL settings.
The pull request escapes the password in the AMQP URL and ignores blank RABBITMQ_URL and CLOUDAMQP_URL values. It was generated with Claude Code, and the author says it was not tested against a real broker.
How it was done
Tools
Themes
Loading themes…
Sources
From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.
- FarmBot on GitHub: Escape ADMIN_PASSWORD in the AMQP URL and ignore blank RABBITMQ_URL / CLOUDAMQP_URL valuesSource byline: tencurPublished
The FarmBot pull request explaining the failure and the fix.