Skip to content
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

An error report when install metals "Error: Failed to establish a socket connection to proxies" #1480

Open
TDppy opened this issue Apr 9, 2024 · 1 comment

Comments

@TDppy
Copy link

TDppy commented Apr 9, 2024

Describe the bug
When I installed metals , it reports as follows:
image

Then I refer to #70 , which memtioned

updating -Dhttps.proxyHost=… -Dhttps.proxyPort=… in the "Server Properties" setting for Metals in VS Code? Alternatively, those properties are picked up automatically from .jvmopts if they are defined there.

so I lookup my proxy port and host,then update Properties in settings.json as followed.
image
but it still not work.
image
So how should I configure properly?

Expected behavior

metals was installed properly.

Environment

  • Operating system:Windows Subsystem Linux ( Ubuntu22.04 )
  • VSCode version:1.88.0
  • Metals version:1.29

Search terms
proxy

@tgodzik
Copy link
Contributor

tgodzik commented Apr 9, 2024

Thanks for reporting! The error is only related to showing the release notes, it tries to get them from github and is done entirely within the extension. This should not be an issue side from those notes not popping up.

The other issue I see is that the import failed, which will cause almost no functionality to work. You can try to do it again manually available in the Metals menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants