uwsgi Questions

7

I have a website running with NGINX + uWSGI + Flask. The website runs fine most of the time, however every now and then it gets into a state where the pages returned by nginx just show "Internal S...
Impermissible asked 12/5, 2018 at 11:20

1

I'm running a dev uwsgi server using flask and a call to requests.get is triggering a segmentation fault in the uWSGI process. Segmentation Fault: !!! uWSGI process 70490 got Segmentation Fault !...
Hagerty asked 26/2, 2016 at 11:28

4

Solved

I get the below error when I try and start Flask using uWSGI. Here is how I start: > # cd .. > root@localhost:# uwsgi --socket 127.0.0.1:6000 --file /path/to/folder/run.py --callable app - -...
Northington asked 19/8, 2012 at 23:30

7

I am currently ALWAYS getting a 502 on a query my users are doing... which usually returns 872 rows and takes 2.07 to run in MySQL. It is however returning a LOT of information. (Each row contains ...
Vacla asked 28/2, 2014 at 23:25

5

Solved

I got an error,Failed building wheel for uwsgi. My environment is Ubuntu,now I wanna install uwsgi,so I run command pip install uwsgi.But error happens Traceback (most recent call last): Fi...
Carline asked 18/12, 2017 at 12:6

4

Solved

I think I've really screwed something up. On my django app (the production one) I pushed a major update and am get an "Internal Server Error" whenever I try to go to my domain. I am getting an erro...
Contentment asked 29/1, 2015 at 0:52

5

Solved

I'm running my Flask application with uWSGI and nginx. There's a 500 error, but the traceback doesn't appear in the browser or the logs. How do I log the traceback from Flask? uwsgi --http-socket ...
Luna asked 22/9, 2015 at 16:32

5

Solved

I'm trying to add a custom error page for 503. I added these lines to server conf in nginx.conf file: error_page 500 502 503 504 /50x.html; location = /50x.html { root /home/username/sites/myProje...
Sloth asked 22/12, 2014 at 21:53

3

I have a django application running with uwsgi (with 10 workers) + ngnix. I am using apscheduler for scheduling purpose. Whenever i schedule a job it is being executed multiple times. From these an...
Guppy asked 31/8, 2016 at 15:25

12

Solved

I created an endpoint on my flask which generates a spreadsheet from a database query (remote db) and then sends it as a download in the browser. Flask doesn't throw any errors. Uwsgi doesn't compl...
Ovariectomy asked 10/12, 2014 at 8:23

3

Solved

While hitting a REST resource (my_resource) in Python, the uWSGI server is throwing the following error in its log: SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) o...
Kharkov asked 10/6, 2014 at 5:12

3

I have a docker container running a python uwsgi app. The app sends a wake on lan broadcast packet to wake a pc in the local network. It works fine without the use of docker (normal uwsgi app dire...
Roane asked 13/10, 2015 at 11:33

2

I'm trying to build a "base" docker image for running a python framework with uwsgi. The goal is to have others build their own docker images where they dump their application logic and any configu...
Saskatchewan asked 13/11, 2018 at 14:30

30

Solved

I'm using: Python 3.4.2 PyMongo 3.0.2 mongolab running mongod 2.6.9 uWSGI 2.0.10 CherryPy 3.7.0 nginx 1.6.2 uWSGI start params: --socket 127.0.0.1:8081 --daemonize --enable-threads --threads 2...
Anthropocentric asked 24/6, 2015 at 15:11

3

My setup includes Load Balancer (haproxy) with two nginx servers running Django. Server 2 works fine but sometimes server 1 will start crashing and log will be full of *** uWSGI listen queue of soc...
Bursa asked 2/6, 2018 at 12:46

24

I have an error message on Django 1.4: dictionary update sequence element #0 has length 1; 2 is required It happened when I tried using a template tag like: {% for v in values %}: dictionary updat...
Dickens asked 12/7, 2013 at 8:32

5

Solved

Background: I am in the process of deploying a Django site and from my understanding and research, I needed to get a web server, a WSGI protocol interface to actually run said python code and 'comm...
Coot asked 3/10, 2018 at 8:36

2

Solved

I've django app host using nignx-uwsgi. Here is my uwsgi configuration: [uwsgi] master = true socket = /var/uwsgi/uwsgi.sock chmod-socket = 666 chdir = /home/ubuntu/test wsgi-file = /home/ub...
Patentee asked 16/6, 2017 at 5:52

8

Solved

I am trying to start my uwsgi server in my virtual environment, but after I added plugin python3 option I get this error every time: !!! Python Home is not a directory: /home/env3/educ !!! Set Pyth...
Fleck asked 7/12, 2020 at 15:51

1

My question is very similar to uWSGI raises OSError: write error during large request I have a python flask app running on EC2. To enable download of files from the UI interface (by clicking a butt...
Psychopath asked 5/5, 2021 at 19:14

6

On my Fedora workstation, I'm getting this error: !!! UNABLE to load uWSGI plugin: ./python3_plugin.so: cannot open shared object file: No such file or directory !!! But on the server (CentOS Li...
Malamud asked 8/1, 2017 at 17:1

5

I noticed that Synology's native webstation which uses uwsgi framework, has recently added support for python script. I was wondering if someone can help me figure out a simple hello world example....
Exarate asked 13/6, 2022 at 1:59

13

Solved

Just want to help somebody out. yes ,you just want to serve static file using nginx, and you got everything right in nginx.conf: location /static { autoindex on; #root /root/downloads/boxes/; a...
Absorbefacient asked 29/5, 2013 at 8:21

11

Solved

Well I am currently trying to get my django application served using nginx and uwsgi. I am currently using a virtual environment to which uwsgi is installed. However I am currently getting a 502 ba...
Digital asked 27/2, 2014 at 14:38

1

I don't know if "queue time" is the right term for what i'm trying to log, maybe TTFB (time to first byte) is more correct. I'm trying to explain better with a test I did: I wrote a little python ...
Hardcastle asked 20/9, 2017 at 10:37

© 2022 - 2025 — McMap. All rights reserved.