2 days ago I changed my password on Weather Underground after they
requested I do so. My new password is accepted when logging on to their
site. However  if I update my weewx.conf with the new password uploads
fail. Setting weewx.conf with the old password uploading works. I'm
assuming that Weather Underground doesn't sync new passwords across their
services on a timely basis. So just check my log daily and when uploads
stop working then it's time to set weewx.conf to the new password.

Classic Weather Underground behavior actually they have always had flaky
api's and services, and things have gone from bad to worse since IBM bought
them. Often wonder why I still bother uploading my data to them and the
only reason is that I've been doing so for about 20 years.

Paul

On Fri, Aug 4, 2023 at 6:07 PM Tom Keffer <tkef...@gmail.com> wrote:

> Sorry. I missed that piece of information.
>
> I believe the WU uses DigiCert, so if an expired certificate is the
> problem, your goal is to update the DigiCert root certificate. I'm not sure
> how to do that on a Mac, although I'm sure there are instructions
> somewhere. Perhaps you can download a .pem file directly from their
> website. Check around.
>
> One thing to try is the app Keychain Access. Click on "System Roots" and
> look for the DigiCert certificates and see how old they are.
>
> Sorry I don't have anything more helpful.
>
> On Fri, Aug 4, 2023 at 2:33 PM David Barto <ba...@kdbarto.org> wrote:
>
>> This is a MacOS install, apt-get doesn’t exist. 8^(
>>
>> David
>>
>> On Aug 4, 2023, at 2:25 PM, Tom Keffer <tkef...@gmail.com> wrote:
>>
>> Can't speak for the problem with forecast, but for your
>> CERTIFICATE_VERIFY_FAILED error, try refreshing the certificates on your
>> machine:
>>
>> *sudo apt-get update*
>> *sudo apt-get install --reinstall ca-certificates*
>>
>>
>> On Fri, Aug 4, 2023 at 2:13 PM David Barto <ba...@kdbarto.org> wrote:
>>
>>> But only after I changed my password on the Wunderground.com
>>> <http://wunderground.com/> site because they asked me to. (Bas..rds)
>>>
>>> So it went from fine:
>>> Aug  1 20:43:15 Magrathea weewx[58335]: manager: Added record 2023-08-01
>>> 20:43:00 PDT (1690947780) to database 'weewx.sdb'
>>> Aug  1 20:43:15 Magrathea weewx[58335]: manager: Added record 2023-08-01
>>> 20:43:00 PDT (1690947780) to daily summary in 'weewx.sdb'
>>> Aug  1 20:43:15 Magrathea weewx[58335]: restx: CWOP: wait interval (240
>>> < 600) has not passed for record 2023-08-01 20:43:00 PDT (1690947780)
>>> Aug  1 20:43:15 Magrathea weewx[58335]: restx: StationRegistry: wait
>>> interval (85440 < 604800) has not passed for record 2023-08-01 20:43:00 PDT
>>> (1690947780)
>>> Aug  1 20:43:16 Magrathea weewx[58335]: forecast: WUThread: WU: failed
>>> attempt 1 to download forecast: HTTP Error 503: Service Unavailable
>>> Aug  1 20:43:18 Magrathea weewx[58335]: forecast: WUThread: WU: failed
>>> attempt 2 to download forecast: HTTP Error 503: Service Unavailable
>>> Aug  1 20:43:19 Magrathea weewx[58335]: forecast: WUThread: WU: failed
>>> attempt 3 to download forecast: HTTP Error 503: Service Unavailable
>>> Aug  1 20:43:19 Magrathea weewx[58335]: forecast: WUThread: WU: failed
>>> to download forecast
>>> Aug  1 20:43:19 Magrathea weewx[58335]: forecast: WUThread: WU: no
>>> forecast data for KCAPOWAY187 from http://api.wunderground.com/api
>>>
>>> to this:
>>>
>>> Aug  4 00:57:18 Magrathea weewx[58335]: manager: Added record 2023-08-04
>>> 00:57:00 PDT (1691135820) to database 'weewx.sdb'
>>> Aug  4 00:57:18 Magrathea weewx[58335]: manager: Added record 2023-08-04
>>> 00:57:00 PDT (1691135820) to daily summary in 'weewx.sdb'
>>> Aug  4 00:57:18 Magrathea weewx[58335]: restx: StationRegistry: wait
>>> interval (273480 < 604800) has not passed for record 2023-08-04 00:57:00
>>> PDT (1691135820)
>>> Aug  4 00:57:18 Magrathea weewx[58335]: restx: CWOP: wait interval (480
>>> < 600) has not passed for record 2023-08-04 00:57:00 PDT (1691135820)
>>> Aug  4 00:57:19 Magrathea weewx[58335]: restx
>>> *alert: Wunderground-PWS: Failed upload attempt 1: <urlopen error [SSL:
>>> CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>*Aug
>>> 4 00:57:19 Magrathea weewx[58335]: forecast: WUThread: WU: failed attempt 1
>>> to download forecast: HTTP Error 503: Service Unavailable
>>> Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: failed
>>> attempt 2 to download forecast: HTTP Error 503: Service Unavailable
>>> Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: failed
>>> attempt 3 to download forecast: HTTP Error 503: Service Unavailable
>>> Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: failed
>>> to download forecast
>>> Aug  4 00:57:20 Magrathea weewx[58335]: forecast: WUThread: WU: no
>>> forecast data for KCAPOWAY187 from http://api.wunderground.com/api
>>>
>>> And I stopped publishing.
>>>
>>> Which certificate is it complaining about and how would I find/create a
>>> proper certificate.
>>> Note: Version 3.9.2 (yeah, old and my Mac I’m using has a very old
>>> python on it)
>>> Local updates are fine: http://www.kdbarto.org/Weather/Current_Plus.htm
>>>
>>> David
>>>
>>>
>>> ...well over half of the time you spend working on a project (on
>>> the order of 70 percent)
>>> is spent thinking, and no tool, no matter how advanced, can think
>>> for you.
>>> Consequently, even if a tool did everything except the thinking for you
>>> -- if it wrote 100 percent of the code,
>>> wrote 100 percent of the documentation, did 100 percent of the testing,
>>> burned the CD-ROMs,
>>> put them in boxes, and mailed them to your customers -- the best
>>> you could hope for would
>>> be a 30 percent improvement in productivity. In order to do better than
>>> that, you have to
>>> change the way you think.
>>>             --Fred Brooks
>>> David Barto
>>> ba...@kdbarto.org
>>>
>>>
>>>
>>> --
>>> 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/405339E8-0448-477E-9162-719CFCDD90E9%40kdbarto.org
>>> <https://groups.google.com/d/msgid/weewx-user/405339E8-0448-477E-9162-719CFCDD90E9%40kdbarto.org?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/CAPq0zEDjDdvyUGX5m6%3DZCjwiY60wtqPPXrk2Rx813yu1k%3DbULQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDjDdvyUGX5m6%3DZCjwiY60wtqPPXrk2Rx813yu1k%3DbULQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>> Do the right thing. It will gratify some people and astonish the rest.
>>         --Mark Twain.
>> David Barto
>> ba...@kdbarto.org
>>
>>
>>
>>
>>
>> --
>> 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/C5EAE21C-FFEB-4891-854F-C8FF01AD8482%40kdbarto.org
>> <https://groups.google.com/d/msgid/weewx-user/C5EAE21C-FFEB-4891-854F-C8FF01AD8482%40kdbarto.org?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/CAPq0zEDG8OLknZhYgx%2BJTzgvULUhqpQSSXH_9HZ_fDT80NR%2BAg%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDG8OLknZhYgx%2BJTzgvULUhqpQSSXH_9HZ_fDT80NR%2BAg%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-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAOAVAecUQpfH7mMx_MXia4SMaJ4hj%2Bt8SAXAG7GT-cNkdtEMpw%40mail.gmail.com.

Reply via email to