ValueError: <Token var=<ContextVar name='flask.app_ctx' at 0x7f2ac79c36a0> at 0x7f2ac06b8600> was created in a different Context #1992
larsderidder
started this conversation in
General
Replies: 1 comment 1 reply
-
@larsderidder this is a strange error. Are you doing anything related to app or request contexts in the Socket.IO event handler that runs right before this error appears? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am upgrading Flask in an application. All works fine on Flask 2.1.5, but when going to 2.2.5, I get the below exception.
Anyone have any clue why? I use Flask-SocketIO 5.3.4. Is it too recent?
Beta Was this translation helpful? Give feedback.
All reactions