emmett-framework / granian

A Rust HTTP server for Python applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RSGI protocol failure

choococo opened this issue · comments

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"

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..

Closing due to inactivity