Apparently, Cloudflare doesn't proxy the Websockets for free accounts or at least to port 9001 for free accounts, so I disabled the proxied DNS server and poof, working again.
On Wednesday, September 2, 2020 at 10:29:22 AM UTC-4 [email protected] wrote: > Hey All, > I had my Belchertown skin working fine, until about a week ago when I > rebooted my router and was assigned a new IP - I changed the DNS setting > for my domain and everything still works except my MQTT server, well, I > think that works, but its not connecting anymore > > my config is : > weewx.conf > [[MQTT]] > server_url = mqtt://pi:password@localhost:1883/ > topic = weather > unit_system = US > binding = archive, loop > aggregation = aggregate > Belchertown skin.conf > # MQTT Websockets defaults > mqtt_websockets_enabled = 1 > mqtt_websockets_host = "http://imagingphototech.com/weewx/belchertown/ > " > mqtt_websockets_port = 9001 > mqtt_websockets_ssl = 0 > mqtt_websockets_topic = "weather/loop" > disconnect_live_website_visitor = 0 > > myconfig.conf > persistence false > > # mqtt > listener 1883 > protocol mqtt > > # websockets > listener 9001 > protocol websockets > > allow_anonymous true > password_file /etc/mosquitto/passwd > > acl_file /etc/mosquitto/acl > > running mosquito -v > 1599056516: mosquitto version 1.4.10 (build date Wed, 13 Feb 2019 00:45:38 > +0000) starting > 1599056516: Using default config. > 1599056516: Opening ipv4 listen socket on port 1883. > 1599056516: Error: Address already in use > > and weewx is publishing data.. > restx: MQTT: Published record 2020-09-02 10:26:08 EDT (1599056768) > > I did update to Belchertown 1.01 recently to see if that fixes it but no > change, both locally and remotely I get waiting for data then Failed > connecting to the weather station. Please try again later! > Chrome and Safari give same results. > > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/01849cbf-d802-40b8-939e-8bd8aac567c0n%40googlegroups.com.
