Since I spent hours figuring this out. If you're trying to use django-channels with daphne on dokku and you see any of the following issues: Server is hanging nginx is giving you timeouts, "504 Gateway time-out" errors. Your logs show " upstream timed out (110: Connection timed out)" Make sure your worker process is actually running! Run `dokku ps <app>` and make sure there are TWO python processes! Turns out that even if you have both commands in the Procfile but the scale is not set it just ignores the second command! I had to add a DOKKU_SCALE file as described in manually-managing-process-scaling . Cheers!
Software projects, tips, and tutorials from codelv.com