Skip to content
Snippets Groups Projects
Commit 3f59eb26 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

[bootstrap.py] use HTTPSConnection

parent 04431742
No related branches found
No related tags found
1 merge request!226use https version of bobconda proxy
Pipeline #51950 failed
...@@ -232,10 +232,10 @@ def ensure_miniconda_sh(): ...@@ -232,10 +232,10 @@ def ensure_miniconda_sh():
# re-downloads installer # re-downloads installer
import http.client import http.client
server = ("https://bobconda.lab.idiap.ch", 8443) # http server = ("bobconda.lab.idiap.ch", 8443) # http
logger.info("Connecting to http://%s:%d...", *server) logger.info("Connecting to http://%s:%d...", *server)
conn = http.client.HTTPConnection(server[0], port=server[1]) conn = http.client.HTTPSConnection(server[0], port=server[1])
conn.request("GET", path) conn.request("GET", path)
r1 = conn.getresponse() r1 = conn.getresponse()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment