Comments (8)
What do you mean by waiting in this case?
from hypercorn.
Just blocks there
from hypercorn.
Like if I'm making a request, it will just say "pending" forever.
from hypercorn.
from hypercorn.
How are you running it with Hypercorn? python main.py
also runs Hypercorn, so it is hard to see why it will be stuck waiting one way over the other.
from hypercorn.
python main.py
won't run hypercorn if I don't explicitly import it though, right?
I'm running main.py
without hypercorn.
from hypercorn.
What are the two ways you run it? You said there was one with hypercorn which I assume is hypercorn main:app
and one without which I assume is python main.py
- is this the case?
If running python main.py
uses app.run()
then you will be using Hypercorn (Quart is not able to serve itself).
from hypercorn.
Forgot to respond, I found a workaround.
from hypercorn.
Related Issues (20)
- Can the ASGI application be specified in the config file?
- How do I log username in access log? HOT 1
- Getting permission Error [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions when running FastAPI in IIS
- Need clarification on trusted hops HOT 1
- Reload up to date SSL certificates without restarting server?
- pytest-cov / pytest-sugar not included in pyproject.toml
- TCP server keep-alive times out even though data is being received. HOT 2
- Can we please get a new release? HOT 1
- ProxyFixMiddleware throws exception when X-Forwarded-Host is present HOT 1
- Unexpected "shutdown without Lifespan support" error on Hypercorn 0.17.3 HOT 1
- Cannot start WSGI application using Dispatcher middleware to support both FastAPI and Flash app at the same time. HOT 1
- It seems hypercorn is not closing connections properly HOT 12
- ProxyFixMiddleware: Turns out GCP LBs and possibly AWS LBs only have one value in `x-forwarded-proto` HOT 1
- Opentelemetry Tracing + Logging Issue
- error `hypercorn --config python:hypercorn_config.config` HOT 1
- Hypercorn processes daemon property fails multiprocessing.Process / concurrent.futures.ProcessPoolExecutor HOT 1
- Type hint for check_multiprocess_shutdown_event is confusing for mypy
- feat: configure `hypercorn` with environment variables HOT 1
- Documentation needs an http2 example
- AttributeError: '_UnixSelectorEventLoop' object has no attribute 'shutdown_default_executor'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hypercorn.