And when I use the api call from the help pages of Weather Underground with 
my site ID it works

https://api.weather.com/v2/pws/history/hourly?stationId=IHUDDERS4
&format=json&units=m&date=20181001&apiKey=yourApiKey

*But not consistantly*

On Sunday, February 23, 2020 at 4:01:41 PM UTC, Mike Revitt wrote:
>
> Thanks Thomas,
>
> I reverted back to my version 3 installation on Python 2 and that got be 
> past the SSL error, now onto the next one
>
> tarting wee_import...
> Observation history for Weather Underground station 'EGNM' will be 
> imported.
> Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
> Destination table 'archive' unit system is '0x01' (US).
> Missing derived observations will be calculated.
> This is a dry run, imported data will not be saved to archive.
> Unable to open Weather Underground station EGNM
>    **** HTTP Error 403: Forbidden
> **** Unable to load config file.
> **** HTTP Error 403: Forbidden
> **** Nothing done, exiting.
>
>
>
>
> On Sunday, February 23, 2020 at 3:36:37 PM UTC, Thomas Keffer wrote:
>>
>> Check this SO thread about certificate problems on Macs: 
>> https://stackoverflow.com/questions/41691327/ssl-sslerror-ssl-certificate-verify-failed-certificate-verify-failed-ssl-c
>>
>> Or, it could be WU messing around with their certificates, again. It has 
>> been a recurring problem for the last 2 months. See 
>> https://apicommunity.wunderground.com/weatherapi/topics/ssl-certificate-error-9lwea9u1krwgd
>>
>> On Sun, Feb 23, 2020 at 6:11 AM Mike Revitt <[email protected]> wrote:
>>
>>> Just trying to import some data from Weather Underground
>>>
>>> I am getting an SSL Certificate error, even when trying to connect to my 
>>> own station.
>>>
>>> Guessing there is a certificate I need, but can't work out which one.
>>>
>>> This is the one I want to import
>>>
>>> Using WeeWX configuration file 
>>> /Users/Mike/OneDrive/Mike/WebSites/Weewx/ModifiedScripts/4.0.0/weewx-iMac-sim.conf
>>> Starting wee_import...
>>> Observation history for Weather Underground station 'EGNM' will be 
>>> imported.
>>> Using database binding 'wx_binding', which is bound to database 
>>> 'weewx.sdb'
>>> Destination table 'archive' unit system is '0x01' (US).
>>> Missing derived observations will be calculated.
>>> This is a dry run, imported data will not be saved to archive.
>>> Starting dry run import ...
>>> Records covering multiple periods have been identified for import.
>>> Unable to open Weather Underground station EGNM  or  <urlopen error 
>>> [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>
>>> **** Unable to load config file.
>>> **** <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify 
>>> failed (_ssl.c:749)>
>>> **** Nothing done, exiting.
>>>
>>>
>>>
>>> This is what happens if I use my own station ID
>>>
>>> Using WeeWX configuration file 
>>> /Users/Mike/OneDrive/Mike/WebSites/Weewx/ModifiedScripts/4.0.0/weewx-iMac-sim.conf
>>> Starting wee_import...
>>> Observation history for Weather Underground station 'iHUDDERS4' will be 
>>> imported.
>>> Using database binding 'wx_binding', which is bound to database 
>>> 'weewx.sdb'
>>> Destination table 'archive' unit system is '0x01' (US).
>>> Missing derived observations will be calculated.
>>> This is a dry run, imported data will not be saved to archive.
>>> Starting dry run import ...
>>> Records covering multiple periods have been identified for import.
>>> Unable to open Weather Underground station iHUDDERS4  or  <urlopen error 
>>> [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>
>>> **** Unable to load config file.
>>> **** <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify 
>>> failed (_ssl.c:749)>
>>> **** Nothing done, exiting.
>>>
>>>
>>>
>>> Don't know what ssl.c.749 is, but that looks like the culprit
>>>
>>> -- 
>>> 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/118393a5-3361-48c5-a22b-90578620fc83%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/118393a5-3361-48c5-a22b-90578620fc83%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/b0d27434-d223-4e1c-b02a-f34b67e0a8de%40googlegroups.com.

Reply via email to