This message was deleted.
# community-support
s
This message was deleted.
e
1. Please keep long code dumps out of the main channel and use proper Slack formatting, either with text snippets or code blocks inside a thread. 2. Flutter questions should go in #C03EM93810S. 3. Maven Central definitely supports TLS 1.2 and 1.3, so most likely you have some bad MITM/proxy in your network.
v
That's not so much a Flutter question though in this case. 🙂 Most often (short of MITM attack) this issue is because of some bad Java version used where the trust store is not proper or broken. Try running Gradle with a different Java installation.
e
yes, this one happens to be not-Flutter-specific. but I'd expect a bad trust store to result in rejected certificates, not rejected protocol versions
v
It just says that "may" be the cause. The caused by one level below that advice is "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" 🙂
To really investigate one needs to run with
<http://javax.net|javax.net>.debug=all
system property and understand that debug output. But all instances of this output I've seen so far was due to bad truststore and / or broken Java installation.