First of all, sorry for the long question, I hope a few of you have patience for this.
I am fol
In your posted configs the daphne port seems to be off.
you wrote:
ws = new WebSocket("ws://localhost:8000/order/1/")
ws.send("test")`
while using 8001 in your systemd startup file
ExecStart=/home/ubuntu/rest-api/env/bin/daphne --access-log /home/ubuntu/rest-api/access.log -b 0.0.0.0 -p 8001 farmaApp.asgi:channel_layer