All Questions
2,119
questions
0
votes
1
answer
35
views
Django with gunicorn: sending requests - concurrency
We've got a Django application configured with gunicorn. That means several workers are processed in parallel. Now for some functionality we need to call a service for reverse geocoding looking ...
0
votes
0
answers
25
views
i want to deploy a djago project, using gitlab cicd. but i see "module not found error".but the path seems to be set correclty
I am currently working on a django project and need to deploy this to the server. I use gitlab for ci/cd purpose. for requests, i use the gunicorn and the nginx. i dockerized the nginx and the '...
0
votes
0
answers
17
views
AWS Gunicorn configuration Amazon Linux Work not properly
enter image description here
This image is show problem.
When i run gunicorn service with this configuration.
GNU nano 5.8 pair....
0
votes
1
answer
28
views
gunicorn issues with ModuleNotFoundError when deploying DRF project to Render due to
DRF project is running in development environment, expects to deploy to Render through yaml. The error message is as follows:
==> Running 'gunicorn core.wsgi:application'
Traceback (most recent ...
-1
votes
0
answers
36
views
How I Can Fix Django Deployment Error With Media Files and WhiteNoise
I set up my Django project with nginx, gunicorn, and whitenoise, using a Ubuntu environment.
When I upload an image to my server, everything turns out excellent, but when making the request, it gives ...
0
votes
1
answer
45
views
When deploying Django to prod, Gunicorn lives in the virtual environment, but we deactivate the virtual environment when we go live with Nginx
I've been following a few tutorials online on how to setup Django, Postgres, Gunicorn and Nginx in production. I noticed that it is always recommended to install all Python dependencies inside the ...
0
votes
0
answers
51
views
ModuleNotFoundError: No module named 'photo_app.wsgi'
I'm trying to deploy my Django application using Gunicorn and systemd on an Ubuntu server. However, the Gunicorn service fails to start with the following error.
**ModuleNotFoundError: No module named ...
0
votes
0
answers
17
views
gunicorn: command not found when hosting on Railway
I am new to Django and hosting web applications, and I am trying to host my first one using Railway. The application successfully builds and deploys for about 5 seconds before crashing and giving me ...
0
votes
1
answer
23
views
Gunicorn cant find working directory on a remote Ubuntu machine (Django+nginx+gunicorn)
I have django application deployed on ubuntu machine, but it doesn't work because of error in gunicorn.service (it can't find work dir I wrote).
My working directory is in /home/ubunut/project.
...
0
votes
0
answers
10
views
Creating a new thread in an API in django and calling another API in that thread
I was told that creating a thread for running background tasks will cause problems because in production gunicorn will kill a thread once the response is recieved.
So, if I create a thread and inside ...
0
votes
1
answer
46
views
Gunicorn service stopping under supervisor with docker
I've using supervisor, nginx and gunicorn to deploy Django project with Docker.
I'm running docker-compose up to build the project and nginx image.
Going through other similar issues, it is ...
0
votes
0
answers
59
views
Why doesn't DataDog show BEGIN queries?
I am using DataDog with a Django site running on gunicorn with a Postgresql database. We have atomic DB transactions enabled by default. Postgres and Python traces are both configured per the DataDog ...
0
votes
1
answer
83
views
Bad Request and Invalid HTTP_HOST header in deployment NGINX + Gunicorn + Django?
Could you, please, help me with some suggestion where or how to find a resolution of my DisallowedHost exception?
I have deployed my Django project to the DigitalOcean Ubuntu server with Nginx + ...
0
votes
0
answers
44
views
How to fix Gunicorn Timeout error in Django?
My Django app uses gunicorn as server. It allows users to upload files. Recently I've been getting the following error with some file uploads:
0%| | 0/1121 [00:00<?, ?frames/s][2024-06-...
1
vote
0
answers
110
views
Why are my ECS tasks pausing for six hours on startup?
I have a Fargate ECS task that runs a Django app via gunicorn. That task successfully started a few weeks ago and had no issues. It was then replaced by routine AWS maintenance/updates. The ...