eshaan7 / Flask-Shell2HTTP

Execute shell commands via HTTP server (via flask's endpoints).
https://flask-shell2http.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
170 stars 28 forks source link

Fails if ran with multiple gunicorn workers #32

Open eshaan7 opened 2 years ago

eshaan7 commented 2 years ago

I figured out that the issue has to do with having multiple Gunicorn workers handling requests. The report only exists for the same worker that handled the original request. I am not sure how to solve it yet, but there you have it.

Originally posted by @dale-wahl in https://github.com/eshaan7/Flask-Shell2HTTP/issues/24#issuecomment-936112153

lingfish commented 1 year ago

I replied in a closed ticket here: https://github.com/eshaan7/Flask-Shell2HTTP/issues/24#issuecomment-1253305150