From d0d0e1a82eee264155ac9b8d2d6e20aef11facd5 Mon Sep 17 00:00:00 2001 From: GeorgianaElena Date: Fri, 24 May 2019 14:40:19 +0300 Subject: [PATCH] don't verify cert when checking if hub is up --- tljh/installer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tljh/installer.py b/tljh/installer.py index 0e6dee7..ba44bfb 100644 --- a/tljh/installer.py +++ b/tljh/installer.py @@ -292,7 +292,8 @@ def ensure_jupyterhub_running(times=20): for i in range(times): try: logger.info('Waiting for JupyterHub to come up ({}/{} tries)'.format(i + 1, times)) - requests.get('http://127.0.0.1') + # We don't care at this level that SSL is valid + requests.get('http://127.0.0.1', verify=False) return except requests.HTTPError as h: if h.response.status_code in [404, 502, 503]: