rook added a comment.

  I believe this is the whole error. I haven't been able to get much from it. 
Perhaps it offers you guidance?
  
    [E 2023-05-23 13:09:54.290 JupyterHub oauth2:386] Error fetching 400 POST 
https://meta.wikimedia.org/w/rest.php/oauth2/access_token: {
         "error": "invalid_request",
         "error_description": "The request is missing a required parameter, 
includes an invalid parameter value, includes a parameter more than once, or is 
otherwise malformed.",
         "hint": "Check the `grant_type` parameter",
         "message": "The request is missing a required parameter, includes an 
invalid parameter value, includes a parameter more than once, or is otherwise 
malformed."
        }
    [E 2023-05-23 13:09:54.290 JupyterHub web:1798] Uncaught exception GET 
/hub/oauth_callback?code=<long code>&state=<state base64> (192.168.49.1)
        HTTPServerRequest(protocol='http', host='hub.paws.local', method='GET', 
uri='/hub/oauth_callback?code=<long code>&state=<state base64>', 
version='HTTP/1.1', remote_ip='192.168.49.1')
        Traceback (most recent call last):
          File "/usr/local/lib/python3.9/site-packages/tornado/web.py", line 
1713, in _execute
            result = await result
          File 
"/usr/local/lib/python3.9/site-packages/oauthenticator/oauth2.py", line 222, in 
get
            user = await self.login_user()
          File 
"/usr/local/lib/python3.9/site-packages/jupyterhub/handlers/base.py", line 801, 
in login_user
            authenticated = await self.authenticate(data)
          File "/usr/local/lib/python3.9/site-packages/jupyterhub/auth.py", 
line 491, in get_authenticated_user
            authenticated = await maybe_future(self.authenticate(handler, data))
          File 
"/usr/local/lib/python3.9/site-packages/oauthenticator/auth0.py", line 107, in 
authenticate
            resp_json = await self.fetch(req)
          File 
"/usr/local/lib/python3.9/site-packages/oauthenticator/oauth2.py", line 387, in 
fetch
            raise e
          File 
"/usr/local/lib/python3.9/site-packages/oauthenticator/oauth2.py", line 366, in 
fetch
            resp = await self.http_client.fetch(req, **kwargs)
        tornado.httpclient.HTTPClientError: HTTP 400: Bad Request
        
    [E 2023-05-23 13:09:54.292 JupyterHub log:178] {
          "Upgrade-Insecure-Requests": "1",
          "Cookie": "host=[secret]; oauthenticator-state=[secret]",
          "Referer": "https://meta.wikimedia.org/";,
          "Accept-Encoding": "gzip, deflate",
          "Accept-Language": "en-US,en;q=0.5",
          "Accept": 
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8",
          "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) 
Gecko/20100101 Firefox/113.0",
          "X-Scheme": "http",
          "X-Forwarded-Scheme": "http",
          "X-Forwarded-Proto": "http,http",
          "X-Forwarded-Port": "80,80",
          "X-Forwarded-Host": "hub.paws.local",
          "X-Forwarded-For": "192.168.49.1,::ffff:172.17.0.4",
          "X-Real-Ip": "192.168.49.1",
          "X-Request-Id": "09b343171a13e9ccc904b4940fbd21e4",
          "Host": "hub.paws.local",
          "Connection": "close"
        }
    [E 2023-05-23 13:09:54.292 JupyterHub log:186] 500 GET 
/hub/oauth_callback?code=[secret]&state=[secret] (@192.168.49.1) 201.18ms

TASK DETAIL
  https://phabricator.wikimedia.org/T243200

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: rook
Cc: dcaro, bd808, rook, Aklapper, Stang, Daniel_Mietchen, Bstorm, Dvorapa, 
MarcoAurelio, pywikibot-bugs-list, Mpaa, Chicocvenancio, PotsdamLamb, Devnull, 
Slst2020, Jyoo1011, nskaggs, JohnsonLee01, SHEKH, Dijkstra, Raymond_Ndibe, 
Khutuck, Zkhalido, AshokChakra, Viztor, 94rain, Wenyi, sietec, R96340, Tbscho, 
MayS, Mdupont, JJMC89, Altostratus, Avicennasis, Susannaanas, Fuzheado, 
mys_721tx, Jane023, Xqt, yuvipanda, jayvdb, zhuyifei1999, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to