Sadly it doesn't work, also with DEBUG=False
On Saturday, 25 February 2017 02:19:17 UTC+1, chris rose wrote:
>
> 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:
>
> InvalidStateEr
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
Hrm, I don't know what's happening then, something in your browser is
stopping the connection before it even gets to Daphne. You'd have to break
out Wireshark or something and look at what the packets on the wire were
(and that's tough with TLS).
Anyone else have an idea what's happening?
Andrew
Yep, it works
ssh://ubuntu@127.0.0.1:/opt/venv/spywebsockets/bin/python -u
/opt/venv/spywebsockets/bin/daphne -e
ssl:8003:privateKey=/etc/haproxy/keyring/spy.key:certKey=/etc/haproxy/keyring/spy.cert
--proxy-headers -v2 spywebsockets.asgi:channel_layer
2017-02-24 09:05:00,246 INFO Star
It looks correct - can you connect using https://127.0.0.1:8003/ at that
point either? It's really odd that apparently the connection doesn't even
happen at all.
Andrew
On Thu, Feb 23, 2017 at 2:55 AM, Giovanni Colapinto <
giovanni.colapi...@gmail.com> wrote:
> Hi.
>
> Before open a bug, could y
Hi.
Before open a bug, could you please tell me if my setup is ok?
Daphne 1.0.3
channels 1.0.3
routing.py
channel_routing = [
route("websocket.connect", ws_connect, path=r"^/ws/chat/$"),
route("websocket.connect", ws_connect_updates, path=r"^/ws/updates/$"),
route("websocket.receive
6 matches
Mail list logo