Can't connect to websocket for Stream Deck integration

I have been trying for a while to connect my streamdeck with HA. I can not get the web socket to connect. Using the plugin for SD (GitHub - cgiesche/streamdeck-homeassistant: Control your Home Assistant devices from StreamDeck) I need the websocket and the secret. It says to use this format for the server url: example: ws://localhost:8123/api/websocket so i enter
ws:// then my access-token i just made and get the failed to connect error. I don’t’ know what else to do.

I followed this tutorial and yet nothing

If anyone has any ideas please let me know

Well, I used WSS:domain instead of WS and now it works. Gonna leave this up for anyone in the future.