Lenochxd / WebDeck

The free stream deck alternative
https://elgato.christmas
GNU General Public License v3.0
242 stars 16 forks source link

Continuous "Server disconnected" error #22

Open gamberoillecito opened 2 weeks ago

gamberoillecito commented 2 weeks ago

Describe the bug Right after installation webDeck is almost unusable since both the webpage on the phone and the webpage on the PC where webdeck is running show "Server disconnected"

To Reproduce Steps to reproduce the behavior:

  1. Start the executable on windows
  2. Click on "Open config"
  3. Wait a couple of seconds
  4. The message appears

Refreshing the page seems to make the issue stop temporarily but after a couple of seconds the same message reappears

Screenshots

immagine

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

The issue is the same on both the PC and the smartphone

Lenochxd commented 2 weeks ago

Hey, thank you for reporting a bug. Are you still able to click on a button even on this screen?

gamberoillecito commented 2 weeks ago

@Lenochxd yes I am, for example I can reload the page with the button instead of having to use the F5 key or the browser

Lenochxd commented 2 weeks ago

Yes this is normal, the reload button does not need the server to work. Do the other buttons work? like the 'enable screen saver' button for example.

Also, can you show me a quick screenshot of the browser console? You can see it by pressing F12, it should appear at the bottom. If a menu appears but no console, press your ESC key.

Thanks :)

gamberoillecito commented 2 weeks ago

I tested everything on my PC to exclude network errors, I can confirm that everything seem to work even with the error message on top. These are the logs:

console-export-2024-6-22_12-37-31.txt

Thank you for your help

Lenochxd commented 2 weeks ago

That's what I thought, there is an error with the computer usage buttons, and you seem to have an NVIDIA graphics card as the GPU percentage is displayed. I will try to fix the error, you can try changing the "GPU usage method" setting in the meantime.

gamberoillecito commented 2 weeks ago

Changing to "none" seems to have solved the issue. I don't really care about GPU stats so that's not an issue right now. Thank you very much. I'll keep testing the app because it seems very functional 😄