[D 241204 10:34:48 selector_events:59] Using selector: EpollSelector
[W 241204 10:34:48 app:702] Generating random build token secret. Set BinderHub.build_token_secret to avoid this warning.
[I 241204 10:34:48 app:1104] BinderHub starting on port 8585
[I 2024-12-04 10:34:56.304 JupyterHub log:192] 302 GET / -> /hub/ (@::1) 1.67ms
[I 2024-12-04 10:34:56.316 JupyterHub log:192] 302 GET /hub/ -> /services/binder/ (@::1) 0.94ms
[D 241204 10:34:56 auth:835] No user identified
[D 241204 10:34:56 auth:1398] Redirecting to login url: /hub/api/oauth2/authorize?client_id=service-binder&redirect_uri=%2Fservices%2Fbinder%2Foauth_callback&response_type=code
[I 241204 10:34:56 log:135] 302 GET /services/binder/ -> /hub/api/oauth2/authorize?client_id=service-binder&redirect_uri=%2Fservices%2Fbinder%2Foauth_callback&response_type=code&state=[secret] (@::1) 1.66ms
[I 2024-12-04 10:34:56.333 JupyterHub log:192] 302 GET /hub/api/oauth2/authorize?client_id=service-binder&redirect_uri=%2Fservices%2Fbinder%2Foauth_callback&r
esponse_type=code&state=[secret] -> /hub/login?next=%2Fhub%2Fapi%2Foauth2%2Fauthorize%3Fclient_id%3Dservice-binder%26redirect_uri%3D%252Fservices%252Fbinder%252Foauth_callback%26response_type%3Dcode%26state%3D-dkKrGc5-mzYu73A1e9CUg (@::1) 1.24ms
[E 2024-12-04 10:34:56.341 JupyterHub web:1875] Uncaught exception GET /hub/login?next=%2Fhub%2Fapi%2Foauth2%2Fauthorize%3Fclient_id%3Dservice-binder%26redirect_uri%3D%252Fservices%252Fbinder%252Foauth_callback%26response_type%3Dcode%26state%3D-dkKrGc5-mzYu73A1e9CUg (::1)
HTTPServerRequest(protocol='http', host='localhost:8000', method='GET', uri='/hub/login?next=%2Fhub%2Fapi%2Foauth2%2Fauthorize%3Fclient_id%3Dservice-binder%26redirect_uri%3D%252Fservices%252Fbinder%252Foauth_callback%26response_type%3Dcode%26state%3D-dkKrGc5-mzYu73A1e9CUg', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.1/lib/python3.8/site-packages/tornado/web.py", line 1790, in _execute
result = await result
File "/root/.pyenv/versions/3.8.1/lib/python3.8/site-packages/jupyterhub/handlers/login.py", line 144, in get
user = await self.login_user()
File "/root/.pyenv/versions/3.8.1/lib/python3.8/site-packages/jupyterhub/handlers/base.py", line 964, in login_user
authenticated = await self.authenticate(data)
File "/root/.pyenv/versions/3.8.1/lib/python3.8/site-packages/jupyterhub/auth.py", line 695, in get_authenticated_user
authenticated = await maybe_future(self.authenticate(handler, data))
File "/root/.pyenv/versions/3.8.1/lib/python3.8/site-packages/jupyterhub/auth.py", line 1525, in authenticate
return data['username']
TypeError: 'NoneType' object is not subscriptable
[I 2024-12-04 10:34:56.347 JupyterHub _xsrf_utils:125] Setting new xsrf cookie for b'de5b4b831282450ab2aa9e8bd1077670:Br627lrfn2gM1iqFH4sZYZmZ4kgHjkqFVOpmFuNHz4M=' {'path': '/hub/', 'max_age': 3600}
[D 2024-12-04 10:34:56.349 JupyterHub base:1519] Using default error template for 500
[E 2024-12-04 10:34:56.379 JupyterHub log:184] {
"X-Forwarded-Host": "localhost:8000",
"X-Forwarded-Proto": "http",
"X-Forwarded-Port": "8000",
"X-Forwarded-For": "::1",
"Cookie": "_xsrf=[secret]; remember_user_token=[secret]; known_sign_in=[secret]; access_token=[secret]; refresh_token=[secret]; jupyterhub-session-id=[secret]",
"Accept-Language": "zh-CN,zh;q=0.9",
"Accept-Encoding": "gzip, deflate, br, zstd",
"Sec-Ch-Ua-Platform": "\"Windows\"",
"Sec-Ch-Ua-Mobile": "?0",
"Sec-Ch-Ua": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"",
"Sec-Fetch-Dest": "document",
"Sec-Fetch-User": "?1",
"Sec-Fetch-Mode": "navigate",
"Sec-Fetch-Site": "none",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
"Upgrade-Insecure-Requests": "1",
"Connection": "keep-alive",
"Host": "localhost:8000"
}
[E 2024-12-04 10:34:56.383 JupyterHub log:192] 500 GET /hub/login?next=%2Fhub%2Fapi%2Foauth2%2Fauthorize%3Fclient_id%3Dservice-binder%26redirect_uri%3D%252Fservices%252Fbinder%252Foauth_callback%26response_type%3Dcode%26state%3D-dkKrGc5-mzYu73A1e9CUg (@::1) 40.33ms
now, I have encountered a new problem.