daphne icon indicating copy to clipboard operation
daphne copied to clipboard

Django Channels HTTP/WebSocket server

Results 58 daphne issues
Sort by recently updated
recently updated
newest added

When django raise a 500 error (f.e. following a ValueError), instead of exception stacktrace on journalctl log there is an UnicodeDecodeError. **Environment**: Debian 10.12, Python 3.7.3, Django 3.2.5, Daphne 3.0.2,...

As part of Channels 4.0 it would be nice to break the hard dependency on Daphne. See * https://github.com/django/channels/discussions/1643 * [Adding ASGI Support to Runserver - Django Internals - Django...

Hello! First of all, this is a great project and I wanted to thank all the maintainers for keeping it amazing! For last two months, django-channels websockets on our production...

#422 ports the old `ASGI_THREADS` logic from `asgiref`. (C.f. #319) Improvements: * Move the initialisation of the default executor into `Server.run()` ([when configuring the loop](https://github.com/django/daphne/blob/6199d509c200cdd5102b39a3461a62984adebaf7/daphne/server.py#L131)). * Adjust the test from...

enhancement
exp/beginner

Using Daphne as a server for a Django application seems to cause a malfunction in streaming responses. When you pass an iterator/file into a response, the contents of the response...

Does `daphne` currently (or plan to) support the [lifespan protocol](https://asgi.readthedocs.io/en/latest/specs/lifespan.html)? We are working on [ASGI support for Sanic](https://github.com/huge-success/sanic/pull/1475) and looking to make sure that it includes this feature.

enhancement

The README explains how to set up HTTP2 with TLS, but there's no indication of how to set it up without TLS. Just for context: my interest in doing this...

I use Rich as my Django logger, as described here: https://www.willmcgugan.com/blog/tech/post/richer-django-logging/ Everything worked fine with runserver, however once I started using Daphene there were ansi codes in the output. ![image](https://user-images.githubusercontent.com/1473102/148436623-fb56534d-8518-4c24-bda8-15b2882ca4ec.png)...

I have this ASGI applicate with Django and Daphne, and I'm using the following command. `daphne -b 0.0.0.0 -p $PORT server.asgi:application` Is there a way to add `--max-requests` and `--max-requests-jitter`...

This is my first Open Source PR, but here is the `--max-requests` setting to periodically restart workers. There are no tests, I'm happy to add them if this feature interests...