You should use an ASGI server (uvicorn/daphne) with an SSL-terminating server (e.g. nginx) in front of it and proxying to it. Django-sslserver is a WSGI-based server and so can't support WebSockets.
Andrew On Tue, Dec 25, 2018 at 4:44 PM <[email protected]> wrote: > How can I use channels with https at development > I try to use django-sslserver but that doesn't work > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/1ecb3edd-3637-476d-8a61-5ac869f89daa%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/1ecb3edd-3637-476d-8a61-5ac869f89daa%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFwN1uqNWpnYop%3D%2BUL%2B86b1gUgUVzP0aiZ8LtqLoDu_YBB0BGQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

