jayvdb / pypidb

PyPI client side database with SCM/VCS URLs
Apache License 2.0
13 stars 3 forks source link

tvb-gdist & www.thevirtualbrain.org #27

Closed jayvdb closed 4 years ago

jayvdb commented 4 years ago

https://www.thevirtualbrain.org causes

ERROR https_everywhere.adapter:adapter.py:126 handle_error requests.exceptions.SSLError: HTTPSConnectionPool(host='www.thevirtualbrain.org', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

But http redirects to https, so we cant downgrade it otherwise there is too many redirects, and causes a timeout on https://ci.appveyor.com/project/jayvdb/pypidb/builds/31795479.

https://github.com/the-virtual-brain/tvb-geodesic/pull/24 already solves this for that package.

The maximum number of redirects should also be reduced.

jayvdb commented 4 years ago

The patch isnt parsed because the code doesnt support removing URLs.

jayvdb commented 4 years ago

https://www.thevirtualbrain.org/ needs to be rechecked, so that rule can be removed.