Firebot
Firebot copied to clipboard
OBS Stop Stream Effect error 501
Description
The OBS Stop Stream effect generates an error 501 when invoked, and the stream does not stop.
Steps to Reproduce
- Use an OBS Stop Stream effect
- ...
- Profit?
Expected Behavior
OBS to stop streaming
Firebot Version
v5.64.0
Submitted By
phroggie
Created via Discord.
[2025-04-15 02:21:04.0456] - debug: [v5.64.0] Running ebiggz:obs-stop-stream(0324e120-6407-11ec-b1b0-4bd33cbb4a76) effect...
[2025-04-15 02:21:04.0456] - debug: [v5.64.0] Looking and handling replace variables...
[2025-04-15 02:21:04.0456] - debug: [v5.64.0] Running firebot:chat(dd719b50-3648-11ef-9dbf-ad7b91cbc3a4) effect...
[2025-04-15 02:21:04.0456] - debug: [v5.64.0] Sending message as bot.
[2025-04-15 02:21:04.0459] - error: [v5.64.0] Failed to stop streaming
{
message: '',
stack: 'Error\n' +
' at C:\\Users\\ballz\\AppData\\Local\\firebot\\app-5.64.0\\resources\\app\\node_modules\\obs-websocket-js\\dist\\json.cjs:511:19\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at async stopStreaming (C:\\Users\\ballz\\AppData\\Local\\firebot\\app-5.64.0\\resources\\app\\build\\backend\\integrations\\builtin\\obs\\obs-remote.js:1018:9)',
code: 501
}
Raw requests for StopStream produce similar errors, and it seems like StartStream is also impacted.
tested while live and its working. !connected seems to be undefined so
if(!connected){
return;
}
never gets called resulting in this error? even when live.
Tested this on v5 branch and OBS 32.0.0 and working. Closing as resolved.