still trying

This commit is contained in:
bedweb 2025-09-30 14:09:56 +02:00
parent f919b9ac5b
commit 2694f5b3fa

View File

@ -185,4 +185,5 @@ trap cleanup EXIT INT TERM
SUBSCRIPTION_MSG=$(create_subscription_message) SUBSCRIPTION_MSG=$(create_subscription_message)
# Connect to websocket and send subscription message # Connect to websocket and send subscription message
echo "$SUBSCRIPTION_MSG" | websocat --ping-interval 10 -n --text -H "Sec-WebSocket-Protocol: json" -v "$WEBSOCKET_URL" | process_message echo "$SUBSCRIPTION_MSG" | websocat --ping-interval 10 --no-close --text -vv "$WEBSOCKET_URL" - | process_message
#-H "Sec-WebSocket-Protocol: json"