-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode metals not updating as download fails with ssl errors #1430
Comments
Thanks for reporting! To sure what might exactly be wrong, but you could try adding |
I think the issue is with our networking. The update does not work under a vpn connection but works outside of it |
@tgodzik unfortunately the trick with |
We've had similar issue in Scala CLI more recently. Maybe something in VirtusLab/scala-cli#2191 might help? |
in my case, the issue was related to the zscaler proxy (which intercepts ssl). To fix I had add the ZScaler root SSL cert to the java keystore. Another option is to use the option -Djavax.net.ssl.trustStoreType=WINDOWS-ROOT to make jdk use the windows store
…________________________________
From: Tomasz Godzik ***@***.***>
Sent: May 20, 2024 3:08 PM
To: scalameta/metals-vscode ***@***.***>
Cc: fwaris ***@***.***>; State change ***@***.***>
Subject: Re: [scalameta/metals-vscode] vscode metals not updating as download fails with ssl errors (Issue #1430)
We've had similar issue in Scala CLI more recently. Maybe something in VirtusLab/scala-cli#2191<VirtusLab/scala-cli#2191> might help?
—
Reply to this email directly, view it on GitHub<#1430 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AACGZMHSQCNFEMJDZNGE25DZDJC3HAVCNFSM6AAAAAA5UTEGYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRRGAZTSMRQGI>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
so to install metals 1.3.1 and bloop 1.5.17 in viscose I did steps:
|
You can use sbt BSP as alternative. What logs do you see when it doesn't start? |
Describe the bug
metals not updating due ssl certificate issues
Screenshots
Java home: C:\Program Files\Microsoft\jdk-17.0.8.101-hotspot
Metals version: 1.0.1
Downloading https://repo1.maven.org/maven2/org/scalameta/metals_2.13/1.0.1/metals_2.13-1.0.1.pom
[...]
Downloading https://oss.sonatype.org/content/repositories/snapshots/org/scalameta/metals_2.13/1.0.1/metals_2.13-1.0.1.pom.sha1
Resolution error: Error downloading org.scalameta:metals_2.13:1.0.1
not found: C:\Users\fwaris1.ivy2\local\org.scalameta\metals_2.13\1.0.1\ivys\ivy.xml
download error: Caught javax.net.ssl.SSLHandshakeException (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo1.maven.org/maven2/org/scalameta/metals_2.13/1.0.1/metals_2.13-1.0.1.pom
download error: Caught javax.net.ssl.SSLHandshakeException (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://dl.bintray.com/scalacenter/releases/org/scalameta/metals_2.13/1.0.1/metals_2.13-1.0.1.pom
Installation:
metals.serverVersion
)Additional context
I have update java version to latest
The text was updated successfully, but these errors were encountered: