Hey Thomas - Thanks for asking. Error string is below. I'm running 3.9.2 for now. It looks like I run in to a bad cert every 4-5 minutes. Looking at their DNS, they appear to only have three servers running and they all have the same certificate string from "Let's Encrypt". Odd.
Jan 31 16:11:04 homeauto03 weewx[8713]: restx: Wunderground-RF: Unexpected exception of type <class 'ssl.CertificateError'> Jan 31 16:11:04 homeauto03 weewx[8713]: *** Traceback (most recent call last): Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/share/weewx/weewx/restx.py", line 354, in run_loop Jan 31 16:11:04 homeauto03 weewx[8713]: *** self.process_record(_record, dbmanager) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/share/weewx/weewx/restx.py", line 417, in process_record Jan 31 16:11:04 homeauto03 weewx[8713]: *** self.post_with_retries(_request, data) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/share/weewx/weewx/restx.py", line 442, in post_with_retries Jan 31 16:11:04 homeauto03 weewx[8713]: *** _response = self.post_request(request, data) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/share/weewx/weewx/restx.py", line 509, in post_request Jan 31 16:11:04 homeauto03 weewx[8713]: *** _response = urllib2.urlopen(request, data=data, timeout=self.timeout) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen Jan 31 16:11:04 homeauto03 weewx[8713]: *** return opener.open(url, data, timeout) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/urllib2.py", line 429, in open Jan 31 16:11:04 homeauto03 weewx[8713]: *** response = self._open(req, data) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/urllib2.py", line 447, in _open Jan 31 16:11:04 homeauto03 weewx[8713]: *** '_open', req) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain Jan 31 16:11:04 homeauto03 weewx[8713]: *** result = func(*args) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open Jan 31 16:11:04 homeauto03 weewx[8713]: *** context=self._context) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/urllib2.py", line 1195, in do_open Jan 31 16:11:04 homeauto03 weewx[8713]: *** h.request(req.get_method(), req.get_selector(), req.data, headers) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/httplib.py", line 1069, in request Jan 31 16:11:04 homeauto03 weewx[8713]: *** self._send_request(method, url, body, headers) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/httplib.py", line 1109, in _send_request Jan 31 16:11:04 homeauto03 weewx[8713]: *** self.endheaders(body) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/httplib.py", line 1065, in endheaders Jan 31 16:11:04 homeauto03 weewx[8713]: *** self._send_output(message_body) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/httplib.py", line 892, in _send_output Jan 31 16:11:04 homeauto03 weewx[8713]: *** self.send(msg) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/httplib.py", line 854, in send Jan 31 16:11:04 homeauto03 weewx[8713]: *** self.connect() Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/httplib.py", line 1290, in connect Jan 31 16:11:04 homeauto03 weewx[8713]: *** server_hostname=server_hostname) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/ssl.py", line 369, in wrap_socket Jan 31 16:11:04 homeauto03 weewx[8713]: *** _context=self) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/ssl.py", line 599, in __init__ Jan 31 16:11:04 homeauto03 weewx[8713]: *** self.do_handshake() Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/ssl.py", line 836, in do_handshake Jan 31 16:11:04 homeauto03 weewx[8713]: *** match_hostname(self.getpeercert(), self.server_hostname) Jan 31 16:11:04 homeauto03 weewx[8713]: *** File "/usr/lib/python2.7/ssl.py", line 288, in match_hostname Jan 31 16:11:04 homeauto03 weewx[8713]: *** % (hostname, ', '.join(map(repr, dnsnames)))) Jan 31 16:11:04 homeauto03 weewx[8713]: *** CertificateError: hostname 'rtupdate.wunderground.com' doesn't match either of '*.prod-pws-ng-546567-997b58a668d15d562a6bed58ea7c5f9e-0000.us-south.containers.appdomain.cloud', 'prod-pws-ng-546567-997b58a668d15d562a6bed58ea7c5f9e-0000.us-south.containers.appdomain.cloud', 'prod-pws-ng-546567.us-south.containers.appdomain.cloud' Jan 31 16:11:04 homeauto03 weewx[8713]: restx: Wunderground-RF: Thread exiting. Reason: hostname 'rtupdate.wunderground.com' doesn't match either of '*.prod-pws-ng-546567-997b58a668d15d562a6bed58ea7c5f9e-0000.us-south.containers.appdomain.cloud', 'prod-pws-ng-546567-997b58a668d15d562a6bed58ea7c5f9e-0000.us-south.containers.appdomain.cloud', 'prod-pws-ng-546567.us-south.containers.appdomain.cloud' On Friday, January 31, 2020 at 4:16:37 PM UTC-5, Thomas Keffer wrote: > > Travis: what is the error? If it's a certificate error, Version 4 will do > a retry after an hour. Unfortunately, Version 3 does not. > > On Fri, Jan 31, 2020 at 1:04 PM Travis Bully <tbu...@gmail.com > <javascript:>> wrote: > >> Not here yet. It'll work for awhile and then will get the random cert >> error I sent earlier. A restart of weewx will get it going again. I wish >> restx would just try again after xx seconds. >> >> >> >> On Friday, January 31, 2020 at 2:48:50 PM UTC-5, J B wrote: >>> >>> Working here too. I had to restart Weewx. >>> >>> On Friday, January 31, 2020 at 11:34:19 AM UTC-8, Brice Ruth wrote: >>>> >>>> Looking like it's working to me, too. >>>> >>>> Brice Ruth, FCD >>>> Software Engineer, Madison WI >>>> >>>> >>>> On Fri, Jan 31, 2020 at 1:31 PM Travis Bully <tbu...@gmail.com> wrote: >>>> >>>>> Agreed. Seems like I still get one cert error every now and then. >>>>> Likely still propagating changes through their infrastructure? >>>>> >>>>> Jan 31 14:29:25 homeauto03 weewx[3784]: restx: Wunderground-RF: >>>>> Published record 2020-01-31 14:29:24 EST (1580498964) >>>>> Jan 31 14:29:26 homeauto03 weewx[3784]: restx: Wunderground-RF: Failed >>>>> upload attempt 1: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] >>>>> certificate verify failed (_ssl.c:727)> >>>>> Jan 31 14:29:31 homeauto03 weewx[3784]: restx: Wunderground-RF: Failed >>>>> to publish record 2020-01-31 14:29:26 EST (1580498966): Failed upload >>>>> after >>>>> 1 tries >>>>> Jan 31 14:29:31 homeauto03 weewx[3784]: restx: Wunderground-RF: >>>>> Published record 2020-01-31 14:29:30 EST (1580498970) >>>>> >>>>> On Fri, Jan 31, 2020 at 2:30 PM Denny Page <splo...@gmail.com> wrote: >>>>> >>>>>> It's fixed now. >>>>>> >>>>>> >>>>>> On Friday, January 31, 2020 at 8:54:02 AM UTC-8, Denny Page wrote: >>>>>>> >>>>>>> Wunderground just posted a note about the intermediate certificate >>>>>>> issue. Hopefully they will fix it shortly. >>>>>>> >>>>>> -- >>>>>> 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/mYhw6CSKHHg/unsubscribe. >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> weewx...@googlegroups.com. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/f5e5741a-e5f8-419b-9c0d-df1972fe5ced%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/f5e5741a-e5f8-419b-9c0d-df1972fe5ced%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...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/CAF_%2Bh57S88%3DZOX1mXK8oZBx-_KEHvDPFP%3Dvtd4u3_1qg7994yg%40mail.gmail.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/CAF_%2Bh57S88%3DZOX1mXK8oZBx-_KEHvDPFP%3Dvtd4u3_1qg7994yg%40mail.gmail.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...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/eaa42f60-98fc-4974-8d25-915a4c7e0d80%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/eaa42f60-98fc-4974-8d25-915a4c7e0d80%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/bc18e51d-9513-4955-86ec-24be123ee1e4%40googlegroups.com.