The-Fireplace-Minecraft-Mods / In-Game-Account-Switcher

This mod allows you to change your logged in account in-game, without restarting Minecraft.
https://modrinth.com/mod/in-game-account-switcher
GNU Lesser General Public License v3.0
88 stars 36 forks source link

Unable to find valid certification path to requested target #85

Closed Belloooo closed 2 years ago

Belloooo commented 2 years ago

Describe the bug

This is the error I get whenever I try to switch to an other account in my account list or even add one. I`ve tried restarting my game, installing the 8.0 version of the mod and installing the newest version of java but nothing seems to help.

https://paste.pics/ab047728162187bc822ac31eae095d6d

To Reproduce

  1. Launch The Game
  2. Go to the account switcher
  3. Try to log in to a different account or adding a new account to your account list

Minecraft Version

Fabric 1.18.2

Logs/Screenshots/Videos

No response

Checklist

bAdOoWindy commented 2 years ago

also happen in Fabric 1.19.2

D3st0ny commented 2 years ago

same

ProfessionalBoatDrifter commented 2 years ago

Same here. Also Fabric 1.19.2

honzapatCZ commented 2 years ago

Same here 1.18.2

johan0345 commented 2 years ago

SAME

onLaait commented 2 years ago

same

vladbogun1 commented 2 years ago

does someone found solution for that bug?

honzapatCZ commented 2 years ago

Nope, I even tried editing keystores to add the xbox.live server, but its not working. Makes life of developing online mods pretty hard tbh, this could have simpliefied it. I suppose maybe xbox changed the endpoint? Anyways it's now up to these 2 gods. @VidTu @The-Fireplace

VidTu commented 2 years ago

Okay, I'm not at home to update certificates and the mod, but you can try opening mod file via any archiver (just file manager on Linux/Mac, 7Zip/WinRar on Windows) and deleting iasjavafix.jks file inside as a temporary workaround.

honzapatCZ commented 2 years ago

Wait, for the whole time it was because the mod has its own keystore. Fuckin damn it. I was modifying the java one all the time xd.

VidTu commented 2 years ago

The mod has its own keystore for Java 8u51 which is distributed by Mojang for older versions and I forgot to disable it for 1.17+

VidTu commented 2 years ago

P.S. Fix already in progress.

bAdOoWindy commented 2 years ago

Oh Good!

VidTu commented 2 years ago

Should be fixed in 8.0.1.