WebSocket server all the time give me 4009 error even if IP port and password is 100% corect... Nobara linux kde.

ZuziaXx

New Member
Hi i want make shortcut who work like this, i click it and i have open OBS + Open Preview Projector > mu Dell Monitor.
then i want use web socket because preview projector dont have any shortcut to open it as default in OBS setting.

but when i on WebSocket my port is 4455 default generated password also. Then i always have in terminal message like this.
Code:
./obs-cmd -w 'obsws://localhost:4455/abcdefg' info

Connection attempt 1 failed, retrying in 2 seconds...

Connection attempt 2 failed, retrying in 2 seconds...

Error: ConnectionError(Connect(ConnectError(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))))

➜  bin

➜  bin ./obs-cmd -w 'obsws://localhost:abcdefg' info

Connection attempt 1 failed, retrying in 2 seconds...

Connection attempt 2 failed, retrying in 2 seconds...

Error: ConnectionError(Handshake(ConnectionClosed(Some(CloseDetails { code: CloseCode(4009), reason: "Authentication failed." }))))

➜  bin

➜  bin ./obs-cmd --version

obs-cmd 1.0.2

If i can add one sugestion will be perfect if obs can give us as defoult shortcut to open
Open Preview Projector >> with user monitor from before selected device video and audio.
then we can pin it as icon and click it to use always with same setting.

I use OBS now with switch2 console connected go recorder usb connect to PC with HDMI input, from switch2.

That's why i looking some way to not run obs normal only make this process automatic. "obs TV or fullscreen mode" if only this projector have possibility to setup keyboard shortcut i can write probably simple script to open it like this. This can be great future for OBS in next release version.
Also Wayland not work with obs shortcut for recording like X... :( i rly hate this. When i must click button manually then edit all video always because stupid Wayland and his security system...

Now i want use Web Socket to make it possible but i rly dont know what i do wrong. And yes i use flatpak version 32.2.1 x64 now.

Any suggestion why this not work??

Thanks! Cheers from Poland.
 

I Record all how this work now.
I add same link in Suggestion to add OBS TV MODE in future :)

I can use terminal to use ffplay or mpv to show me screen, but obs not need configure audio separetely, and i test this 3 smplayer, mpv amd ffplay and only obs dont have problem with audio from start and less lags then all others :) Thats why i think is perfect for this :) And not need scripts for start. Image and audio together.
 
Back
Top