You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering what could be the issue : how Flask would loose the request context ?
Here are the version we use :
Flask==2.1.2
Werkzeug==2.1.2
We call this function only through HTTP request (no direct call to this function)
Does this werkzug PR (pallets/werkzeug@9741ea9) could solve our issue ? Can you explain a bit more on this refactoring ?
This query to the DB server is currently returning a very large amount of data and could take some time....and even sometime, the DB server is disconnecting. But even if this occurs, I cannot face out why and if this would lead Flask app to lost the request context...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have a Flask Application that sending HTTP requests to an external service (ArangoDB for instance)
From a simple route that send an HTTP Request to our DB server :
Sometimes we receiving this Traceback:
Traceback (most recent call last):
I was wondering what could be the issue : how Flask would loose the request context ?
Here are the version we use :
We call this function only through HTTP request (no direct call to this function)
Does this werkzug PR (pallets/werkzeug@9741ea9) could solve our issue ? Can you explain a bit more on this refactoring ?
This query to the DB server is currently returning a very large amount of data and could take some time....and even sometime, the DB server is disconnecting. But even if this occurs, I cannot face out why and if this would lead Flask app to lost the request context...
Beta Was this translation helpful? Give feedback.
All reactions