-
When starting PolyphenyDB and Gradle tries to download the current UI Snapshot from repository : https://dbis-nexus.dmi.unibas.ch/repository/maven2/org/polypheny/polypheny-ui/1.0-SNAPSHOT/maven-metadata.xml When doing task A problem occurred evaluating project ':webui'.
> Could not resolve all files for configuration ':webui:uiFiles'.
> Could not resolve org.polypheny:polypheny-ui:1.0-SNAPSHOT.
Required by:
project :webui
> Could not resolve org.polypheny:polypheny-ui:1.0-SNAPSHOT.
> Unable to load Maven meta-data from https://dbis-nexus.dmi.unibas.ch/repository/maven2/org/polypheny/polypheny-ui/1.0-SNAPSHOT/maven-metadata.xml.
> Could not HEAD 'https://dbis-nexus.dmi.unibas.ch/repository/maven2/org/polypheny/polypheny-ui/1.0-SNAPSHOT/maven-metadata.xml'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/6.9/userguide/build_environment.html#gradle_system_properties
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve org.polypheny:polypheny-ui:1.0-SNAPSHOT.
> Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/org/polypheny/polypheny-ui/1.0-SNAPSHOT/maven-metadata.xml.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/polypheny/polypheny-ui/1.0-SNAPSHOT/maven-metadata.xml'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/polypheny/polypheny-ui/1.0-SNAPSHOT/maven-metadata.xml'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/6.9/userguide/build_environment.html#gradle_system_properties
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> Could not resolve org.polypheny:polypheny-ui:1.0-SNAPSHOT.
> Unable to load Maven meta-data from https://repo.maven.apache.org/maven2/org/polypheny/polypheny-ui/1.0-SNAPSHOT/maven-metadata.xml.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/polypheny/polypheny-ui/1.0-SNAPSHOT/maven-metadata.xml'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/polypheny/polypheny-ui/1.0-SNAPSHOT/maven-metadata.xml'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/6.9/userguide/build_environment.html#gradle_system_properties
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target How can this be resolved? |
Beta Was this translation helpful? Give feedback.
Answered by
hennlo
Oct 18, 2021
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hennlo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Permanent Fix
Although this seems to be an error related to the used version of TLS it has two different causes:
It is most likely that you sit behind a company proxy which is intercepting your calls, which is considered a man in the middle attack and is therefore aborted.
Your JDKs specific keystore is empty
This can happen if you switched to a new JDK version, or the old one was corrupted.
Solution
The solution to resolve this is still the same for both root causes.
You need to update the keystore of your IDE to trust all necessary certificates for that call.
Procedure
Navigate to any website and extract the all certificates in the chain starting with the topmost certificate of …