Placebo

Placebo

160M Downloads

SSL handshake error

ConnorEgbert opened this issue ยท 1 comments

commented

Game hangs for seconds at a time, increasing in frequency with play time.

Exception loading patreon data!
[shadows.placebo.patreon.PatreonManager:lambda$init$0:66]: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Link to relevant line:

URL url = new URL("https://raw.githubusercontent.com/Shadows-of-Fire/Placebo/1.12/PatreonInfo.txt");

The certificate for raw.githubusercontent.com seems fine when verified outside minecraft. This issue is repeatable when running rlcraft 2.9.3 on startup from Placebo, and frequently when mods like Elenai Dodge use Placebo's patreon interface. Please advise.

commented

1.12 is not supported.

In general, this code runs off-thread, so it isn't capable of locking up the game as described, nor does this code execute more than once per texture load. I'm concerned by the concept of "when mods use Placebo's patreon interface", since this isn't a reusable component, nor any kind of API. Potentially that might be your issue if another mod is spam-calling init().