emmett-framework / granian

A Rust HTTP server for Python applications
BSD 3-Clause "New" or "Revised" License
2.67k stars 79 forks source link

RSGI protocol failure #219

Closed choococo closed 6 months ago

choococo commented 7 months ago

docker start project, and send post request, server show "[ERROR] RSGI protocol failure", the project started command is "granian main:app --host="0.0.0.0" --port=8000 --workers=2"

gi0baro commented 7 months ago

RSGI protocol failure means Granian was unable to transfer the response from Python threads to the runtime. Can you please provide more context on this? Eg. how you're app interacts with RSGI protocol, if this happens only in docker or also on the host, OS, Python version, Granian version..

gi0baro commented 6 months ago

Closing due to inactivity