zed icon indicating copy to clipboard operation
zed copied to clipboard

error download extensions

Open devcerdix opened this issue 9 months ago • 2 comments

Summary

why does this happen every time I install an extension? even though I install any extension, so until now I only use zed editor for programming in rust

2025-05-06T11:49:30+08:00 INFO [extension_host] installing extension dart latest version 2025-05-06T11:49:42+08:00 ERROR [unknown] error downloading extension: error sending request for url (https://zed-extensions.nyc3.digitaloceanspaces.com/extensions/dart/0.2.0/archive.tar.gz?x-id=GetObject&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=DO0024BKKDAMB3MYP3DP%2F20250506%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20250506T034932Z&X-Amz-Expires=180&X-Amz-SignedHeaders=host&X-Amz-Signature=87679ab008115e5aca69b7cf1cbfb6aa34bb91b15ec4b115fa6efaa4062b1f7d)

Zed Version and System Specs

Zed preview 0.185.6 6b5c834659cd251a5ea01f364d14a2b999fa93b1 – /home/cerdix/.local/zed-preview.app/libexec/zed-editor

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

2025-05-06T11:49:30+08:00 INFO [extension_host] installing extension dart latest version 2025-05-06T11:49:42+08:00 ERROR [unknown] error downloading extension: error sending request for url (https://zed-extensions.nyc3.digitaloceanspaces.com/extensions/dart/0.2.0/archive.tar.gz?x-id=GetObject&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=DO0024BKKDAMB3MYP3DP%2F20250506%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20250506T034932Z&X-Amz-Expires=180&X-Amz-SignedHeaders=host&X-Amz-Signature=87679ab008115e5aca69b7cf1cbfb6aa34bb91b15ec4b115fa6efaa4062b1f7d)

devcerdix avatar May 06 '25 04:05 devcerdix

By any chance, is there anything else more in the logs, explaining the error?

Are you in China or anywhere else behind the firewall?

SomeoneToIgnore avatar May 06 '25 04:05 SomeoneToIgnore

Hi, I'm having this issue when I try to install any extensions.

Logs show the following when I try to install the Prisma extension:

2025-05-12T12:43:52+07:00 INFO  [extension_host] installing extension prisma latest version
2025-05-12T12:44:02+07:00 ERROR [*unknown*] error downloading extension: error sending request for url (https://zed-extensions.nyc3.digitaloceanspaces.com/extensions/prisma/0.1.0/archive.tar.gz?x-id=GetObject&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=DO0024BKKDAMB3MYP3DP%2F20250512%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20250512T054352Z&X-Amz-Expires=180&X-Amz-SignedHeaders=host&X-Amz-Signature=9e7f32da8ce1a138fbd667fddc08e974d0f2fe3f006bf146f950fe2df4bcc1f0)

I can resolve the dns for zed-extensions.nyc3.digitaloceanspaces.com, however no responses come up when I try to ping nor curl it:

$ ping zed-extensions.nyc3.digitaloceanspaces.com
PING zed-extensions.nyc3.digitaloceanspaces.com (162.243.189.2) 56(84) bytes of data.
^C
--- zed-extensions.nyc3.digitaloceanspaces.com ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7147ms

$ curl -v https://zed-extensions.nyc3.digitaloceanspaces.com
* Host zed-extensions.nyc3.digitaloceanspaces.com:443 was resolved.
* IPv6: (none)
* IPv4: 162.243.189.2
*   Trying 162.243.189.2:443...

I should note that my ip location is at Indonesia, and I am accessing from Indonesia

I was originally trying to move away from Visual Studio Code and found zed a potential alternative, but with this issue I couldn't really test if zed could fully replace VSC 😅 Would be appreciated if this could be fixed

RadiatedExodus avatar May 12 '25 05:05 RadiatedExodus

I stumbled upon this as I was connected to mobile data while downloading extensions. It seems my phone's network was spoofing the TLS certificates (I ran openssl s_client -connect zed-extensions.nyc3.digitaloceanspaces.com:443 -showcerts, and connecting to my WiFi shows the original Digital Ocean certs).

Fascinating... to say the least. Anyway, it seems the cert checking of zed is strict that's why the connection is refused?

katuwiran avatar Oct 11 '25 09:10 katuwiran

2025-12-11T09:47:50-05:00 ERROR [crates/extension_host/src/extension_host.rs:1500] No extension manifest found for extension catppuccin-icons

Faraclas avatar Dec 11 '25 14:12 Faraclas