Questions tagged [wsgi]

Web Server Gateway Interface is a specification for web servers and application servers to communicate with web applications. It is a Python standard, described in detail in PEP 333.

WSGI is the Web Server Gateway Interface. It is a specification for web servers and application servers to communicate with web applications (though it can also be used for more than that). It is a Python standard, described in detail in PEP 333.

123 questions
3
votes
1 answer

Nginx + Django + FastCGI WSGI error? (Non fatal)

I am running django on top of nginx with fastcgi. When i do runfcgi, I am seeing these errors: python manage.py runfcgi daemonize=false host=127.0.0.1 port=8000 WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing…
xjq233p_1
  • 243
  • 2
  • 6
2
votes
0 answers

Timeout when reading response headers from daemon process 'horizon': /opt/stack/horizon/openstack_dashboard/wsgi.py

When trying to allocate a floating IP in openstack (on Ubuntu 18.04.1), I'm getting this error. "Danger: There was an error submitting the form. Please try again" In /var/log/apache2/horizon_error.log, I can see the following message. 2019-01-30…
2
votes
0 answers

Apache with python wsgi reaches MaxRequestWorkers and becomes unresponsive

I have an application running on apache under Ubuntu (tried 12 and 14) using python via WSGI. When I get a little too much traffic I see "server reached MaxRequestWorkers..." in the error log, I will of course take care of enlarging the amount of…
2
votes
0 answers

recv not ready (11: Resource temporarily unavailable)) (nginx/1.1.19, supervisorctl, gunicorn )

I have site on Ubuntu 12.04.5 LTS, django (supervisorctl, gunicorn). It work 1 year without problems, but today my zabbix server sending me messages about alerts (every 3-7 minutes) about timeout (for 1-2 second). I run debug mode for…
Patjomkin
  • 21
  • 3
2
votes
0 answers

Configuring mod_wsgi daemon mode processes and threads

I am planning to use mpm_worker or mpm_event with daemon mode of mod_wsgi. How to configure processes and threads of WSGIDaemonProcess directive for the optimal performance of apache 2.4.9
eldos
  • 241
  • 2
  • 5
2
votes
1 answer

How to install moinmoin-2 on dreamhost

How to install moinmoin-2 on dreamhost? I'm putting this here, so I can find it in the future. Maybe it is useful to other people too. I found it challenging because: it needs python2.7, and dreamhost has 2.4, 2.5, 2.6 it needs Flask, which I've…
Hugh Perkins
  • 1,075
  • 7
  • 9
2
votes
1 answer

Apache running Python with mod_wsgi

I need help setting up a local Apache2 to run Python. Got it to work just fine with html, php and mysql on my Mac running Mountain Lion. Python running. Installed mod_wsgi through MacPorts and checked that it got loaded by Apache after adding the…
MartinR
  • 123
  • 1
  • 3
2
votes
1 answer

Python, IIS scripts, and user accounts

This isn't a question on my specific problem, as I've got that more or less solved, but about IIS/Python and user accounts in general. I have python scripts that I'm running with IIS 7.5 (Mercurial using the hgweb.wsgi script). One of the plugins…
carpat
  • 1,035
  • 2
  • 8
  • 14
2
votes
1 answer

How can I control log messages for Apache (specifically, auth_mysql module & WSGI)?

On an Ubuntu 10.04 server w/ Apache2, I have auth_mysql turned on, and I am getting [debug] messages showing up. How can I turn these off? I'm guessing there is a way to turn this off for the module, as well as for all 'debug' messages. I am…
Dolan Antenucci
  • 329
  • 1
  • 4
  • 16
2
votes
2 answers

How do I get Apache to run Python 2.7 rather than 2.5?

How do I get Apache to run 2.7 rather than 2.5? I'm configuring Apache to use mod_wsgi with Django and Python 2.7, but error logs show Apache is using Python 2.5.2 and can't find django.core.handlers.wsgi. The module is available to the python and…
chernevik
  • 725
  • 3
  • 10
  • 19
2
votes
1 answer

Mutli-Site uWSGI config

I have about a dozen small Django sites I want to run using Nginx and uWSGI. They are on a 4-core server with 8 gigs of ram. Should each site be configured on its own socket and how can I control the total number of processes across all instances of…
Jason Christa
  • 622
  • 4
  • 11
  • 21
2
votes
1 answer

How can Django/WSGI and PHP share / on Apache?

I have a server running an established PHP site, as well as some Django apps. Currently, a VirtualHost set up for PHP listens on port 80, and requests to certain directories are proxied to a VirtualHost set up for Django with WSGI. I'd like to…
Mark Snidovich
  • 133
  • 1
  • 5
2
votes
1 answer

Django Deploy Reccomendations

I have a Web application provided in SaaS way... (each client has his own sub-domain and his own database). My app uses Django Python and Postgresql. Right now is hosted on a linux shared hosting plan, using Apache, and mod_wsgi, but I am migrating…
quarry32
  • 255
  • 2
  • 11
2
votes
1 answer

HTTP 500 error from POST reuqest to django vai WSGI and apache

Ive got a Django web application setup with mod_wsgi and apache2 on ubuntu 9.10 Im using the following code to o a user authentication via a HTTP post for another part of my site. All it required back is a HTTP 200. from django.contrib.auth import…
Mark
  • 573
  • 6
  • 15
1
vote
1 answer

How to deploy a WSGI/Python app behind Nginx on Windows?

Coming from the Linux environment, I'll try to be as accurate as possible with Windows concepts I clearly don't master. Here's my current situation: I have a functional Windows (10 pro x64) Nginx setup It's working well on https, using the…
Glandalf313
  • 13
  • 1
  • 2
  • 8
1 2
3
8 9