zed
zed copied to clipboard
Can't install extensions
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
Read title. This is basically a duplicate of https://github.com/zed-industries/zed/issues/10330, but the logs are different
Environment
Fedora 40.
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
2024-07-13T09:52:20+02:00 [INFO] installing extension html latest version 2024-07-13T09:52:26+02:00 [WARN] request completed with error: request or operation took longer than the configured timeout time 2024-07-13T09:52:26+02:00 [ERROR] error downloading extension: request or operation took longer than the configured timeout time
one workaround to install extension:
Finding the extension link
an example link: https://api.zed.dev/extensions/<EXTENSION_ID>/download
where to get EXTENSION_ID?
- go to extensions
- find the extension you want to install
- on the right side you can see its button "Install" and the "Github icon"
- click the Github icon so it'll go to the github page
- open the
extension.toml - look for the
id, in this example:
id = "macos-classic" <--- this ID
name = "macOS Classic Theme"
description = "A macOS native style theme, let it same like native app in macOS."
version = "0.0.8"
schema_version = 1
authors = ["Jason Lee <[email protected]>"]
repository = "https://github.com/huacnlee/zed-theme-macos-classic"
so the link will be: https://api.zed.dev/extensions/macos-classic/download
Download the extension using a disposable browser or another way
You can use vpn or any as long as you can download the said link
OR
Visit this site: https://sqrx.com, then click personal. In this step you can use e.g. Brave or Chrome (I think Firefox not supported on this site). From there you can download the link
Where to save the extension after downloading it
- Close Zed editor
- extract the
archive.tar.gzfile and rename the extracted folder according to the extension id - copy the extracted folder on these path:
- osx:
~/Library/Application\ Support/Zed/extensions/installed/extracted_folder_name - ubuntu:
~/.local/share/zed/extensions/installed/extracted_folder_name
- osx:
Then open Zed, check if installed. Lmk if this works.
Thanks, even though I had preceded you. It does work.
I'm going to go ahead and close this as unactionable.
For the moment we are using Digital Ocean Spaces (S3 compat) for storage of Extension artifacts. This service appears to be blocked by some networks (considered Malware). Perhaps we will migrate to another service at some point in the future in attempt to fix this, but convincing random network operators (mostly foreign) to stop using a block list of unknown origin is out of scope at this time.
If you or anyone has any leads about the source of these IP-block list, I would be happy to investigate further.
Thanks for reporting.