Wunderground has a habit of fiddling with their SSL certificates, and/or
letting them expire, which can cause this error. See issue #413
<https://github.com/weewx/weewx/issues/413>. There's a fix for this,
appearing in V4. Instead of exiting, the thread will wait 60 minutes, then
retry.

In the meantime, you can try using logwatch
<https://github.com/weewx/weewx/wiki/logwatch> to send you an email if the
thread exits.

-tk

On Tue, Dec 10, 2019 at 6:15 AM David Hathaway <[email protected]>
wrote:

> Every once in a while, I get an exception posting to Wunderground :
>
> Dec  8 01:48:52 hathaway weewx[1353]: restx: Wunderground-PWS: Unexpected
> exception of type <class 'ssl.CertificateError'>
> Dec  8 01:48:52 hathaway weewx[1353]: restx: Wunderground-PWS: Thread
> exiting. Reason: hostname 'weatherstation.wunderground.com' doesn't match
> either of '*.wpengine.com', 'wpengine.com'
>
> Further, Wunderground has stopped sending me alerts that my station isn't
> reporting, so I may go many days without posting to WU.  And as of now,
> wunderfixer doesn't work to populate the history.
>
> Is there a way to automatically detect that restx isn't running and to
> restart it?  Or to email me an alert?
>
> --
> 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/760b4fe6-1a66-47dd-b08c-d11d5fdbbac3%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/760b4fe6-1a66-47dd-b08c-d11d5fdbbac3%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEC4S16kLUb%2BzDP1MFdcL0raAFjmOoumqmzwRVDuccRhZQ%40mail.gmail.com.

Reply via email to