Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance.
Questions tagged [waitress]
190 questions
0
votes
2 answers
docked flask / waitress.serve not visible in local network
I have my server running under docker and start it with the command serve(app, listen='*:5000').
I can:
access it in container under both 127.0.0.1:5000 amd localhost:5000
access it from outside the container under localhost:5000
I…

Chris
- 570
- 2
- 9
- 19
0
votes
1 answer
Python Flask Web application not able to deploy on Heroku using Waitress server
I am trying to deploy my Flask application on Heroku PaaS Cloud Service. It, however, works on localhost with no errors. I am using git for version control and pushing to Heroku. Initially, as a web server, I used 'gunicorn' but later came to know…

ranjir
- 3
- 3
0
votes
2 answers
How to properly configure NGNIX for SSL for flask application using waitress
I have a simple flask app I'm using waitress/nginx to serve/host
these rules work as expected with SSL
server {
listen 443 ssl;
listen [::]:443 ssl;
include snippets/number2.conf;
include snippets/ssl-params.conf;
root…

apexprogramming
- 403
- 2
- 14
0
votes
1 answer
Linking app.route to app.layout in Flask/Dash under waitress
I have tried to find an answer to this, but have been unsuccessful. I think I lack the understanding as to what is going on.
I have a dash app, and am trying to deploy to a server. I've wrapped it in Flask and am using waitress to serve it up.
The…

Rory O'Connell
- 76
- 6
0
votes
0 answers
waitress-serve --call 'helloweb:app' giving module exception
I am not an expert in python. I am trying to create a sample web application and I could run it with flask. However, after packaging it and trying to install it using waitress I am getting the error -
No module named helloweb.py (that is my web…

user4002112
- 141
- 1
- 2
- 18
0
votes
0 answers
Alternative to using werkzeug to integrate Plotly Dash to an existing Flask App?
I currently have a flask app hosted on a waitress production server. I'd like to integrate plotly dash into my application without using werkzeug but cannot find any resources on how to do this.
The existing werkzeug solution:
from werkzeug.wsgi…

Yaakov Bressler
- 9,056
- 2
- 45
- 69
0
votes
1 answer
how to use waitress serve to call a flask code
I am using below code with flask and name is app1.py
app = Flask(__name__)
api = Api(app)
#Class to create fileshare
class FileShare(Resource):
def post(self):
# Get JSON arguments from Payload shared NAS path, directorname groupname…

goe
- 337
- 2
- 14
0
votes
2 answers
How do I link an already existing domain to a Windows Server 2019 VPS
I have a Django project running with Nginx and Waitress on my Windows VPS. I want to make it accessible to the public with a domain name. I am completely clueless on how to go about it, although I have pointed my domain's A record to the Public IP…

Khrafts
- 3
- 2
0
votes
1 answer
Not Found page when waitress start
I get this error when I access the default page after starting the flask server using the waitress.
The code is:
from app import app
from waitress import serves
if __name__ == '__main__':
serves (app, host = "0.0.0.0", port = 8080)
I access…

Felipe
- 11
- 7
0
votes
1 answer
Multithreading with Python/Flask/Waitress resulting in duplicate outputs
I have a Python Flask Server that is given doc files on one route, saves them to a job specific folder, and then when all .docx files are uploaded a new route triggers a batch, multi-threaded job to convert them to PDF.
The issue is if I send a…

Mark Johnson
- 26
- 3
0
votes
2 answers
flask Working outside of request context. but I don't think I am
import flask
from flask import request
from pacfiletesterAPI import PacFileTester
from urlparse import urlparse
from flask import jsonify
app = flask.Flask(__name__)
#app.config["DEBUG"] = False
@app.route('/pac')
def pac():
r =…

Spyderz
- 19
- 1
- 4
0
votes
1 answer
How to serve Tornado with Django on waitress?
I have this tornado application wrapped with django function as WSGI app (using in windows)
from django.core.wsgi import get_wsgi_application
from django.conf import settings
from waitress import serve
settings.configure()
wsgi_app =…

hanzgs
- 1,498
- 17
- 44
0
votes
1 answer
Random NoTransaction in Pyramid
I'm having trouble identifying the source of transaction.interfaces.NoTransaction errors within my Pyramid App. I don't see any patterns to when the error happens, so to me it's quite random.
This app is a (semi-) RESTful API and uses SQLAlchemy and…

phrfpeixoto
- 191
- 1
- 2
- 11
0
votes
1 answer
Flask / Waitress server randomly going to 100% CPU usage after time
I have a little flask webserver with just one route. The connection is kept open and streams data to the client for as long as the client doesn't stop the connection.
I'm using waitress multiple threads, so it doesn't block.
Now the problem. After…

itsame
- 171
- 4
- 14
0
votes
0 answers
nginx allows https inside server but not outside
I've a Django web app running using Waitress as a server. The server's firewall is set to allow HTTPS inbound traffic.
However, with the settings described below I cannot access the HTTPS site outside of the server itself. Yesterday I had no issue…

Jon
- 2,373
- 1
- 26
- 34