Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BarRaider plugin initialisation issue #46

Closed
twalls1 opened this issue Jan 13, 2025 · 4 comments
Closed

BarRaider plugin initialisation issue #46

twalls1 opened this issue Jan 13, 2025 · 4 comments
Labels
bug Something isn't working upstream An issue with an upstream project or library.

Comments

@twalls1
Copy link

twalls1 commented Jan 13, 2025

I am trying to use the OBS Tools plug-in from BarRaider with OpenDeck. I am running on the latest version of Bazzite Linux (based on Fedora Silverblue). OpenDeck and OBS Studio are both the latest flatpak versions from Flathub. I have tried both versions of the websocket plug-in (current and legacy 4.x) for OBS Studio. I am using OpenDeck with an original (maybe second revision?) Elgato Stream Deck. The deck itself is detected fine and I can add buttons to it without any issues (which is really exciting to see and I am super happy to find this app).

Here are general steps to reproduce:

  1. Install OpenDeck from Flathub.
  2. Install OBS Studio from Flathub.
  3. Open OBS Studio and open the Tools > Websocket Server settings.
  4. Check box to enable Websocket server and set a password.
  5. Open OpenDeck and go to plug-ins.
  6. Install the OBS Tools (BarRaider) plug-in.
  7. Accept the prompt to install Mono and let Wine do setup tasks.
  8. Drag a button from list under OBS Tools to the deck.
  9. Window appears to setup the BarRaider plug-in for the first time.
  10. Error appears to restart Stream Deck because the plug-in is blocked.
  11. Click button to try again at bottom.
  12. Verify 127.0.0.1 and port 4455 (or 4444 for legacy) and enter password.
  13. Wait for settings to save and get error that the connection timed out.

I have tried a few things so far to resolve this including:

  1. Installed the legacy version of the websocket server 4.x plug-in for OBS Studio from Flathub. I just confirmed with the BarRaider Discord that the latest OBS Studio websocket server should be supported on Windows.
  2. I confirmed that both flatpaks, OpenDeck and OBS Studio, are set to allow network connection permissions using Flatseal.
  3. I tested the connection to both sockets (4455 and 4444) using netcat and the connections succeeded while OBS Studio was open. Confirmed they failed as expected when OBS Studio is closed.
  4. I queried the running firewall with the port numbers, and it indicated that they were open.
  5. I tried variations of 127.0.0.1, localhost, and the local private IP address as the destination.

For kicks, I also tried installing the OBS Studio plug-in from Elgato. That one just sits there saying that is it waiting for OBS, so no idea what is happening in the background on that one.

I have not been able to find any errors in logs other than a generic message that "the connection was reset by a peer." Please let me know any testing steps or logs I can provide to help troubleshoot this issue. Using OBS Studio with my Stream Deck is my primary use case for OpenDeck, so it would be incredibly helpful to get this figured out. Thank you!

@ninjadev64
Copy link
Owner

If you could send the opendeck.log file and the plugins/com.barraider.obsstudio.sdPlugin.log file from the OpenDeck log folder, as well as the plugin.log (or similar) file from the plugin's own folder, that would be great.

As you discovered Elgato's OBS plugin doesn't work, I ought to remove it from the list as it relies on Stream Deck internals.

@twalls1
Copy link
Author

twalls1 commented Jan 13, 2025

Thank you so much for the fast response! Here are the requested log files. I reproduced the error again just now after a fresh boot.

com.barraider.obstools.sdPlugin.log
opendeck.log
pluginlog.log

@ninjadev64
Copy link
Owner

ninjadev64 commented Jan 13, 2025

Trying the same thing on my computer, it exhibits the same behaviour ("plugin blocked!" and the same log file messages), when it used to work. So what seems to be happening is that something's probably happened on BarRaider's servers, or something, because the plugin update system is reporting that a critical upgrade is needed even though you're on the latest version.

A simple enough fix is to install the previous version of the plugin which doesn't include the updater. It was added in 3.3, so install 3.2 from here, by downloading the .streamDeckPlugin file and selecting it after clicking "Install from file" in OpenDeck's plugin management page, then entering com.barraider.obstools for the ID.

Glad to help!

@twalls1
Copy link
Author

twalls1 commented Jan 14, 2025

Just wanted to confirm success with this workaround. I removed the current plug-in, downloaded the older version from Github, installed from file, entered com.barraider.obstools for the ID, and everything connected as expected with the current OBS websocket server. I am now able to add buttons for OBS and verify communication is occurring. Thanks again so much!

@ninjadev64 ninjadev64 changed the title OBS Tools Plug-In Connection Issue OBS Tools plugin connection issue Jan 16, 2025
@ninjadev64 ninjadev64 added bug Something isn't working upstream An issue with an upstream project or library. labels Jan 16, 2025
@ninjadev64 ninjadev64 changed the title OBS Tools plugin connection issue BarRaider plugin initialisation issue Jan 27, 2025
@ninjadev64 ninjadev64 pinned this issue Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream An issue with an upstream project or library.
Projects
None yet
Development

No branches or pull requests

2 participants