zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.53k stars 3.03k forks source link

Cannot download any extensions #14699

Open brenfwd opened 3 months ago

brenfwd commented 3 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I can't download any extensions in Zed. I get a timeout error in Zed.

When I try to visit the API in the browser to download an archive, I get this when visiting https://api.zed.dev/extensions/make/download:

image

Execution Error: error returned from database: could not serialize access due to read/write dependencies among transactions

I can successfully download an extension in the browser using https://collab-staging.zed.dev/extensions/make/download

Environment

Zed: v0.144.3 (Zed) OS: Linux X11 ubuntu 24.04 Memory: 58.7 GiB Architecture: x86_64

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-17T20:51:43.28633431-04:00 [INFO] installing extension make latest version
2024-07-17T20:51:48.29503476-04:00 [WARN] request completed with error: request or operation took longer than the configured timeout time
2024-07-17T20:51:48.295124147-04:00 [ERROR] error downloading extension: request or operation took longer than the configured timeout time
tonyarnold commented 3 months ago

I'm seeing this as well on macOS.

JosephTLyons commented 3 months ago

cc: @maxdeviant

maxdeviant commented 3 months ago

Is this issue intermittent?

I'm not able to reproduce by going to https://api.zed.dev/extensions/make/download in my browser. For me it downloads an archive.tar.gz successfully.