Category "uwsgi"

Simple internal server error because running uwsgi keeps on deleting the .sock file

I'm trying to deploy my first Django application by following these steps. The problem I have is that, for some reason, running uwsgi --emperor venv/vassals/ --

Gunicorn sends info message Handling signal: winch

Why does Gunicorn send info message Handling signal: winch when application is idle? There is no error, as the application continues to respond, but when it is

Django subdomain rewrite using uwsgi on Google Cloud Run

I am moving a Django site to GCP and using Google Cloud Run for the first time. The experience is great. I was also very pleased with the domain mapping feature

"RuntimeError: implement_array_function method already has a docstring", trying to import numpy. How do I solve this?

I am trying to run a script importing numpy, and it shows this error: Traceback (most recent call last): File "C:/Users/<user>/pycharm/<my_project>

uwsgi error: "celery: not found" with celery run in a venv with attach-daemon2

If I run celery manually, from within my django app's virtual environment, it works: (hackerspace) 90158@hackerspace:~/hackerspace/src$ celery -A hackerspace_o

How do I pass env variables to uwsgi?

I have a WSGI handler configured under Apache and I'm defining some environmental variables in the Apache virtual host configuration. SetEnv APP_CONFIG "/var/l

Is uWSGI's reload-on-rss per worker/process?

Is uWSGI's reload-on-rss value per worker/process? The documentation only states: reload if rss memory is higher than specified megabytes For example, if

502 Bad Gateway upstream prematurely closed connection while reading response header from upstream with flask, uWSGI, nginx

how are you? I have a server on DigitalOcean with Ubuntu 16.04 I am making a Flask Application with uWSGI and Nginx. My files look like: wsgi.py: from flaskap

Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding, when trying to start uwsgi

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 di

uWSGI log format to capture request number and count

The default log format includes the request number and number of requests. However I don't see a way to reference those variables in a custom log format. Any i

python-requests making a GET instead of POST request

I have a daily cron which handles some of the recurring events at my app, and from time to time I notice one weird error that pops up in logs. The cron, among o

error linking uWSGI

i'm trying to compile uwsgi from pip on rhel6, but i get a linking error: can someone help please? $ sudo /usr/bin/pip install uwsgi ... *** uWSGI linking ***