Using developer mode, it looks like the MQTT server sends the string “Hello”, 
which causes the following line to crash:

    data = jQuery.parseJSON( data );

Don’t know if jQuery has changed recently, or the MQTT protocol. I’m not a 
webservices guru by any means.

don

> On Jul 28, 2020, at 7:55 AM, Graham Eddy <graham.e...@gmail.com> wrote:
> 
> maybe they turned off unencrypted mode.
> try turning on SSL and use encrypted websockets port (8081 on 
> test.mosquitto.org <http://test.mosquitto.org/>)
> 
> re logs, need option in mosquitto.conf ‘log_type all’ (or at least ‘log_type 
> websockets’) plus (i haven’t tried this) ‘websockets_log_level {some flags}’ 
> - latter defaults to off
> 
>> On 28 Jul 2020, at 10:30 pm, Don Roberts <don.robe...@gmail.com 
>> <mailto:don.robe...@gmail.com>> wrote:
>> 
>> I'm experiencing this same thing, and I'm using a public MQTT broker. Didn't 
>> change anything.
>> 
>> don
>> 
>> On Friday, July 24, 2020 at 11:26:40 PM UTC-5, Scott Grayban wrote:
>> For over a year my live stats has been working flawlessly until recently. 
>> Now it says Failed connecting to the weather station
>> 
>> Looking at the dev console in chrome I am seeing this for the error and not 
>> sure how to test this out to see what is going on.
>> 
>> mqttws31.min.js:36 WebSocket connection to 'ws://X.X.X.X:9001/mqtt 
>> <ws://x.x.x.x:9001/mqtt>' failed: Connection closed before receiving a 
>> handshake response
>> 
>> The MQTT logs are only showing connections via port 1883.
>> 
>> -- 
>> 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 weewx-user+unsubscr...@googlegroups.com 
>> <mailto:weewx-user+unsubscr...@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/73f84443-63ed-452f-8f2d-2cf65bfa0405o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/73f84443-63ed-452f-8f2d-2cf65bfa0405o%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 weewx-user+unsubscr...@googlegroups.com 
> <mailto:weewx-user+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/7D44F99A-801E-46F6-8BE1-1B048F7CA890%40gmail.com
>  
> <https://groups.google.com/d/msgid/weewx-user/7D44F99A-801E-46F6-8BE1-1B048F7CA890%40gmail.com?utm_medium=email&utm_source=footer>.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/F51A8256-F654-444D-B686-C071780439CB%40gmail.com.

Reply via email to