Comments (7)
Seems to be solved now
from srtm4.
I think the same issue is occurring again.
from srtm4.
I use verify=False
as follow:
r = session.get(from_url, stream=True, verify=False)
and it works with the warning:
venv_stereo_pipeline/lib/python3.8/site-packages/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'srtm.csi.cgiar.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(
I guess the issue has something to do with CA list. https://certifiio.readthedocs.io/en/latest/
from srtm4.
I have tried with pyproj version 3.0.1
but still not able to pass sat-bundleadjust
test https://github.com/centreborelli/sat-bundleadjust
Error Logs:
`
...bundle adjustment input data is ready !
Getting image footprints...
------------------------------------------------------------ Captured log call ------------------------------------------------------------WARNING urllib3.connectionpool:connectionpool.py:813 Retrying (Retry(total=4, connect=5, read=5, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /wp-content/uploads/files/srtm_5x5/TIFF/srtm_22_10.zip WARNING urllib3.connectionpool:connectionpool.py:813 Retrying (Retry(total=3, connect=5, read=5, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /wp-content/uploads/files/srtm_5x5/TIFF/srtm_22_10.zip WARNING urllib3.connectionpool:connectionpool.py:813 Retrying (Retry(total=2, connect=5, read=5, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /wp-content/uploads/files/srtm_5x5/TIFF/srtm_22_10.zip WARNING urllib3.connectionpool:connectionpool.py:813 Retrying (Retry(total=1, connect=5, read=5, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /wp-content/uploads/files/srtm_5x5/TIFF/srtm_22_10.zip WARNING urllib3.connectionpool:connectionpool.py:813 Retrying (Retry(total=0, connect=5, read=5, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)': /wp-content/uploads/files/srtm_5x5/TIFF/srtm_22_10.zip ========================================================= short test summary info ========================================================== FAILED tests/test_ba.py::test_ba - requests.exceptions.SSLError: HTTPSConnectionPool(host='srtm.csi.cgiar.org', port=443): Max retries ex... ============================================================ 1 failed in 11.92s ============================================================
Any Updates on this?
from srtm4.
You need to pip install from this github repo. The code in pypa is not updated.
python3 -m pip install "srtm4 @ git+https://github.com/centreborelli/srtm4.git@master"
from srtm4.
Thanks, @lionlai1989. I got it.
it is working fine now with verify=False
from srtm4.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from srtm4.