Questions tagged [uwsgi]

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

The uWSGI project

The uWSGI project aims at developing a full stack for building hosting services.

Application servers (for various programming languages and protocols), proxies, process managers and monitors are all implemented using a common api and a common configuration style.

Thanks to its pluggable architecture it can be extended to support more platforms and languages.

Currently, you can write plugins in C, C++ and Objective-C.

The “WSGI” part in the name is a tribute to the namesake Python standard, as it has been the first developed plugin for the project.

Versatility, performance, low-resource usage and reliability are the strengths of the project (and the only rules followed).

Github Docs

343 questions
0
votes
0 answers

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 request to /api endpoint checks all directories…
0
votes
0 answers

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 import error) *** no app loaded. going in full…
Yierith
  • 1
  • 1
0
votes
1 answer

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 --http :9090 --virtualenv…
Jaap Joris Vens
  • 561
  • 2
  • 7
  • 18
0
votes
1 answer

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 80; listen [::]:80; server_name…
Biswajit
  • 101
  • 2
0
votes
1 answer

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] 2688#2688: *4 connect() to…
posop
  • 205
  • 1
  • 7
0
votes
0 answers

nginx error 500 when making api request to backend container

I am having trouble in setting up a system that consists of an nginx set up as a reverse proxy processing https requests on a Virtual Machine that is livin on my local computer. This reverse proxy works with components that are all docker containers…
0
votes
0 answers

/myproject.sock failed (111: Connection refused) while connecting to upstream,

Iam serving flask by nginx and uwsgi but i am getting a permission error Iam newbie with nginx /var/log/nginx/error.log *1 connect() to unix:///usr/share/nginx/html/myproject/myproject.sock failed (111: Connection refused) while connecting to…
-1
votes
1 answer

How to permanently have /xxx sub domain

I have several applications running on the same cluster and want to set up a subdomain for each application. To give you a brief description of current set up, I have a Django app, Jira, and Gitlab running in a cluster. It would be nice I can…
Jason Marsh
  • 107
  • 1
-1
votes
1 answer

Error: "invalid number of arguments in "uwsgi_param" directive" on nginx restart

CentOS 6.6, nginx 1.0.15. I'm trying to configure nginx <-> uwsgi <-> Django stack, using this tutorial. The nginx conf file is: upstream django { server 127.0.0.1:8001; } server { listen 8000; server_name 0.0.0.0; # an IP address…
Vadim Tikanov
  • 101
  • 1
  • 6
-1
votes
1 answer

centos8 nginx uwsgi socket permission denied

I've configured uwsgi and nginx to work through socket(chmod 777) which is located in user home dir, but nginx can't access the socket(13: Permission denied in error.log). Tried moving socket to /tmp/ with 777 chmod, but then received error 2: No…
dav
  • 3
  • 2
-2
votes
1 answer

Nginx Internal Server Error

I am new to NGINX and uwsgi and Im deploying my first python web application. Having tried numerous times, I get an internal server error. There may be something wrong with my configurations but i can't see what! I have posted the contents of my…
Jlearner
  • 19
  • 2
-2
votes
1 answer

idle proccesses and high memory bad? uwsgi/django

I have a VPS with 256MB of ram. I'm running nginx, uwsgi and postgresql on Ubuntu 12.04 for a soon to be Django site. About 200MB of ram are being used despite the website not being active, the uwsgi processes seem to just be idling. Is this bad? I…
-2
votes
1 answer

Hosting Multiple Django Websites on a VPS

I'm moving away from WordPress and into bespoke Django websites. I've settled on Django as my Python framework, my only problems at the moment are concerning hosting. My current shared hosting environment is great for WordPress (WHM on CloudLinux),…
1 2 3
22
23