I've been trying to troubleshoot the issue with my MQTT not connecting for 
weeks now, and I finally have an idea of what the issue may be. 

Originally I had issues with WS not working on port 9001, so today I 
completely uninstalled mosquitto and reinstalled it. 

Weewx was posting to the mqtt server hosted on a local PC no issue; and now 
WS was working on 9001. I tested further by using the domain name with 
port, and it was receiving on mqtt 1883 and ws 9001, but still I was 
getting the dreaded message "Connecting to weather station real time data." 
on my website (https://wx.4-7.us).

Even using another device not on the local LAN i was getting data through a 
MQTT program. 

I went through I don't know how many different threads searching on here, 
and all my settings were identical to others. 

I finally had a major aha moment when I decided to try the webpage hosted 
on the computer running weewx, and it immediately connected and was 
receiving data! 
I even tested further by forwarding a port on the router and trying off 
network, which also worked. 

*Now here's where I think my issue is, and I am not really sure how to go 
from here since I can't think of the right words to search with:*

I'm using weewx to sync with my webhost with rsync; all the pages on that 
web hosted server have SSL activated. I am hosting mqtt on a local computer 
with ports forwarded, but without SSL. 

Is it a combination of using rsync to a server with SSL enabled, trying to 
connect to an internet accessible local server running MQTT without SSL 
running prohibiting it from connecting? 



-- 
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/7fdf8c14-f53e-41fa-b533-65ecf0ceaa88n%40googlegroups.com.

Reply via email to