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
-
@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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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