python/blurb_it

creating a blub-it results in a 500 internal server error

graingert opened this issue · 3 comments

<html><head><title>500 Internal Server Error</title></head><body>
<h1>500 Internal Server Error</h1>
Server got itself in trouble
</body></html>

Looks like it was rate limited or the auth otherwise expired and it was not handled:

2022-03-22T10:13:28.412133+00:00 app[web.1]:     response = await handler(request)
2022-03-22T10:13:28.412134+00:00 app[web.1]:   File "/app/blurb_it/__main__.py", line 100, in handle_add_blurb_get
2022-03-22T10:13:28.412134+00:00 app[web.1]:     response = await gh.getitem("/user")
2022-03-22T10:13:28.412136+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/gidgethub/abc.py", line 136, in getitem
2022-03-22T10:13:28.412136+00:00 app[web.1]:     data, _ = await self._make_request(
2022-03-22T10:13:28.412137+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/gidgethub/abc.py", line 117, in _make_request
2022-03-22T10:13:28.412137+00:00 app[web.1]:     data, self.rate_limit, more = sansio.decipher_response(*response)
2022-03-22T10:13:28.412138+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.8/site-packages/gidgethub/sansio.py", line 376, in decipher_response
2022-03-22T10:13:28.412138+00:00 app[web.1]:     raise exc_type(*args)
2022-03-22T10:13:28.412138+00:00 app[web.1]: gidgethub.BadRequest: Requires authentication

Can you try a new browser session to blurb-it? Or re-login to GitHub, it may just have some stale session.
Sorry for the inconvenience.

Let's close, we can re-open if needed in the future.