Git Product home page Git Product logo

Comments (7)

daviddemeij avatar daviddemeij commented on July 17, 2024 1

Seems to be solved now

from srtm4.

daviddemeij avatar daviddemeij commented on July 17, 2024 1

I think the same issue is occurring again.

from srtm4.

lionlai1989 avatar lionlai1989 commented on July 17, 2024 1

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.

harshal306 avatar harshal306 commented on July 17, 2024

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.

lionlai1989 avatar lionlai1989 commented on July 17, 2024

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.

harshal306 avatar harshal306 commented on July 17, 2024

Thanks, @lionlai1989. I got it.
it is working fine now with verify=False

from srtm4.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.