Running the .10 beta and I'm getting these errors:

Jan 30 20:00:16 weewx weewx[20566] DEBUG weewx.restx: Wunderground-PWS: 
Failed upload attempt 1: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:720)>
Jan 30 20:00:16 weewx weewx[20566] INFO weewx.restx: AWEKAS: Published 
record 2020-01-30 20:00:00 MST (1580439600)
Jan 30 20:00:17 weewx weewx[20566] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
'weewx.cheetahgenerator.Extras']
Jan 30 20:00:17 weewx weewx[20566] DEBUG weewx.manager: Daily summary 
version is 2.0
Jan 30 20:00:22 weewx weewx[20566] DEBUG weewx.restx: Wunderground-PWS: 
Failed upload attempt 2: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:720)>
Jan 30 20:00:27 weewx weewx[20566] DEBUG weewx.restx: WOW: Failed upload 
attempt 1: timed out
Jan 30 20:00:27 weewx weewx[20566] DEBUG weewx.restx: Wunderground-PWS: 
Failed upload attempt 3: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:720)>
Jan 30 20:00:27 weewx weewx[20566] ERROR weewx.restx: Wunderground-PWS: 
Failed to publish record 2020-01-30 20:00:00 MST (1580439600): Failed 
upload after 3 tries

Doing some googling I added these to the init.d file

export PYTHONHTTPSVERIFY=0
export SSL_CERT_DIR=/etc/ssl/certs

In addition, I also:

root@weewx:/etc/init.d# update-ca-certificates  --fresh
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
151 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.


These environmental variable are being seen at startup:

an 30 19:56:19 weewx systemd[1]: Starting LSB: weewx weather system...
Jan 30 19:56:19 weewx weewx[20550]: Starting weewx weather system: 
weewxLANGUAGE=en_US.UTF-8
Jan 30 19:56:19 weewx weewx[20550]: JOURNAL_STREAM=8:184647
Jan 30 19:56:19 weewx weewx[20550]: PATH=/sbin:/usr/sbin:/bin:/usr/bin
Jan 30 19:56:19 weewx weewx[20550]: 
INVOCATION_ID=11020d3212e64ebbb942354a2cb1b1ca
Jan 30 19:56:19 weewx weewx[20550]: PYTHONHTTPSVERIFY=0
Jan 30 19:56:19 weewx weewx[20550]: SSL_CERT_DIR=/etc/ssl/certs
Jan 30 19:56:19 weewx weewx[20550]: LANG=en_US.UTF-8
Jan 30 19:56:19 weewx weewx[20550]: PWD=/
Jan 30 19:56:20 weewx weewx[20562] INFO weewx.engine: Initializing weewx 
version 4.0.0b10
Jan 30 19:56:20 weewx weewx[20562] INFO weewx.engine: Using Python 3.5.3 
(default, Sep 27 2018, 17:25:39) #012[GCC 6.3.0 20170516]
Jan 30 19:56:20 weewx weewx[20562] INFO weewx.engine: Platform 
Linux-4.19.66-v7+-armv7l-with-debian-9.11
Jan 30 19:56:20 weewx weewx[20562] INFO weewx.engine: Locale is 
'en_US.UTF-8'
Jan 30 19:56:20 weewx weewx[20562] INFO weewx.engine: PID file is 
/var/run/weewx.pid
Jan 30 19:56:20 weewx weewx[20566] INFO weewx.engine: Using configuration 
file /home/weewx/weewx.conf
Jan 30 19:56:20 weewx weewx[20566] DEBUG weewx.engine: Debug is 1


As a result no results are being posted to Wunderground.  I don't really 
sling Python, so I haven't tried adding any code to the software.

Wondering if anyone else is reporting this problem.   If there is something 
else I need to provide, just let me know.

Thanks,

ted

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/52180444-053b-4890-bc52-1e8b862395ec%40googlegroups.com.

Reply via email to