Questions tagged [uwsgi]

Questions regarding uWSGI which is a full stack for building hosting services

Filter by
Sorted by
Tagged with
0
votes
0answers
68 views

Nginx + uWSGI + Flask Connection Reset

Problem I have a Flask app deployed using Elastic Beanstalk's "Single Container Docker" platform (latest revision 3.2.5 at the time of writing), with an "Application Load Balancer" ...
0
votes
0answers
25 views

Is it possible to define “excludes” for check-static in uwsgi settings?

I have an application which I don't want to modify. It has multiple directories with static files which are defined as static via check-static directive in uwsgi's .ini-file. My problem is that each ...
1
vote
0answers
39 views

Invalid Request Block Size with Nginx and USWGI

I am trying to load balance 2 Python apps using Docker and Nginx. App 1 is run using UWSGI and App 2 is run using default Python Server (I used default server for App 2 just for testing purposes. At ...
0
votes
0answers
55 views

uWSGI cannot find “application” using Flask and Virtualenv

This is the error im getting using uwsgi on my webserver *** Operational MODE: single process *** ModuleNotFoundError: No module named 'app' unable to load app 0 (mountpoint='') (callable not found or ...
0
votes
0answers
20 views

UWSGI: uwsgi_response_write_body_do() TIMEOUT

I've HA UWSGI Django When I've a large file in a streaming response, if the client is slow the connection stops and i see that log in the messages uwsgi_response_write_body_do() TIMEOUT !!! OSError: ...
1
vote
0answers
55 views

How to use UNIX domain sockets behind Apache / mod_proxy_uwsgi?

On my development system I'm running a Flask WSGI application with uwsgi and nginx. However on the production server I need to use Apache instead of nginx, so I'm trying to do that. In nginx the site ...
0
votes
0answers
11 views

I not see changes on my Django project

I have the server Nginx+uwsgi. Uwsgi working as emperor. After I change py file in vassal Django project. In production nothing changed. I try to touch vassal ini file in turned on master, but aslo ...
1
vote
1answer
24 views

uWSGI on ubuntu 18 suddenly fails when --never-swap specified

I use uWSGI on ubuntu 18 (18.04.5 LTS). Very recently this stopped working - I'd get this error on startup: Fatal Python error: Cannot recover from MemoryErrors while normalizing exceptions. Nothing ...
0
votes
1answer
201 views

Why is my virtualenv not activated by uwsgi?

On a fresh install of Debian Bullseye I am unable to use the uwsgi command. It fails to load the requested virtualenv. This is the command that fails: uwsgi --plugins http,python3 --wsgi-file wsgi.py -...
1
vote
1answer
219 views

uwsgi vassal does not use virtualenv

I am running a python application started by an uwsgi emperor. The application is supposed to run in a specific venv, but I cannot get that to work. The ini file for the application specifies a venv ...
0
votes
0answers
23 views

uwsgi option to force verify plugin

Please, is there any option to force uWSGI die immediately, when loaded plugin is not OK, path is wrong, etc... ? I started to use plugin for custom json-safe variables (https://medium.com/velebit-ai-...
0
votes
1answer
349 views

HAProxy + uwsgi all connection “Connection reset by peer”

I've a problem with UWSGI + HAProxy. for all the connections that get closed, i see this log in uwsgi file [uwsgi-http key: client_addr: 192.168.173.250 client_port: 57002] hr_read(): Connection ...
0
votes
1answer
294 views

Unable to connect flask app by public ip and domain using ubuntu, nginx, uwsgi

I am a beginner in web developement, trying to deploy my flask app in oracle cloud with ubuntu 18.04, nginx, uwsgi and flask. nginx config is default. myapp.config for server is: server { listen ...
1
vote
0answers
74 views

Multiple “Location” sections with different handlers aren't combined anymore in apache2 after upgrade

I have a website with the following configuration: <VirtualHost *:80> ServerName example.it <Location /> SetHandler uwsgi-handler uWSGISocket /var/sitedir/moin.sock </...
0
votes
1answer
163 views

flask app served by nginx uwsgi returns 502

I cannot connect to a flask app (searx search engine) served by nginx and uwsgi. My web server shows "502 Bad Gateway nginx" Here is my nginx error: error log: /var/log/nginx/error.log [crit]...

15 30 50 per page
1
2 3 4 5
23