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

sentry and asgi 'lifespan' scope type: documentation, bug or configuration issue? #820

Closed
tony opened this issue Sep 13, 2020 · 4 comments
Closed

Comments

@tony
Copy link

tony commented Sep 13, 2020

Hi there, I'm not sure if issues relating to lifespan and asgi on sentry are resolved yet.

I got this error today after following the instructions for SentryAsgiMiddleware:

ValueError generic ASGI request error
No application configured for scope type 'lifespan'

sentry docs on asgi middleware: https://docs.sentry.io/platforms/python/guides/asgi/
asgi docs on lifespan: https://asgi.readthedocs.io/en/latest/specs/lifespan.html

Here are some related issues:

I'm using uvicorn with sentry-sdk 0.16.5 (example event if you're sentry staff: b47f9e1ecd9547709404d84d51b9a0b9)

@untitaker
Copy link
Member

untitaker commented Sep 14, 2020

#505 has been fixed as per comments. This seems like @tomchristie may have more info on it (I don't know what the bug is), but if all you need for now is to get rid of the error in Sentry to save money, use Sentry features: django/channels#1216 (comment)

@untitaker untitaker added the bug label Sep 14, 2020
@github-actions
Copy link

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@tony
Copy link
Author

tony commented Dec 23, 2021

This has happened so long ago, I am going to close now.

If anyone bumps into this again, feel free to refer to this issue and create a new one.

@antonpirker
Copy link
Member

As the original poster already closed this. I will again close this and post his same message:

If anyone bumps into this again, feel free to refer to this issue and create a new one.

@getsentry getsentry locked as resolved and limited conversation to collaborators Mar 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants