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

Clients not showing up under device management #217

Closed
cat5edopeHA opened this issue Jan 11, 2025 · 9 comments
Closed

Clients not showing up under device management #217

cat5edopeHA opened this issue Jan 11, 2025 · 9 comments

Comments

@cat5edopeHA
Copy link

Two of my devices successfully paired to apollo, but are not showing up under the device management section to assign permissions . Both can still connect and appear to be given full permissions. The client im using is moonlight and the devices are an iPhone and ipad.

@ClassicOldSong
Copy link
Owner

ClassicOldSong commented Jan 12, 2025

Do you have sunshine installed or GFE enabled? They can launch at the same time and replacing each other's functionality, which can be quite confusing.

@cat5edopeHA
Copy link
Author

Only Apollo. I have 4 other clients that I was able to add and assign permissions to. I’ve also tried to delete on moonlights side and pair again. Same issue happens with these two clients

@ClassicOldSong
Copy link
Owner

ClassicOldSong commented Jan 12, 2025

Can you provide the client version and sunshine_state.json as is?

Remember to delete sunshine_state.json and clear all client side data/re-install clients after you upload the current one, this will reset both the host and client's keys to prevent potential identity leak.

Do not modify the current file. It may provide important information about this issue.

Also please provide the pairing order of all your clients.

Are your iPhone/iPad restored from a same backup with Moonlight installed?

If so that might can explain.

@cat5edopeHA
Copy link
Author

cat5edopeHA commented Jan 12, 2025

Moonlight ver. 9.0.2

sunshine_state.json(redacted)

pairing order
macbook
apple tv #1
ipad air
apple tv #2
iphone *
ipad mini*

the last two are the ones that failed to load under the device management section. Both seem to have full access though

@ClassicOldSong
Copy link
Owner

Your iPhone and iPad mini is not shown in the paired client list. Could you remember how did you setup these two devices? If they're restored from backups from your iPad Air, this could explain the problem you're meeting:

  1. Moonlight client will generate a key on the first launch after installation, usually this is device independent
  2. But if you have backups(no matter iCloud or local), the key will be saved to the backup
  3. When restoring from these backups, the saved key is also restored to your new devices, skipping the generation, making the host can't distinguish between devices

To verify, change permissions on your iPad Air entry and see if they're applied to your iPhone and iPad mini. Or simply go to PIN tab when these two devices are connected, and see if there's a disconnect button appears on the iPad Air entry.

To solve the problem, simply uninstall Moonlight from these two devices and install them again. This should clear the local saved key and generate again.

@cat5edopeHA
Copy link
Author

Ive tried the remove all devices reinstall moonlight and he issue is still happening but on different devices now.
a mac mini and an apple tv.

the original two devices (iphone and ipad mini) are now paired and are showing under device management along with 3 other devices

@cat5edopeHA
Copy link
Author

when i am connected from the mac mini, its showing as the macbook is connected. I think you are correct on the key is being restored . going to uninstall from both devices reinstall and try to pair again will follow up.

@cat5edopeHA
Copy link
Author

issue remains , you can close this issue as it doesn't actually prevent me from connecting.

@ClassicOldSong
Copy link
Owner

Deleting apps in macOS usually doesn't actually remove its data. So after reinstalling it still might contain previous key.

Something likely app cleaner or clean my mac might help remove remaining data.

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

2 participants