zed icon indicating copy to clipboard operation
zed copied to clipboard

Language server error: Rust

Open zhayes opened this issue 1 year ago • 8 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

Language server error: Rust

error downloading release: request or operation took longer than the configured timeout time

Environment

Zed 0.119.20 Apple M1 14.0 (23A344)

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

zhayes avatar Jan 29 '24 09:01 zhayes

+1

bestgopher avatar Jan 29 '24 10:01 bestgopher

+1

Please add a “👍🏻” reaction to the main issue to show your support for an issue.

Not only does this prevent noise in the comments, but we also use this in our automated scripts for ranking issues.

maxdeviant avatar Jan 29 '24 13:01 maxdeviant

@maxdeviant Is is possible to add a PROXY setting to config a proxy server to use to download lsp? For some reasons,we maybe encounter some network issues cause some network task timeout.

bestgopher avatar Jan 30 '24 01:01 bestgopher

@maxdeviant Is is possible to add a PROXY setting to config a proxy server to use to download lsp? For some reasons,we maybe encounter some network issues cause some network task timeout.

Looks like we have an open PR that makes the HTTP client respect a proxy environment variable: https://github.com/zed-industries/zed/pull/6765

maxdeviant avatar Jan 30 '24 01:01 maxdeviant

@maxdeviant Is is possible to add a PROXY setting to config a proxy server to use to download lsp? For some reasons,we maybe encounter some network issues cause some network task timeout.

Looks like we have an open PR that makes the HTTP client respect a proxy environment variable: #6765

Whether the timeout period can be extended?

zhayes avatar Jan 30 '24 01:01 zhayes

@maxdeviant Is is possible to add a PROXY setting to config a proxy server to use to download lsp? For some reasons,we maybe encounter some network issues cause some network task timeout.

Looks like we have an open PR that makes the HTTP client respect a proxy environment variable: #6765

The agent cannot be downloaded after being configured

zhayes avatar Jan 30 '24 03:01 zhayes

@maxdeviant Is is possible to add a PROXY setting to config a proxy server to use to download lsp? For some reasons,we maybe encounter some network issues cause some network task timeout.

Looks like we have an open PR that makes the HTTP client respect a proxy environment variable: #6765

The agent cannot be downloaded after being configured

I copied the rust-analyzer binary to ~/Library/Application Support/Zed/languages/rust-analyzer and it works fine. @maxdeviant It would be nice if there was an option to set up the local executable file without having to download it from the network.

bestgopher avatar Feb 01 '24 09:02 bestgopher

I think this is just the network problem, It works when I change the network from company to my home.

zouy50 avatar Feb 01 '24 11:02 zouy50

The proxy support hasn't gone out to stable yet, it will land in the stable channel this Wednesday. I'm going to close this for now, please let us know if you aren't actually behind a proxy or if the proxy support was not sufficient

ForLoveOfCats avatar Feb 05 '24 19:02 ForLoveOfCats

When I set HTTPS_PROXY=http://xxxx zed, it started working for me now. you should retry it.

@maxdeviant Is is possible to add a PROXY setting to config a proxy server to use to download lsp? For some reasons,we maybe encounter some network issues cause some network task timeout.

Looks like we have an open PR that makes the HTTP client respect a proxy environment variable: #6765

The agent cannot be downloaded after being configured

LgnMs avatar Apr 10 '24 02:04 LgnMs