Skip to main content

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.

1 vote
0 answers
402 views

No matter where I set my "Require all granted" block in my httpd conf, I keep running into these errors: [Thu May 30 10:55:16.510272 2024] [access_compat:error] [pid 1076428] [client 10.192....
itinneed2022_1's user avatar
0 votes
1 answer
1k views

I am trying to make two apps accessible on my LAN server (raspberry pi). lab_app: this one is a very simple app, made with flask from a third party, using a sqlite3 database, which results to be a ...
Tms91's user avatar
  • 105
0 votes
0 answers
317 views

I am attempting to get a Flask API running on Apache2 Server but I am getting a net::ERR_CONNECTION_REFUSED Since I am running the flask API on another server I am using a Proxy Reverse on my main ...
Elcid_91's user avatar
  • 151
0 votes
2 answers
518 views

I want to run SSL for web server https://www.domainname.com on port 443 and python REST api server https://mgmt.domainname.com with Flask. I have configured Apache SSL and it is running on 443. I ran ...
vrao's user avatar
  • 117
0 votes
0 answers
456 views

I am trying to get a django app running on a apache2 server both on a raspberry pi for a project of mine. The appache server is running but I can't pull up the web page as I just get an "Internal ...
907VigiL's user avatar
0 votes
1 answer
174 views

As the title says, the server has been configured to recognize sub directories but for whatever reason they are not being recognized when I load a web page. Is there any way to debug what is going on? ...
wookieluvr49's user avatar
0 votes
1 answer
623 views

At first: When i started nginx i see errors in log: unix:/root/project/flask_paramiko.sock failed (13: Permission denied) while connecting to upstream uwsgi.ini: [uwsgi] #chdir = /root/project ...
Explorethetruth's user avatar
0 votes
1 answer
602 views

On running apache2 configtest I get Syntax error on line 2 of /etc/apache2/sites-enabled/firstweb.conf: Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in ...
Ved Nig's user avatar
1 vote
0 answers
3k views

First things first, I would like to clarify that I am completely knew to debugging servers and deploying in general. I'm a student developer for my university and so far all of my work has been ...
JohnnyLeek's user avatar
8 votes
1 answer
10k views

In order to support automatic LetsEncrypt certificate renewal certbot uses the --apache handler. e.g. certbot renew --apache This handler installs a temporary VirtualHost for */.well-known/acme-...
Jay M's user avatar
  • 420
0 votes
1 answer
3k views

Here is a minimal WSGI script, importing a custom python module. It runs fine on a development environment (Mint 18.1, Apache 2.4.18, libapache2-mod-wsgi-py3), but fails when deployed to a test ...
rclyde's user avatar
  • 11
1 vote
1 answer
12k views

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 ...
Glandalf313's user avatar
3 votes
2 answers
2k views

Trying to get my Python/Django app working on a RedHat Server in an ideal setting. Could not use the mod_wsgi from the package as it has some dependency issue when checking for modules in my virtual ...
Evolutionary's user avatar
0 votes
1 answer
5k views

I'm trying to deploy a Flask app on IIS (usually doing it on an Nginx/Gunicorn stack). My stack I'm working with Python 3.7 installed globaly, IIS 10 on Windows 10 pro. What I tried Activating CGI ...
Glandalf313's user avatar
0 votes
3 answers
8k views

ISSUE: My Apache/httpd server will not launch. journalctl -xe reveals: Feb 27 01:50:12 localhost.localdomain httpd[4398]: AH00526: Syntax error on line 355 of /etc/httpd/conf/httpd.conf: Feb 27 01:...
Josh's user avatar
  • 131
2 votes
0 answers
3k views

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....
Basile Crumeyrolle's user avatar
0 votes
1 answer
87 views

I have successfully installed a pootle server in a localhost environment using the django default server following the instructions found here: http://docs.translatehouse.org/projects/pootle/en/stable-...
JohnRDOrazio's user avatar
0 votes
0 answers
756 views

I'm running an nginx as a reverse proxy and would like to serve apps running on an apache2 server. The app on the apache2 server is working and available via http://192.168.102:8080/ but I always get ...
thpetrus's user avatar
0 votes
1 answer
2k views

I wanted to run a flask application using nginx. I have gone through this tutorial and up to the point when I start service using wsgi from command line everything works fine (which means I can access ...
roblee's user avatar
  • 1
1 vote
0 answers
3k views

Having some trouble linking up Django + uWSGI + NGINX If I run the Django development server, the page works perfectly. If I run with: uwsgi --http 0.0.0.0:8134 --wsgi-file /test/test_project/wsgi....
user58446's user avatar
  • 141
0 votes
0 answers
2k views

i run a wsgi application under debian 8.9 / apache2 and the app (LinOTP) is not writing logfiles. I'm not shure if this is a problem of the app or from setup. I see errors in the apache error.log ...
chewbakka's user avatar
  • 401
0 votes
0 answers
987 views

I'm attempting to use lighttpd and fastcgi to run a small flask application. When I try to start lighttpd, it starts the server just fine, but when I try to connect in the browser, it hangs without ...
Michael's user avatar
  • 153
0 votes
0 answers
1k views

I have a simple python function that I need to run as a web service from a tomcat server. This is the setup I got as an external requirement from my client and I cannot change it. I've managed to make ...
mapto's user avatar
  • 133
1 vote
1 answer
690 views

I have created a web service using django, wsgi and nginx in ubuntu.(http://127.0.0.1:8000) . My network connection is NAT. I want to access to this web service from Linux in VMWare. How can I do this?...
Jasmine's user avatar
  • 243
1 vote
2 answers
2k views

I have datadog-agent installed on my Debian 8 server. It is already configured and works well to report metrics about postgres, nginx, system, etc. I want to monitor my gunicorn daemons (i have 2 ...
Antwane's user avatar
  • 195
1 vote
1 answer
414 views

Right now I've got a python2 django app deployed in my sever using apache2 and mod-wsgi. Now I want to deploy another one, but this is written in python3. My problem is that mod-wsgi is compiled to ...
Liam's user avatar
  • 241
1 vote
1 answer
2k views

Overnight django stopped working, possibly because of an automatic package upgrade on the server. Its wsgi script now fails to load in production, but running the development server works fine. What ...
frankster's user avatar
  • 121
0 votes
1 answer
341 views

I'm working with Python, Flask and Apache, and i'm stuck. when i try to visit mywebsite using www, it works fine. however, when i remove the www, the website is showing "index of /" with an empty list ...
buddha_buddha's user avatar
0 votes
3 answers
5k views

Trying to set up a Flask application with uWSGI and Nginx. I keep getting a 502 Bad Gateway error (as far as I know this means uWSGI and Nginx can't communicate correctly) This is the line that ...
Kyle Calica-St's user avatar
2 votes
0 answers
218 views

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 ...
in need of help's user avatar
0 votes
1 answer
488 views

According to official uWSGI docs : A web server faces the outside world. It can serve files (HTML, images, CSS, etc) directly from the file system. However, it can’t talk directly to Django ...
user2375245's user avatar
0 votes
1 answer
371 views

I've had a Flask/WSGI app running just fine on an Apache host for the last year. The httpd.conf is set up like this: ServerName myapp.com WSGISocketPrefix /var/run/wsgi WSGIScriptAlias / /var/www/...
DeeDee's user avatar
  • 333
17 votes
2 answers
24k views

I am trying to follow this tutorial to setup uWSGI with Django and nginx on Ubuntu16.04. It all works fine up until the very last step (oh the irony...) where I try to execute this command: sudo ...
Vlad Schnakovszki's user avatar
0 votes
1 answer
2k views

I'm trying to setup python / apache / WSGI on windows. I have the following installed, all 32-bit and vc9: Apache 2.4 Python 2.7.9 Mod_WSGI.so in the modules folder. http://localhost/ Displays the ...
some1's user avatar
  • 79
1 vote
1 answer
287 views

I'm hosting a simple wsgi application on httpd over CentOS 7 using mod_wsgi and trying to remove the isolation illustrated below. The wsgi app, The following script is my wsgi application. it ...
Jossef Harush Kadouri's user avatar
2 votes
0 answers
2k views

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 ...
Patjomkin's user avatar
4 votes
1 answer
2k views

I know that in order to run a Python web application(an application developed with frameworks such as Flask & Django) on the server, you need to deploy it using things such as uwsgi, wsgi.. ...
userofserver's user avatar
1 vote
0 answers
263 views

In Odoo 6.0, when downloading OpenERP, there are openerp web (for web server), and openerp server source code tarball separately. From version 6.1, they made it all-in-one, OpenERP is an HTTP web ...
Sam's user avatar
  • 21
1 vote
2 answers
2k views

I am getting a permissions issue when running django in daemon mode. Reading here https://code.google.com/p/modwsgi/wiki/ConfigurationIssues#Location_Of_UNIX_Sockets I think the solution is to ...
petey's user avatar
  • 582
1 vote
3 answers
1k views

I'm trying to connect to PostgreSQL Unix domain socket from a python web application with mod_wsgi. Relevant system components: CentOS 7 x64 Python 2.7.5 SELinux disabled PostgreSQL is listening on ...
xav's user avatar
  • 21
0 votes
1 answer
1k views

The docs for WSGIScriptAliasMatch https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIScriptAliasMatch are openly scary. Is there a way to say "Everything in this directory goes through ...
rosuav's user avatar
  • 101
1 vote
2 answers
528 views

I am struggling with a new Trac 1.0.3 install (from source after having same issue installing via easy_install). Debian 7.8 Apache 2.2.22 Python 2.7.3 Genshi 0.6 Sqlite 3.7.13 WSGI 3.3 I created the ...
user1801810's user avatar
1 vote
1 answer
1k views

Below, I'm trying to install mod_wsgi. [root@server]# ./configure --with-python=/usr/local/bin/python2.7 checking for apxs2... no checking for apxs... no checking Apache version... ./configure: line ...
User's user avatar
  • 1,425
1 vote
0 answers
226 views

I installed osqa with postgresql as backend on ubuntu 14.0.4 using the tutorial below http://wiki.osqa.net/display/docs/ubuntu+12.04,+django+1.3,+mod_wsgi,+virtual_env,+postgresql which asks to ...
Vishal Sharma's user avatar
0 votes
1 answer
802 views

I have a Python-application with a Bottle-webserver running with port 8080. Now i will connect Nginx to the Bottle-webserver with a wsgi-file. Now, i have a wsgi-file, but how can i execute this with ...
user avatar
0 votes
2 answers
1k views

I'm looking to install www.planetplanet.org in openshift. I've hosted a few php apps on openshift, but am not sure how python apps work. The openshift template gives me a wsgi.py file, which needs ...
gopher's user avatar
  • 1
2 votes
0 answers
668 views

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's user avatar
  • 241
1 vote
0 answers
244 views

I installed mod_pagespeed on my server and it's working as far as the page header is concerned: X-Mod-Pagespeed:1.7.30.5-3847 The problem is that it's doing nothing else. No whitespace or comment ...
Designer023's user avatar
0 votes
1 answer
2k views

I am trying to run uwsgi.ini file with uwsgi --ini uwsgi.ini and it gives me an error The -s/--socket option is missing and stdin is not a socket. [wsgi.ini] socket=0.0.0.0:8001 chdir=/home/ubuntu/...
rodling's user avatar
  • 121
1 vote
1 answer
2k views

I'm having a weird problem where a flask application I am trying to run (https://github.com/pyfarm/pyfarm-master) under mod_wsgi under Apache under CentOS 7 cannot connect to a local postgresql server ...
guidow's user avatar
  • 13