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
Originally posted by karthikc08 August 9, 2024
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.
The text was updated successfully, but these errors were encountered:
karthikc08
changed the title
How to resolve Connexion.FlaskAPP with ASGI server uvicorn / gunicorn has synchronous api calls Errors.
How to resolve Connexion.FlaskAPP with ASGI server uvicorn / gunicorn has synchronous api calls Error: ERROR:root:error (0, '')
Aug 9, 2024
Discussed in #1961
Originally posted by karthikc08 August 9, 2024
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.
The text was updated successfully, but these errors were encountered: