Mosquitto appears to be starting Ok now:
Aug 05 11:29:23 mosquitto-t7820 systemd[1]: Stopping mosquitto.service - 
Mosquitto MQTT Broker...
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9334]: 1754393364: mosquitto 
version 2.0.18 terminating
Aug 05 11:29:24 mosquitto-t7820 systemd[1]: mosquitto.service: Deactivated 
successfully.
Aug 05 11:29:24 mosquitto-t7820 systemd[1]: Stopped mosquitto.service - 
Mosquitto MQTT Broker.
Aug 05 11:29:24 mosquitto-t7820 systemd[1]: Starting mosquitto.service - 
Mosquitto MQTT Broker...
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9386]: 1754393364: Loading config 
file /etc/mosquitto/conf.d/myconfig.conf
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9386]: 1754393364: mosquitto 
version 2.0.18 starting
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9386]: 1754393364: Config loaded 
from /etc/mosquitto/mosquitto.conf.
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9386]: 1754393364: Opening ipv4 
listen socket on port 1883.
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9386]: 1754393364: Opening ipv6 
listen socket on port 1883.
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9386]: 1754393364: Opening ipv4 
listen socket on port 8883.
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9386]: 1754393364: Opening ipv6 
listen socket on port 8883.
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9386]: 1754393364: Opening 
websockets listen socket on port 9011.
Aug 05 11:29:24 mosquitto-t7820 mosquitto[9386]: 1754393364: mosquitto 
version 2.0.18 running

I don't understand why MQTT broker only shows 'itself' 
(mqtt.dreamwoodestate.net) but no clients below.
Also, with ?debug=true on my browser, the last line now shows 'MQTT: 
2025-08-05T21:27:36+10:00: Cannot connect to MQTT broker'
On Tuesday, 5 August 2025 at 18:37:56 UTC+10 Jacques Terrettaz wrote:

> You have possibly a comment line (starting with "#") in the first line of 
>  myconfig.conf.  Try to remove it and any other comment line.
>
> Here is for exemple the content of my own myconfig.conf file :
> listener 1883
> listener 8083
> protocol websockets
> allow_anonymous false
> password_file /etc/mosquitto/passwd
> acl_file /etc/mosquitto/acl
>
>
> Le 5 août 2025 à 10:14, Peter Schmelitschek <[email protected]> a 
> écrit :
>
> I have recreated both ACL and myconfig.conf files from scratch using NANO 
> because Mosquitto complains of unexpected character at the start of files.
> However, with that done, I still get this at Mosquitto restart:
> Loading config file /etc/mosquitto/conf.d/myconfig.conf
> Error: Unknown configuration variable "#"
> Error found at /etc/mosquitto/conf.d/myconfig.conf:1
> Error found at /etc/mosquitto/mosquitto.conf:18
>
> This is possibly the root cause of my MQTT problems - I have been 
> commenting out the ACL file previously to get WeeWx to appear at this stage.
> Right now I'm seeing "Failed connecting to the weather station"
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/19ab196d-bf7c-4d79-9378-2fbd0be034d5n%40googlegroups.com.

Reply via email to