Intent hub

Fix Issues

Troubleshooting playbooks for common Django, Nginx, and Gunicorn production failures.

Best for developers who already deployed and now need to restore service fast.

Browse this hub

Grouped by guide type, then difficulty

12 of 12 guides

Narrow the list by experience level or stack, then work through the matching guides in recommended order.

Difficulty
All levels
Beginner
Intermediate
Advanced
Stack
All stacks
django · 9
nginx · 3
gunicorn · 2
postgresql · 2
celery · 1
redis · 1
whitenoise · 1
Tasks

Tasks guides

Follow actionable deployment and operations guides you can work through step by step.

3
Intermediate
3 guides
Troubleshooting
Tasks
Intermediate
Fix Nginx Not Connecting to Gunicorn (Connection Refused)

Learn how to troubleshoot and fix the 'Connection Refused' error when Nginx fails to connect to Gunicorn. This guide covers common causes and solutions to get your web application running smoothly.

#nginx
#gunicorn
#connection-refused
Permissions
Tasks
Intermediate
Fix Gunicorn Socket Permission Denied (Nginx + Django)

Learn how to resolve 'Permission Denied' errors when Nginx tries to access Gunicorn's socket file. This guide covers common causes and step-by-step fixes to ensure smooth communication between Nginx and Gunicorn in your Django deployment.

#gunicorn
#nginx
#linux
Media
Tasks
Intermediate
Fix Django Media Files Not Serving (Uploads Broken in Production)

Troubleshooting guide to fix Django media files not serving in production. Learn how to configure media root, Nginx mappings, and permissions to resolve upload issues.

#django
#media-files
#production
Troubleshooting

Troubleshooting guides

Use focused recovery playbooks to diagnose and fix common production failures fast.

9
Beginner
3 guides
Troubleshooting
Troubleshooting
Beginner
django
How to Fix DisallowedHost in Django Production

A DisallowedHost error in Django production means Django rejected the incoming Host header. This is a security check, not a random app failure.

#django
Troubleshooting
Troubleshooting
Beginner
django
nginx
Django Static Files Not Loading in Production: Fix Guide

A common production failure is that your Django app loads, but CSS, JavaScript, or Django admin assets are missing.

#django
#nginx
#whitenoise
Troubleshooting
Troubleshooting
Beginner
django
CSRF Verification Failed in Django Production: How to Fix It

CSRF Verification Failed in Django production usually appears after a deployment change that affects domains, HTTPS, cookies, or proxy headers.

#django
Intermediate
5 guides
Troubleshooting
Troubleshooting
Intermediate
django
nginx
Django 502 Bad Gateway: Causes and Fixes

A 502 Bad Gateway in a Django deployment usually means your reverse proxy is reachable, but it cannot get a valid response from the upstream app server.

#django
#nginx
#gunicorn
Troubleshooting
Troubleshooting
Intermediate
django
gunicorn
Gunicorn Worker Timeout in Django: Root Causes and Fixes

A Gunicorn worker timeout in Django production usually means a worker process stopped responding before Gunicorn’s timeout limit expired.

#django
#gunicorn
Troubleshooting
Troubleshooting
Intermediate
django
postgresql
Fix Database Connection Errors in Django Production

Database connection errors in Django production usually appear right after a deploy, after a restart, or after an infrastructure change such as rotating secrets, moving PostgreS...

#django
#postgresql
Troubleshooting
Troubleshooting
Intermediate
django
celery
Celery Not Running in Django Production: Debugging Guide

A common production failure is that the Django web app is healthy, but Celery tasks stop running.

#django
#celery
#redis
Troubleshooting
Troubleshooting
Intermediate
django
nginx
Fix Nginx 413 Request Entity Too Large for Django Uploads

If a Django file upload fails with 413 Request Entity Too Large, the rejection usually happens before Django sees the request. In a production stack like:

#django
#nginx
Advanced
1 guides
Troubleshooting
Troubleshooting
Advanced
django
postgresql
Django Migration Failed During Deploy: Recovery Playbook

A failed Django migration during deploy usually means your release reached production, but the database change step did not finish cleanly.

#django
#postgresql
Adjacent intent
2026 · django-deployment.com - Django Deployment knowledge base