Coder Social home page Coder Social logo

https endpoints are not working about h5pyd HOT 3 CLOSED

hdfgroup avatar hdfgroup commented on June 24, 2024
https endpoints are not working

from h5pyd.

Comments (3)

jreadey avatar jreadey commented on June 24, 2024

This is actually a problem with the cert installation on data.hdfgroup.org. For some reason it doesn't verify, even though the same link in a browser works fine.

While that's getting sorted out, I made verify=False the option for http requests.

from h5pyd.

jreadey avatar jreadey commented on June 24, 2024

Note data.hdfgroup.org:7253 is the non-SSL endpoint and data.hdfgroup.org:7258 is SSL.

After converting the data.hdfgroup.org server to use Amazon certificate, running requests works ok. E.g.:

requests.get('https://data.hdfgroup.org:7258')

The h5ls.py examples now fails with a different error:

$ python h5ls.py -e https://data.hdfgroup.org:7258 /Users/jreadey/anaconda/envs/py34/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) OSError: Forbidden

Need to investigate what is going wrong with h5ls.py.

from h5pyd.

jreadey avatar jreadey commented on June 24, 2024

The problem was base.py was explicity setting verify to False. Fixed in 1a9c913.

from h5pyd.

Related Issues (20)

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.