O
OpenDeck•2w ago
ivelischt

Issue with websocat

Hi guys. I use the command xdotool keydown 191 && echo "{"json":"object"} | websocat ws://localhost:49980/ws -1 as a key down command. This used to work for some time, and now suddenly doesn't anymore. If thr button is pressed, the xdotool action is beinhin executed, but nothing is sent to the websocket. Copying the above command chain to bash works correctly, however. Already checked the logs, but nothing in there. Any ideas?
Solution:
i don't know what it was, but i double checked the command i used, which still had a typo from trying to fix it earlier today, and then it just started working again. so yeah, probs not really an opendeck bug 🙂
Jump to solution
2 Replies
Terrorwolf
Terrorwolf•2w ago
is it working with 127.0.0.1 or the hosts ip instead of localhost?
Solution
ivelischt
ivelischt•2w ago
i don't know what it was, but i double checked the command i used, which still had a typo from trying to fix it earlier today, and then it just started working again. so yeah, probs not really an opendeck bug 🙂

Did you find this page helpful?