-
Notifications
You must be signed in to change notification settings - Fork 517
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
FlaskIntegration causes gunicorn worker to raise AttributeError while switching protocols #724
Comments
This appears to be a gunicorn bug, see: miguelgrinberg/Flask-SocketIO#223 |
@untitaker That specific issue seems very old (and solved). Is it possible with the current sentry_sdk to switch to synchronous logging to reduce possible sources of eventlet chaos? I think it would help me to track down some details while keeping the advantages of having sentry logging. |
I'm sorry, I don't know what you mean by synchronous logging. |
Closing due to inactivity. The stacktrace does not really exhibit any indication that this has anything to do wtih the SDK at all |
for what it's worth, anyone affected can use this workaround for the time being: benoitc/gunicorn#1852 (comment) |
I am using a Flask, -SocketIO, Gunicorn, eventlet based websocket endpoint on a single gunicorn worker. Everything works fine until I start adding the FlaskIntegration for the sentry_sdk.
After adding the FlaskIntegration, upon switching protocols (HTTP 101), the following exception occurs:
The end-user (browser) is not notified of this exception, the error is logged by sentry nonetheless.
The text was updated successfully, but these errors were encountered: