[osgeo4w-dev] [osgeo4w] #715: ssl.SSLError: A failure in the SSL library occurred (_ssl.c:1129)
OSGeo4W
trac_osgeo4w at osgeo.org
Thu May 5 01:57:23 PDT 2022
#715: ssl.SSLError: A failure in the SSL library occurred (_ssl.c:1129)
------------------------+----------------------------
Reporter: andreaerdna | Owner: osgeo4w-dev@…
Type: defect | Status: closed
Priority: major | Component: Package
Version: | Resolution: fixed
Keywords: |
------------------------+----------------------------
Comment (by hellik):
Replying to [comment:14 hellik]:
> Replying to [comment:13 jef]:
> > QGIS from `qgis*.bat` it should work.
>
> started here `qgis.bat` in OSGeo4W Ver 2:
>
> {{{
> # Python Console
> # Use iface to access QGIS API interface or type help(iface) for more
info
> # Security warning: typing commands from an untrusted source can harm
your computer
>
exec(Path('C:/Users/hkmyr/AppData/Local/Temp/tmpxzb_61_i.py').read_text())
> ssl prgcloud.com: FAIL A failure in the SSL library occurred
(_ssl.c:1129)
> urllib prgcloud.com: FAIL <urlopen error A failure in the SSL library
occurred (_ssl.c:1129)>
> ssl www.prgcloud.com: FAIL A failure in the SSL library occurred
(_ssl.c:1129)
> urllib www.prgcloud.com: FAIL <urlopen error A failure in the SSL
library occurred (_ssl.c:1129)>
> ssl www.python.org: OK
> urllib www.python.org: OK
> ssl grass.osgeo.org: FAIL A failure in the SSL library occurred
(_ssl.c:1129)
> urllib grass.osgeo.org: FAIL <urlopen error A failure in the SSL library
occurred (_ssl.c:1129)>
> ssl www.osgeo.org: FAIL A failure in the SSL library occurred
(_ssl.c:1129)
> urllib www.osgeo.org: FAIL <urlopen error A failure in the SSL library
occurred (_ssl.c:1129)>
> }}}
>
> still a failure.
>
> system info
>
> {{{
> QGIS version
> 3.24.2-Tisler
> QGIS code revision
> 13c1a028
> Compiled against Qt
> 5.15.2
> Running against Qt
> 5.15.3
> Python version
> 3.9.5
> Compiled against GDAL/OGR
> 3.4.2
> Running against GDAL/OGR
> 3.4.3
> PROJ version
> 9.0.0
> EPSG Registry database version
> v10.054 (2022-02-13)
> GEOS version
> 3.10.2-CAPI-1.16.0
> SQLite version
> 3.38.1
> PDAL version
> 2.3.0
> PostgreSQL client version
> unknown
> SpatiaLite version
> 5.0.1
> QWT version
> 6.1.3
> QScintilla2 version
> 2.11.5
> OS version
> Windows 10 Version 2009
>
> Active Python plugins
> kmltools
> 3.1.10
> latlontools
> 3.5.3
> LocatePoints
> 0.3.4
> MultiDistanceBuffer
> 3.2.4
> openlayers_plugin
> 2.0.0
> OSMDownloader
> 1.0.3
> qgisgbifapi
> 0.3.2
> QuickOSM
> 1.16.0
> quick_map_services
> 0.19.11.1
> scriptrunner3
> 3.0.5
> SentinelHub
> 2.0.0
> vrtbuilderplugin
> 0.9.20210222T174536.master
> db_manager
> 0.1.20
> grassprovider
> 2.12.99
> MetaSearch
> 0.3.6
> processing
> 2.12.99
> sagaprovider
> 2.12.99
> }}}
looking at https://trac.osgeo.org/osgeo4w/ticket/696#comment:2
{{{
import os
os.getenv("SSL_CERT_FILE")
os.getenv("SSL_CERT_DIR")
cert_filet = os.getenv("SSL_CERT_FILE")
cert_dirt = os.getenv("SSL_CERT_DIR")
print(cert_filet)
print(cert_dirt)
}}}
results in
{{{
# Python Console
# Use iface to access QGIS API interface or type help(iface) for more info
# Security warning: typing commands from an untrusted source can harm your
computer
exec(Path('C:/Users/hkmyr/AppData/Local/Temp/tmpkhsda6a5.py').read_text())
C:\OSGeo4W\bin\curl-ca-bundle.crt
C:\OSGeo4W\apps\openssl\certs
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/715#comment:15>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list