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

failed to connect with version 3.5.1 / 2.4.5 works #305

Open
wur07 opened this issue Sep 28, 2024 · 2 comments
Open

failed to connect with version 3.5.1 / 2.4.5 works #305

wur07 opened this issue Sep 28, 2024 · 2 comments

Comments

@wur07
Copy link

wur07 commented Sep 28, 2024

hello,

have have the problem that the new version of the plugin i get this error failed to connect to ws://ip:8123/api/websocket

please help thanks

@ctrl-this
Copy link

ctrl-this commented Oct 18, 2024

Hi, thanks for the awesome plugin.
Unfortunately it recently also stopped working for me with the same error message: "Failed to connect to ws://ip:8123/api/websocket" where ip is my internal ip. I can reach the webinterface in Firefox from the same machine. I restarted mac/elgato, tried to create a new token, etc. So far no luck getting the plugin to work again.
Because i have no idea of this i also tried opening the websocket in firefox to test general connection, which returns:
No WebSocket UPGRADE hdr: None
Can "Upgrade" only to "WebSocket".

I run on Mac/latest OS (Sequoia).
As the error message in the plugin is quite limited i dont know where to search for errors or debug this. Let me know if you have any directions :-)

@cgiesche
Copy link
Owner

cgiesche commented Oct 18, 2024

Hi,

there is a way to get more detailed logs. On MacOS it should work like this (can not test, because i do not own a mac device):

  1. Run the following command in the terminal. It enables debugging of the stream-deck application:
    defaults write com.elgato.StreamDeck html_remote_debugging_enabled -bool YES
  2. Restart stream-deck application
  3. Point your browser to http://localhost:23654/
    grafik
  4. Select "PI" or "Plugin" to debug either Settings or the plugin itself. There, you have access to all log output and network activity:
    grafik

PS. It seems that elgato has improved their Plugin API. When I find the time to migrate my plugin, it should be much easier to debug...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants