How to resolve Connexion.FlaskAPP with ASGI server uvicorn / gunicorn has synchronous api calls Error:ERROR:root:error (0, '') #1961
Replies: 1 comment
-
Cannot reproduce. |
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
-
After migrating from connexion2 to connexion 3 we are facing a weird error causing the application to stop.
When ever multiple api calls are triggered from application to Flask app server with ASGI it randomly throws unauthorized error stating:
ERROR:root:error (0, '')
When a single call is made it works but when multiple api calls are triggered from a single promise or one after other application randomly returns result once and throws 401 error some times.
Trace logs:
Posted the issue on stack overflow too: https://stackoverflow.com/questions/78849875/running-flask-app-with-connexion-3-1-0-with-synchronous-api-calls
Code used:
Dependencies used:
connexion[flask,uvicorn,swagger-ui]==3.1.0 Flask-Cors==4.0.1
Can anyone guide me on the solution for this.
Beta Was this translation helpful? Give feedback.
All reactions