This message was deleted.
# community-support
s
This message was deleted.
c
TLS version error. perhaps you are running on an older version of Java, or have a proxy in-between?
s
@Chris Lee - OpenJDK 8
Tried it with Jdk 11 as well
c
could you paste the error msg pls? (screenshots are hard to process)
s
Copy code
Could not resolve io.reactivex.rxjava3:rxjava:3.1.5.
         > Could not get resource '<https://repo.maven.apache.org/maven2/io/reactivex/rxjava3/rxjava/3.1.5/rxjava-3.1.5.pom>'.
            > Could not HEAD '<https://repo.maven.apache.org/maven2/io/reactivex/rxjava3/rxjava/3.1.5/rxjava-3.1.5.pom>'.
               > 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/7.5.1/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
I've imported the certs as well
c
presumably you have a proxy configured in-between Gradle and Maven central. Check that configuration - it may not support HTTPS or otherwise require special setup.
s
👀
g
Or it plays mitm and replaces real certificates with its own. Or you have some "antivirus suite" that does the same
If browser opens https://repo.maven.apache.org/maven2/io/reactivex/rxjava3/rxjava/3.1.5/rxjava-3.1.5.pom correctly check the cert chain there and look if it has GlobalSign as a root CA
v
If you don't find which of your parts are failing, you might need to set
javax.net.debug
system property to
all
to get the SSL debug output and find out what is going wrong with the HTTPS communication.
isAllowInsecureProtocol
only helps if you want to use HTTP, not if the HTTPS communication is broken.
t
I've imported the certs as well
In the JDK's truststore? Depending on the JDK and how it was installed, it might or might not use the system's truststore.
c
…and which certs? the certs for Maven Central are already trusted by stock JDKs.
s
c
??? that’s a wholly different URL & Thing than the error from Gradle.
s
it started with that... and ended with the https://repo.maven.apache.org
c
The error is on resolving artifacts from
<https://repo.maven.apache.org>
s
Perhaps there are some proxy/firewall settings or something that I cannot view. For now, I am moving by manually adding the dependencies to the project. I will continue to check this issue on the side... Thank you all🙏