Below is some additional information (logs from the hub
pod), which has confused me even more. Because why, if the core issue is Preventing implicit spawn for ablekh because last spawn failed: Timeout
[hub/server], deleting autohttps
pod clears up the issue [ingress]… Clarifications will be much appreciated.
[E 2019-08-21 23:12:03.586 JupyterHub log:158] 500 GET /hub/user/ablekh/ (ablekh@10.244.1.1) 27.49ms
[I 2019-08-21 23:12:38.235 JupyterHub proxy:301] Checking routes
[I 2019-08-21 23:13:07.713 JupyterHub log:158] 302 GET / -> /hub (@10.244.1.1) 1.21ms
[I 2019-08-21 23:13:07.879 JupyterHub log:158] 302 GET /hub -> /hub/ (ablekh@10.244.1.1) 0.82ms
[I 2019-08-21 23:13:07.923 JupyterHub log:158] 302 GET /hub/ -> /user/ablekh/ (ablekh@10.244.1.1) 31.11ms
[I 2019-08-21 23:13:07.993 JupyterHub log:158] 302 GET /user/ablekh/ -> /hub/user/ablekh/ (@10.244.1.1) 0.94ms
[E 2019-08-21 23:13:08.253 JupyterHub base:1011] Preventing implicit spawn for ablekh because last spawn failed: Timeout
[E 2019-08-21 23:13:08.253 JupyterHub web:1788] Uncaught exception GET /hub/user/ablekh/ (10.244.1.1)
HTTPServerRequest(protocol='https', host='<FQDN>', method='GET', uri='/hub/user/ablekh/', version='HTTP/1.1', remote_ip='10.244.1.1')
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 1699, in _execute
result = await result
File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py", line 1013, in get
raise copy.copy(exc).with_traceback(exc.__traceback__)
File "/usr/local/lib/python3.6/dist-packages/tornado/gen.py", line 589, in error_callback
future.result()
File "/usr/local/lib/python3.6/dist-packages/tornado/gen.py", line 589, in error_callback
future.result()
File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py", line 636, in finish_user_spawn
await spawn_future
File "/usr/local/lib/python3.6/dist-packages/jupyterhub/user.py", line 489, in spawn
raise e
File "/usr/local/lib/python3.6/dist-packages/jupyterhub/user.py", line 409, in spawn
url = await gen.with_timeout(timedelta(seconds=spawner.start_timeout), f)
tornado.util.TimeoutError: Timeout
[E 2019-08-21 23:13:08.255 JupyterHub log:150] {
"Cookie": "<CONTENT>",
"Upgrade-Insecure-Requests": "1",
"Dnt": "1",
"Referer": "<REFERRER_FQDN>",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "en-US,en;q=0.5",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0",
"X-Scheme": "https",
"X-Original-Uri": "/hub/user/ablekh/",
"X-Forwarded-Proto": "https,http",
"X-Forwarded-Port": "443,80",
"X-Forwarded-Host": "FQDN",
"X-Forwarded-For": "10.244.1.1,10.244.1.20",
"X-Real-Ip": "10.244.1.1",
"X-Request-Id": "8316450b12991d29bb7b64ddb87460cd",
"Connection": "close",
"Host": "FQDN"
}
[E 2019-08-21 23:13:08.255 JupyterHub log:158] 500 GET /hub/user/ablekh/ (ablekh@10.244.1.1) 54.96ms