Finally traced out why my Weewx isn't posting to WU

59 views
Skip to first unread message

David Barto

unread,
Oct 19, 2022, 4:37:59 PM10/19/22
to weewx...@googlegroups.com
Oct 19 13:32:27 Magrathea weewx[52934]: restx: Wunderground-PWS: Failed upload attempt 3: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)>


Since the throw from the post in restx.py (line 443)

_response = self.post_request(request, data)

was getting captured, however since the logging was DEBUG nothing showed up. I changed the logging to ALERT and lo- the problem was uncovered.

This is with 3.9.2, running on a very old MacOS 10.11.6. No the hardware won’t go beyond this version.
This was working for a few days, then it started failing again, without changes.

Any ideas what certs need update?

David

Tom Keffer

unread,
Oct 19, 2022, 5:14:09 PM10/19/22
to weewx...@googlegroups.com
Most likely your version of OpenSSL and/or Python are outdated. 


Try the suggestions there.

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/B6D68977-903D-4D0F-BC66-8538C15FBE99%40kdbarto.org.

David Barto

unread,
Oct 19, 2022, 5:18:53 PM10/19/22
to weewx...@googlegroups.com
Will 3.9.2 work with python3? I’m unsure of the version the switchover from python2 to python3 occurred.

David

Tom Keffer

unread,
Oct 19, 2022, 5:26:50 PM10/19/22
to weewx...@googlegroups.com
No. 

Support for Python 3 started with Version 4.0.0, released 30-April-2020.

Reply all
Reply to author
Forward
0 new messages