Just for info wee_import included with WeeWX 3.x uses the old WU WXDailyHistory.asp page to obtain PWS daily records. WXDailyHistory.asp has been retired for around a year (which is why wee_import was revised in WeeWX 4.0 to use the new API) so seeing 403 errors when using wee_import from WeeWX 3.x is to be expected.
FWIW your PWS works fine with my API key, not so for EGNM though. But then again we have been pretty immune from WU 'issues' down here. Perhaps this week it is Europe/UK's turn for special treatment :) Gary On Monday, 24 February 2020 02:01:41 UTC+10, 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/555479c3-a943-4574-9575-96b36a02de5d%40googlegroups.com.
