Thanks Tom - all is good now! I had to run the command "Install Certificates.command" which showed up after rerunning the Python3 installer pkg. I don't know why this was missing originally, but that fixed the Certificate problem and PWS is updating now.
Thanks for your help. Sean On Friday, July 25, 2025 at 12:18:05 PM UTC-7 Tom Keffer wrote: > Outside of my area of expertise, but your CA certificates are probably out > of date. At least, those used by Python. Googling shows this > <https://stackoverflow.com/questions/68275857/urllib-error-urlerror-urlopen-error-ssl-certificate-verify-failed-certifica> > . > > On Fri, Jul 25, 2025 at 11:21 AM Sean Curry <[email protected]> wrote: > >> Thanks Tom, this is very helpful, as I couldn't figure out how to get a >> system log file on my Mac. >> >> Attached is such a log after adding the [Logging] section as sugegsted, >> and it does show the problem: >> >> 2025-07-25 11:15:16 weewxd[71091]: DEBUG weewx.restx: PWSWeather: Failed >> upload attempt 1: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] >> certificate verify failed: unable to get local issuer certificate >> (_ssl.c:1028)> >> >> So, I'm not sure why this is occurring now - a change to MacOS? >> >> Sean >> >> On Friday, July 25, 2025 at 10:36:43 AM UTC-7 Tom Keffer wrote: >> >>> It would be useful to see the system log. It will tell us whether the >>> WeeWX service for PWS is being loaded. >>> >>> Getting a system log on a Mac is a pain. You will have to add a >>> [Logging] section to your configuration file. See the section *Logging >>> to rotating files >>> <https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging#logging-to-rotating-files>* >>> in >>> the wiki. >>> >>> On Fri, Jul 25, 2025 at 9:02 AM Sean Curry <[email protected]> wrote: >>> >>>> I have been running weewx successfully on an older iMac (MacOS 12.6.2) >>>> for the last year. I have a Davis Vantage station. I upload my data to PWS >>>> and to a personal webpage on AWS via ftp. Everything worked perfectly. >>>> >>>> I now have a new Mac Studio running MacOS 15.5. I installed Python >>>> 3.13.5, and weewx 5.1.0. The connection to the Vantage works fine, and the >>>> ftp upload still runs great. However, PWSweather never updates. I tried a >>>> direct browser URL update to PWS with my Station Name and password and >>>> that >>>> works, but weewxd never updates PWS. When I look at the logfile, it almost >>>> seems as if the [StdRESTful] section never runs - there are no REST errors >>>> or status messages that I can see. >>>> >>>> I copied over my .conf from the old iMac - maybe something has changed >>>> that I can't see? Any suggestions on further debugging are welcome. >>>> >>>> Sean >>>> >>>> -- >>>> 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 visit >>>> https://groups.google.com/d/msgid/weewx-user/639816f3-5e03-4204-b142-2bedb99be710n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/639816f3-5e03-4204-b142-2bedb99be710n%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 visit >> https://groups.google.com/d/msgid/weewx-user/decdd58d-0850-4278-b2e8-e9848566b4fcn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/decdd58d-0850-4278-b2e8-e9848566b4fcn%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 visit https://groups.google.com/d/msgid/weewx-user/91d9b301-7fd5-4128-930c-0e37bebe235fn%40googlegroups.com.
