Xant <[email protected]> writes: > The trick, as pointed by someone in different Forum, is NOT to use > "localhost" in Websockets, as it may have a conflict with IPv6 in > RaspberryPi. *Instead of "localhost", use IP of WeeWX device.*
I have found that mosquitto works fine over IPv6. The problem is probably that localhost expands to "::1, 127.0.0.1" and your mosquitto config might not listen on v6. Something else that confuses me, though, is that I'd expect that the value of mqtt_websockets_host would be sent to browsers and thus would have to be a global name. But that's not related to v4/v6 issues, mostly. -- 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/rmisgpv28nv.fsf%40s1.lexort.com.
