-
Notifications
You must be signed in to change notification settings - Fork 6
Mosquitto not working on 64 bit Raspberry Pi OS #18
Copy link
Copy link
Closed
Description
I've gotten part way through this process and it seems like mosquitto isn't working.
- Loaded 64 bit Raspberry Pi OS (full) on a new 32 GB SD card
- Used pyinfra to run deploy_all, deploy_services, deploy_vision, deploy_speaking
- Restart, but noticed that inventor hat light wasn't coming on
- Used journalctl to check inventor hat service
doug@raspi4:~ $ journalctl -u inventor_hat_service -f Oct 12 05:24:46 raspi4 robotpython[3651]: File "/usr/lib/python3.13/socket.py", line 849, in create_connection Oct 12 05:24:46 raspi4 robotpython[3651]: sock.connect(sa) Oct 12 05:24:46 raspi4 robotpython[3651]: ~~~~~~~~~~~~^^^^ Oct 12 05:24:46 raspi4 robotpython[3651]: ConnectionRefusedError: [Errno 111] Connection refused Oct 12 05:24:46 raspi4 systemd[1]: inventor_hat_service.service: Main process exited, code=exited, status=1/FAILURE Oct 12 05:24:46 raspi4 systemd[1]: inventor_hat_service.service: Failed with result 'exit-code'. Oct 12 05:24:46 raspi4 systemd[1]: inventor_hat_service.service: Scheduled restart job, restart counter is at 5. Oct 12 05:24:46 raspi4 systemd[1]: inventor_hat_service.service: Start request repeated too quickly. Oct 12 05:24:46 raspi4 systemd[1]: inventor_hat_service.service: Failed with result 'exit-code'. Oct 12 05:24:46 raspi4 systemd[1]: Failed to start inventor_hat_service.service - inventor_hat_service.
- Check mosquitto
doug@raspi4:~ $ mosquitto_sub -t "hello/#" -u robot -P robot -v Error: Connection refused doug@raspi4:~ $ mosquitto_pub -u robot -P robot -t sensors/encoders/control/reset -n Error: Connection refusedI wasn't able to find any troubleshooting tips for mosquitto. How should I proceed?
Originally posted by @dblanding in #9
Reactions are currently unavailable