Questions tagged [waitress]

Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance.

190 questions
0
votes
2 answers

waitress+flask+gcloud how to set it up server

I have been trying to deploy a basic app to google engine app(because Azure is an extortion) for the past few days, I have learned that Gunicode does not work on windows system and that the alternative is waitress. I read all the answers related to…
ReinholdN
  • 526
  • 5
  • 22
0
votes
0 answers

How to run waitress on Django app deployed on Heroku with specified port on windows

I am trying to host my django app using heroku and waitress package in windows environment. I have defined the profile for running wsgi application . Where do I need to define the correct port and run the heroku app? This is for a new windows…
priya
  • 158
  • 5
  • 16
0
votes
1 answer

How to replace localhost in emails with correct domain for django reset password?

I am serving a django app with a reverse proxy via nginx. The app runs locally under localhost:8686 which is mapped to example.com. So the correct link to reset a password would be something…
Soerendip
  • 7,684
  • 15
  • 61
  • 128
0
votes
1 answer

Adding domain path to django html templates

I am serving a django app with a combination of nginx reverse proxy and waitress. In the nginx configuration the app is linked via a location: location /app/ { proxy_pass http://localhost:8686/; } While the app runs on via waitress…
Soerendip
  • 7,684
  • 15
  • 61
  • 128
0
votes
1 answer

How to do reverse proxy on waitress server for Python Flask Application

I am a newbie in web deployment and I have a flask application which is being hosted at 0.0.0.0:5070. Now I want to do the reverse proxy and be able to direct a certain hostname (bound to server IP) to this port. I have tried the Waitress…
Seemab Hassan
  • 51
  • 1
  • 1
  • 5
0
votes
1 answer

API calls running twice using Waitress and Flask

I've created an API using Flask. I followed the factory pattern of Flask documentation - the rules and names will be abstracted. (__init__.py of my_package) With the package and factory method done, I imported it into another file outside the…
0
votes
1 answer

Errors with deploying website using Heroku/Flask Server

I am trying to deploy a website using Flask/SQLAlchemy to host my data base using waitress. I did try to follow this link but I don't think my file structure is the same Heroku + node.js error (Web process failed to bind to $PORT within 60 seconds…
xl95z1
  • 11
  • 2
0
votes
1 answer

IP binding in Openshift 3 Python

I am trying to migrate from Openshift 2 to 3 and I am stuck a few lines in. In a running a Python3 Pyramid with Waitress server as copied from a Openshift Pyramidstarter template. The problem arises from different keys in os.environ. from waitress…
Matteo Ferla
  • 2,128
  • 1
  • 16
  • 27
0
votes
1 answer

Kallithea loads js dependencies very slowly

I'm running a local Kallithea server in a docker container. When we load the first time in Firefox or Chrome, it takes ages to load. It seems the loading of dependencies hangs on the jQuery or YUI js files. Once the dependencies are cached it loads…
Alex H
  • 190
  • 1
  • 9
0
votes
0 answers

Waitress - Print exceptions/stack traces to console?

How can one go about getting Waitress to print exceptions/stack traces of any and all errors to the console? Right now, Waitress seems to swallow up any exceptions not in application code. For example, I was working with some middleware code, and…
Brownbay
  • 5,400
  • 3
  • 25
  • 30
0
votes
1 answer

Constructing an Upstart file for python-waitress

I have a Django app running gunicorn - I now want to replace it with waitress. Easy enough, I installed waitress via apt-get install python-waitress, and ran it via waitress-serve --port=8080 myproject.wsgi:application. Now I want to set this up to…
Hassan Baig
  • 15,055
  • 27
  • 102
  • 205
0
votes
1 answer

Django whitenoise versioning not working

I am using whitenoise with waitress to serve my static files, but I could not get it to use the versioned static file. For example, if I have a foo.js, after I run collectstatic, whitenoise creates the following files in my static…
Safecoder
  • 1,035
  • 2
  • 17
  • 32
0
votes
2 answers

How does Heroku determines the number of web processes to run per dyno?

I'm using Heroku to host a django application, and I'm using Waitress as my web server. I run 2 (x2) dynos, And I see in New Relic instance tab that I have 10 instances running. I was wondering How does Heroku determines the number of web server…
OmriToptix
  • 1,219
  • 1
  • 15
  • 22
0
votes
1 answer

Server error when pyramid app hosted with production.ini

I have a pyramid project that works fine when hosted with development.ini, but as soon as I use production.ini I get this error in browser: Internal Server Error The server encountered an unexpected internal server error (generated by waitress) and…
Roman
  • 8,826
  • 10
  • 63
  • 103
0
votes
2 answers

Pyramid Mako pserver --reload not reloading in Mac

I've a strange issue. pserve --reload has stopped reloading the templates. It is reloading if some .py-file is changing, but won't notice .mak-file changes anymore. I tried to fix it by: Checking the filepermissions Creating the new virtualenv,…
Heikki Mustonen
  • 301
  • 3
  • 15
1 2 3
12
13