-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start WSGI application using Dispatcher middleware to support both FastAPI and Flash app at the same time. #240
Comments
I have a similar-looking issue: when I use Aside from the issue when a startup routine throws an exception, when I use
No such error occurs when not using |
Hi,
I am not sure if our use case is supported. We have FastAPI application that exposes our core API. I am hoping to add the RQ Dashboard to the same API but at
/rq
path. When I use the Dispatcher middleware, Hypercorn reports a timeout exception. However, if I try to only start the Flash app that is wrapped inAsyncioWSGIMiddleware
, it starts up correctly.install packages (we use pipenv, I am assuming you can replace it with pip easily)
Here is the minimal code to reproduce the issue:
This works:
This does not:
Please advise on how best to proceed.
The text was updated successfully, but these errors were encountered: