I've updated the skin to 1.2rc2, and I have narrowed the problem down to an 
SSL/MQTT issue. I had failed in the past, but today successfully got WeeWX 
to update via TLS after I changed the MQTT setting in weewx.conf to 
"tls_version = tlsv1.2". That makes sense, the Mosquitto broker wants TLS 
1.1 or higher and a previous update is what probably broke my install.

If I leave it there, and upload via TLS and use HTTP for websockets, 
Firefox and Chrome both work (HTTPS expectedly fails for both). If I 
uncomment the three cert lines in the the Mosquitto config, HTTP and HTTPS 
Chrome work, but HTTP and HTTPS Firefox fail:

listener 9001
certfile /etc/letsencrypt/live/livefreeorpi.com/cert.pem
cafile /etc/letsencrypt/live/livefreeorpi.com/chain.pem
keyfile /etc/letsencrypt/live/livefreeorpi.com/privkey.pem
protocol websockets

Other than the note about updating the weewx.conf to reflect possible newer 
TLS implementations, I can take this up further on a Mosquitto forum, but 
thought I would pass it along here as it seems to be popping up now and 
then for others too.

On Sunday, August 9, 2020 at 2:27:02 PM UTC-4, Pat wrote:
>
> Interesting, it fails for me too in Firefox. It could be the version of 
> the MQTT Websocket library you're using in 1.1. In 1.2 there are some 
> updates to the MQTT websockets code.
>
> My site - belchertownweather.com - is using the latest development 1.2 
> release candidate 
> <https://github.com/poblabs/weewx-belchertown/tree/development> and it 
> works for me in Firefox. Give the development version a try - note 1.2 is 
> focused on using Aeris Weather as a forecast provider, however DarkSky is 
> supported. Please read the readme for the new skin.conf variables to be 
> used 
> <https://github.com/poblabs/weewx-belchertown/blob/development/README.md> 
> and changelog for all the breaking changes 
> <https://github.com/poblabs/weewx-belchertown/blob/development/changelog> 
> so far in this upgrade. 
>
>
> On Wednesday, August 5, 2020 at 9:09:19 PM UTC-4 bth...@gmail.com wrote:
>
>> With or without openvpn, all works fine for all browsers, except MS Edge, 
>> Chromium, developer edition not working if having openvpn connected. 
>> Strange.
>>
>> On Wednesday, 5 August 2020 at 17:21:51 UTC+7 gary....@gmail.com wrote:
>>
>>> Odd that one browser for each of us refuses to connect.
>>> I'm not using a VPN, so yours works fine without the VPN but fails when 
>>> you use it?
>>>
>>>
>>>
>>> On 8/4/2020 11:55 PM, Chotechai Piyavongsiri wrote:
>>>
>>> I mean Microsoft Edge chromium.
>>>
>>> On Wednesday, 5 August 2020 at 10:54:10 UTC+7 Chotechai Piyavongsiri 
>>> wrote:
>>>
>>>> I have no problem with any browsers, including Firefox. I'm using 
>>>> secured websockets. 
>>>> The only problem I have is with Microsoft Edge, WS will not work when I 
>>>> connect my OpenVPN, same message as you got (Firefox works). I still don't 
>>>> know the reason.
>>>>
>>>> On Tuesday, 4 August 2020 at 23:11:56 UTC+7 gary....@gmail.com wrote:
>>>>
>>>>> I have a curious issue here. 
>>>>> I normally use Edge from Windows 10 to browse. All is working fine.
>>>>> I use Firefox in troubleshooting and browsed to my weather page.
>>>>> No connection to the websocket feed.
>>>>> Open Edge, no problem. Chrome from my phone, no problem. Safari from 
>>>>> my wife's iPhone, no problem.
>>>>>
>>>>> Disabled all plugins in Firefox, still get  Failed connecting to the 
>>>>> weather station. Please try again later! 
>>>>>
>>>>> Tried from a Linux machine using Firefox, same result.
>>>>>
>>>>> Any ideas?
>>>>>
>>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/weewx-user/nwHdhPVd5o0/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/0c145e3e-1e5f-4cea-ba00-fc09059a60edn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/0c145e3e-1e5f-4cea-ba00-fc09059a60edn%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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/591b4f66-de42-49ac-a0c9-8336f22da10fo%40googlegroups.com.

Reply via email to