waitress Questions

9

I am able to run a webserver using the following code from flask import Flask from waitress import serve app = Flask(__name__, static_url_path='/static') ... serve(app, port=8080) The problem i...
Goldschmidt asked 26/6, 2018 at 14:56

3

I have the idle timeout set to 60 minutes. However, tests with a Python client talking to a Python server, the connection resets by peer approx 5 mins of inactivity when sending POST. The activity ...
Geithner asked 26/5, 2022 at 14:42

4

Solved

Is there a recommended way to diagnose the cause of task queue depth warnings like the one below from waitress? Perhaps there is some way to log queued tasks / requests? 2019-04-25 14:45:23,048 ...
Ludwig asked 25/4, 2019 at 20:20

2

Solved

I'm trying to build a python webserver using Django and Waitress, but I'd like to know how Waitress handles concurrent requests, and when blocking may occur. While the Waitress documentation men...
Secondguess asked 21/1, 2020 at 9:53

1

Solved

I have a Python3 project using waitress to serve on localhost on WSL2/Ubuntu 20. I start the server from VSCode remote but I can't connect to it from a browser on Windows using address http://127.0...

1

Solved

Problem description I am trying to create a Flask app that should: Be visible on localhost only, so no network slowdown Get quite a lot of data (30MB as a large numpy array) as input and output a ...
Vibraculum asked 11/6, 2021 at 13:54

2

I need log http-requests to a file in a Waitress server running a Flask application. I wanted to separate the Flask app from the server so I created a file myapp_waitress.py from myflaskapp impo...
Lody asked 12/11, 2019 at 15:14

1

Is there a way to log waitress-serve output into a file? The current command I use is: waitress-serve --listen=localhost:8080 --threads=1 my_app_api:app The application we used was not written...
Janaye asked 17/9, 2018 at 16:30

5

Solved

I am trying to switch from Gunicorn to Waitress on Heroku. In the logs, I keep getting an error from Waitress: Error: Bad module 'cardisle' In my procfile, I have: web: waitress-serve --port=$P...
Bonnee asked 2/4, 2014 at 19:51

3

I am building an API that uses Waitress, Flask, and Flask_SocketIO in Windows. Everything works fine from the command line, but when I try to bundle my API into an .exe using cx_Freeze and then run...
Transient asked 11/1, 2019 at 16:54

0

I have the flask app serving in waitress in windows, I have logger info app = Flask(__name__) logging.basicConfig(level=logging.ERROR) @app.route('/run', methods=['POST']) def RunFunction(): …………...
Disapproval asked 11/8, 2020 at 6:42

2

I am using waitress to serve the web application content like. waitress-serve --port=8000 myapp:application While developing, as I change code, I continuously had to restart the waitress-serve to...
Uptotheminute asked 23/4, 2016 at 23:26

1

Solved

How do I run my Flask app which uses SSL keys using waitress. The SSL context is specified in my Flask's run() as in app.run(ssl_context=('cert.pem', 'key.pem')) But app.run() is not used when usi...
Casemate asked 30/4, 2020 at 0:49

2

I've read some posts from 2013 that the Gunicorn team was planning to build a threaded buffering layer worker model, similar to how Waitress works. Is that what the gthread async worker does? The g...
Oblast asked 6/5, 2015 at 0:9

1

Solved

I have managed to cobble together a working demo of a pywin32 Windows service running Flask inside the Pylons waitress WSGI server (below). A niece self contained solution is the idea... I have spe...
Alwyn asked 24/1, 2020 at 9:39

2

I'm using Python and Flask, served by Waitress, to host a POST API. I'm calling the API from a C# program that posts data and gets a string response. At least 95% of the time, it works fine, but so...
Inept asked 22/9, 2019 at 13:48

1

Solved

i've started making an API using Falcon on Ubuntu and I've been using gunicorn to test it but I also want to try developing it on Windows too. As we know gunicorn doesn't work on Windows yet so I ...
Whatever asked 1/3, 2016 at 16:23

1

Solved

I am spinning up a Waitress web server in a background thread to run functional tests. How it is possible to clean up and quit waitress at the end of test run in clean(ish) manner? The public waitr...
Urbannai asked 17/9, 2015 at 1:41

2

Solved

I am trying to setup logging for a Python Pyramid Waitress Server. I have followed the docs here: Pyramid logging and here: Pyramid PasteDeploy logging. I have tired both methods which have yield n...
Quitclaim asked 27/12, 2013 at 19:23

1

Solved

I have tried the tutorial of python pyramid framework but, https connection, no matter how able to waitress. http://docs.pylonsproject.org/projects/pyramid/en/latest/tutorials/wiki2/installation.ht...
Haland asked 19/10, 2013 at 6:3
1

© 2022 - 2025 — McMap. All rights reserved.