maximuslotro / SignStory

A Minecraft mod for easily copying stories from a txt file onto signs.
GNU Lesser General Public License v3.0
4 stars 1 forks source link

signpicture javax.net.ssl.SSL ... #10

Open Kofola45cz opened 2 years ago

Kofola45cz commented 2 years ago

I've found a bug that causes images to not load in game, even though they load in the viewer. At the same time images from another source work.

signpicture javax.net.ssl.SSLHandshakeException: sun.security.validator.validatorException: PKIX path building failed: sun.security.provider.certpath.certpath.BuilderException: unable to find valid certification path to requested target 2022-06-24_19 42 53 2022-06-24_19 43 41

My java: image

Of course, this bug is in both SignStory and SignPicture - the latest versions

Kofola45cz commented 2 years ago

ok, I just found out that to fix it I had to add JRE_HOME to the windows variables Apparently they were using the wrong Java, and the worst part is that setting Java in Technic Launcher to the latest wasn't enough. image xD

maximuslotro commented 2 years ago

Weird. I have no idea how to fix this error. Well ig we just need to set a proper JRE variable.

Kofola45cz commented 2 years ago

-Well, the problem is that if it takes the player a bad version of Java, so it will not have the current SSL Certificates and thus, it will not allow to use the image from the site with the latest SSL security ... -something like that... -Yeah, I don't know how to solve that.

maximuslotro commented 2 years ago

I will just leave this issue open, maybe someone will find a solution for it.

nabyek56 commented 6 months ago

i have the same issue how do i fix it?

Kofola45cz commented 6 months ago

i have the same issue how do i fix it?

I recommend switching back to SignPicture if you're not just interested in text on the sign, because the current version of SignStory also has a problem with setting the dimensions of the image.

nabyek56 commented 6 months ago

I have the same issue with signPicture it also won't let me upload any image. at least with this mod it tells me what went wrong

Kofola45cz commented 6 months ago

I have the same issue with signPicture it also won't let me upload any image. at least with this mod it tells me what went wrong

I know, the only one that it's connected to the fact that if the storage you have is not currently available to you because of Java security, (Java connection security... something like that...), try to use another storage.