FrogTheFrog / moondeck

A plugin that makes it easier to manage your gamestream sessions from the SteamDeck.
GNU General Public License v3.0
99 stars 3 forks source link

Buddy Pairing stuck on offline #28

Closed RedOnHead closed 11 months ago

RedOnHead commented 11 months ago

I’ve tried multiple solutions on Reddit but have had no luck in getting the moon deck buddy under host selection to change from offline. I followed the guide to set it up and still no luck.

FrogTheFrog commented 11 months ago

Have you verified that Buddy is reachable from the web browser by specifying up and port?

Also try restarting SteamDeck just in case if you haven't already.

RedOnHead commented 11 months ago

I’m not sure what you mean. Where on the web browser am I suppose to be finding this information, sunshine? And I also don’t know what “up” is. That’s another problem, everything with this plugin is not specific enough on what to do for non tech savvy people, these instructions are all too vague.

FrogTheFrog commented 11 months ago

Sorry, I meant IP :roll_eyes:

Please enter this address into a web browser on the host PC: https://localhost:59999/apiVersion and then just paste a screenshot of what you see.

RedOnHead commented 11 months ago

All I’m getting is site can’t be reached

FrogTheFrog commented 11 months ago

Have you installed and started https://github.com/FrogTheFrog/moondeck-buddy ?

RedOnHead commented 11 months ago

Yes I just reinstalled and I still can’t reach the host

FrogTheFrog commented 11 months ago

Please paste the contents of the moondeckbuddy.log which is located in the installation directory near the exe file.

RedOnHead commented 11 months ago

[08:27:06.322] INFO buddy.utils: Log location: "C:/Users/young/AppData/Local/Programs/MoonDeckBuddy/bin/moondeckbuddy.log" [08:27:06.322] INFO buddy.main: startup. Version: 1.5.3 [08:27:06.323] INFO buddy.utils: Saving default settings to "C:/Users/young/AppData/Local/Programs/MoonDeckBuddy/bin/settings.json" [08:27:06.563] INFO buddy.server: Server started listening at port 59999 [08:27:06.563] INFO buddy.main: startup finished.

FrogTheFrog commented 11 months ago

So, if https://localhost:59999/apiVersion is unreachable my only guess is that a firewall or antivirus is blocking it somehow?

If you are using windows firewall, then I suggest to exit MoonDeckBuddy, go to the firewall settings an delete every entry for MoonDeckBuddy. Once you launch the MoonDeckBuddy again, there should be a pop-up window asking about firewall permissions, which you should accept.

RedOnHead commented 11 months ago

There was no entry blocking moondeckbuddy. I added rules for ports for moondeckbuddy and I am still having no luck.

RedOnHead commented 11 months ago

It is however no longer reachable, the page now says local host didnt send any data.

FrogTheFrog commented 11 months ago

In the settings.json file set the following option to: "logging_rules": "buddy.*.debug=true"

Then restart the Buddy. This will enable debug logs which will at least tell us if the Buddy is reached or not.

FrogTheFrog commented 11 months ago

It is however no longer reachable, the page now says local host didnt send any data.

But you have said "All I’m getting is site can’t be reached". So it was reachable before?

RedOnHead commented 11 months ago

Sorry meant to say it is no longer saying not reachable. Local host didn’t send any data is what it’s saying now.

RedOnHead commented 11 months ago

[09:21:40.558] INFO buddy.utils: Log location: "C:/Users/young/AppData/Local/Programs/MoonDeckBuddy/bin/moondeckbuddy.log" [09:21:40.559] INFO buddy.main: startup. Version: 1.5.3 [09:21:40.671] INFO buddy.server: Server started listening at port 59999 [09:21:40.671] INFO buddy.main: startup finished. [09:21:40.672] DEBUG buddy.shared: getAppName() >> "MoonDeckBuddy" [09:21:40.672] DEBUG buddy.shared: getLogDir() >> "C:/Users/young/AppData/Local/Programs/MoonDeckBuddy/bin" [09:21:40.672] DEBUG buddy.shared: getLogName() >> "moondeckbuddy.log" [09:21:40.673] DEBUG buddy.shared: getLogPath() >> "C:/Users/young/AppData/Local/Programs/MoonDeckBuddy/bin/moondeckbuddy.log" [09:21:40.673] DEBUG buddy.shared: getSettingsDir() >> "C:/Users/young/AppData/Local/Programs/MoonDeckBuddy/bin" [09:21:40.673] DEBUG buddy.shared: getSettingsName() >> "settings.json" [09:21:40.673] DEBUG buddy.shared: getSettingsPath() >> "C:/Users/young/AppData/Local/Programs/MoonDeckBuddy/bin/settings.json" [09:21:40.673] DEBUG buddy.shared: getAutoStartDir() >> "C:/Users/young/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" [09:21:40.674] DEBUG buddy.shared: getAutoStartPath() >> "C:/Users/young/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/MoonDeckBuddy.lnk" [09:21:40.674] DEBUG buddy.shared: getAutoStartExec() >> "C:/Users/young/AppData/Local/Programs/MoonDeckBuddy/bin/MoonDeckBuddy.exe" [09:21:40.674] DEBUG buddy.utils: Mapped "SecureProtocols" to 4 [09:21:40.674] DEBUG buddy.os: Steam exec path: "a:/steam/steam.exe" [09:21:40.675] DEBUG buddy.os: Steam is running! [09:21:40.675] DEBUG buddy.os: Handling Steam start.

RedOnHead commented 11 months ago

I don't know if it was allowing it in the firewall but I checked my deck to see if anything had changed and I'm now able to pair. I'd add something on the trouble shooting page saying if you cant pair try and allow it through the firewall.

RedOnHead commented 11 months ago

Only thing is when I try and put the pin in on sunshine its not connecting.

FrogTheFrog commented 11 months ago

Only thing is when I try and put the pin in on sunshine its not connecting.

Buddy will open a pop-up window when MoonDeck wants to pair. You need to enter the pin code into that window.

FrogTheFrog commented 11 months ago

If it does not appear, make sure you have installed the redistributables: https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist

RedOnHead commented 11 months ago

Alright finally got it, thank you for the help.

FrogTheFrog commented 11 months ago

I don't know if it was allowing it in the firewall but I checked my deck to see if anything had changed and I'm now able to pair. I'd add something on the trouble shooting page saying if you cant pair try and allow it through the firewall.

I will update the wiki

FrogTheFrog commented 11 months ago

Wiki is updated and I'm closing the issue as it has been resolved.