Friday, February 24, 2017

Re: Daphne does not handle wss requests

I too experience this in my local development environment

I find secure web sockets throwing an error in the browser console when attempting to send a message:

InvalidStateError: DOM Exception 11: An attempt was made to use an object that is not, or is no longer, usable.

I had attributed this to django being in debug mode, not serving secure http and thus not supporting secure ws

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/5fffcbf2-a252-413d-b444-a7c2a4381761%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment