Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

OBS Stop Stream Effect error 501

Open CrowbarToolsRobot opened this issue 8 months ago • 3 comments

Description

The OBS Stop Stream effect generates an error 501 when invoked, and the stream does not stop.

Steps to Reproduce

  1. Use an OBS Stop Stream effect
  2. ...
  3. Profit?

Expected Behavior

OBS to stop streaming

Firebot Version

v5.64.0

Submitted By

phroggie

Created via Discord.

CrowbarToolsRobot avatar Apr 15 '25 02:04 CrowbarToolsRobot

[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
}

phroggster avatar Apr 15 '25 02:04 phroggster

Raw requests for StopStream produce similar errors, and it seems like StartStream is also impacted.

phroggster avatar Apr 15 '25 02:04 phroggster

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.

CKY- avatar Apr 15 '25 20:04 CKY-

Tested this on v5 branch and OBS 32.0.0 and working. Closing as resolved.

zunderscore avatar Sep 26 '25 05:09 zunderscore