Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance.
Questions tagged [waitress]
190 questions
2
votes
1 answer
Setting application URL prefix with Gunicorn
I am currently moving Pyramid WSGI based application from the Waitress web server to Gunicorn web server due to multiprocess pooling support.
Currently, the application is being served with Waitress as:
from waitress import serve
serve(app,
…

Mikko Ohtamaa
- 82,057
- 50
- 264
- 435
2
votes
2 answers
How to use SSL/TLS on ECS Fargate
I am trying to use SSL/TLS for Python Flask/Waitress server running the ECS Fargate. I haven't found a solution for our use case.
Here are the designs for the ECS Fargate:
Container will only interacts with backend AWS Lambda
Public IP disabled,…

EzyHoo
- 301
- 2
- 14
2
votes
1 answer
Python Flask service is not executing all function calls in parallel
I am new to Python and I am trying to create a Flask web service.
The service I've created is working fine for serial requests but when multiple requests come, it shows some weird behavior.
In my actual application what I observed is when multiple…

prem
- 3,348
- 1
- 25
- 57
2
votes
0 answers
Django Nginx: Gives WARNING:django.request:Not Found: When running server
I am trying to use Nginx with django to run my server but when i try to run i get these WARNING:django.request:Not Found: errors. normal python manage.py runserver works fine. Also i used this tutorial. Any idea why i am getting these errrors and…

humza din
- 81
- 5
2
votes
0 answers
How can I get waitress.queue:Task depth programmatically
I want waitress to reject requests with status code 429 for example and not save the request in task queue, if threads limit exceeded.

ZAky
- 1,209
- 8
- 22
2
votes
2 answers
Deploying django(windows) with apache(on unix)
I know it might be a bad design but since we are developing the django website on our laptops which runs Win7, I thought it would be better to run django on a Windows platform only in production.
(Laptop is not powerful enough to run a Unix VM…

Aditya
- 60
- 5
2
votes
0 answers
python waitress - Kill the inactive connections and threads
I have a waitress server connected to falcon API:
from waitress import serve
import myserver
serve(myserver.api, host='0.0.0.0', channel_timeout=20, cleanup_interval=20, port=8001)
The doc says I can use channel_timeout to make a connection…

Dushyant Bangal
- 6,048
- 8
- 48
- 80
2
votes
2 answers
Use waitress as a production server for Flask
I have written an application in Python/Flask which I need to deploy in production on a Windows Server(unfortunately). I came across a suggestion to use Waitress. It was a simple modification to make the web app use waitress, but my issues remain…

s_om
- 661
- 2
- 9
- 24
2
votes
1 answer
I need to use multi-processing in a flask api served by waitress, how?
I have a flask built rest api served by waitress. I am limited to using one thread in my api (I have a model which is unstable if multi threading is allowed) this means that I wanted to look into implementing multi-processing to speed up request…

Ngillie
- 21
- 1
- 2
2
votes
1 answer
How to get web scraping flask app to show new web scraping results every time the flask app's web page is reloaded in browser?
My flask app does some webscraping (using the requests library) and then displays the results on an html template (info.html).
The flask app works but it does the webscraping only once (when the flask app is started), meaning that if I refresh the…

KMFR
- 895
- 1
- 15
- 24
2
votes
0 answers
How do I restart Waitress?
I'm using Waitress to serve Python/Flask pages on CentOS.
I'm using an HTML template file in the templates folder. When I change the HTML template file, and refresh the main page in my web app, the changes made in the template are not…

Mark Challice
- 411
- 1
- 4
- 5
2
votes
1 answer
Python waitress API hangs
I'm using waitress to serve an API on localhost (Windows VM), it is being called by a C# application running on the same Windows VM. C# is reporting timeout errors when waitress hangs:
System.Net.WebException: The operation has timed out at…

user3450049
- 825
- 1
- 10
- 20
2
votes
2 answers
Nginx not serving static files with Waitress+Django on Windows
I have installed django 2.0 on a virtualenv with python 3.4 and because gunicorn cannot be installed in windows i found waitress that is ok with his work, mi problem is that nginx (probably a bad configuration by my part) is not serving the static…

xtrios
- 125
- 5
- 11
2
votes
2 answers
Python Pyramid Shutdown Event
I'm new-ish to Python and Pyramid so apologies if I'm trying to do the wrong thing here.
I'm currently running a Pyramid application inside of a Docker container, with the following entrypoint:
pipenv run pserve development.ini --reload
This…

Kyle Bernstein
- 93
- 7
2
votes
1 answer
Logging with hug and waitress
I want to add logging to my Python hug REST app. I couldn't find any wayto do it when serving the app through the hug command (via hug -f app.py), therefore I try to combine hug with waitress.
My minimal app structure in the file app.py looks…

halloleo
- 9,216
- 13
- 64
- 122