Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] bug report after starlette upgrade to 0.36.0 #106

Closed
leo15dev opened this issue Jan 23, 2024 · 2 comments
Closed

[bug] bug report after starlette upgrade to 0.36.0 #106

leo15dev opened this issue Jan 23, 2024 · 2 comments

Comments

@leo15dev
Copy link

leo15dev commented Jan 23, 2024

Although nbr23/youtube-dl-server:yt-dlp showed healthy
but its log showed
`
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/uvicorn/protocols/http/h11_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/starlette/applications.py", line 123, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in call
raise exc
File "/usr/local/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.12/site-packages/starlette/middleware/cors.py", line 83, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 62, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/usr/local/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/usr/local/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 758, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 778, in app
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 487, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.12/site-packages/starlette/staticfiles.py", line 104, in call
await response(scope, receive, send)
File "/usr/local/lib/python3.12/site-packages/starlette/responses.py", line 340, in call
elif "http.response.pathsend" in scope["extensions"]:
~~~~~^^^^^^^^^^^^^^
KeyError: 'extensions'

`
and it could not access via the web pages, please fix it, thank you!

@leo15dev leo15dev changed the title bug report after starlette update to 0.36.0 [bug] bug report after starlette upgrade to 0.36.0 Jan 23, 2024
@nbr23
Copy link
Owner

nbr23 commented Jan 23, 2024

thank you so much for the report, looks like starlette fixed the issue with v0.36.1 encode/starlette#2438

You can pull the latest image and should be good to go. Sorry and thanks again!!

@leo15dev
Copy link
Author

re-pull the latest image fixed the issue, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants