zed icon indicating copy to clipboard operation
zed copied to clipboard

Frequent Disconnects / Doesn't automatically reconnect

Open mackcoding opened this issue 7 months ago • 12 comments

Summary

My team is using Zed, and we are frequently disconnected at random. Zed does not auto-reconnect, nor does it have an option to reconnect that I can see.

Description

While using Zed, I'm experiencing frequent disconnections regardless of channel status. These disconnections are indicated by a cloud icon in the top right corner, signaling lost connection to Zed services:

Image

The issue prevents use of channel notes, contacts, and other cloud-dependent functionality, requiring a complete editor reload to restore connectivity. The frequency of these disconnections has increased noticeably in recent weeks. My setup includes Ubuntu 24.10 with Zed 0.185.10 installed via flatpak, and I'm running with default configurations without any custom modifications that might cause this behavior.

Steps to reproduce: No real steps to reproduce. I'm working on code and it randomly disconnects.

Expected Behavior: Stay connected to the cloud, and if there is a disconnect (from computer going to sleep, internet outage, etc), Zed should auto reconnect or have a button to reconnect.

Actual Behavior: Zed disconnects at random.

My zed log: Zed.log

Zed Version and System Specs

Zed: v0.185.10 (Zed) OS: Linux Wayland ubuntu 24.10 Memory: 59.6 GiB Architecture: x86_64 GPU: AMD Radeon Graphics (RADV GFX1103_R1) || radv || Mesa 24.2.8-1ubuntu1~24.10.1

(edit: just saw .12 was released today, so I upgraded and will report back) (edit 2: it hasn't happened as frequent with .12, but my notes did get disconnected)

mackcoding avatar May 08 '25 14:05 mackcoding

There is a client: reconnect command in the command palette (Ctrl-Shift-P). Usually works for me.

Automatic reconnect would definitely be nice to have though.

im-0 avatar May 09 '25 08:05 im-0

There is a client: reconnect command in the command palette (Ctrl-Shift-P). Usually works for me.

Automatic reconnect would definitely be nice to have though.

Thanks! Totally forget to check for that. Yeah, automatic reconnect would be really nice. It's definitely less frequent on the .12 version, but still is happening.

mackcoding avatar May 09 '25 19:05 mackcoding

This very annoying

taras-mrtn avatar May 21 '25 15:05 taras-mrtn

Seems to be fixed. At least for me, Zed was always connected for almost a week without the need to manually reconnect.

im-0 avatar May 28 '25 08:05 im-0

It's definitely not fixed. I got disconnected today, and had to reload because reconnect didn't work.

mackcoding avatar Jun 03 '25 16:06 mackcoding

I am still having the issue. client: reconnect sometimes work. It is quiet random. I am on a M2 mac.

zahidcseku avatar Jul 09 '25 04:07 zahidcseku

I'm also having this issue connecting between two computers on LAN.

cuevasclemente avatar Jul 11 '25 20:07 cuevasclemente

me too. On M2 and it disconnects randomly after short period only

Bhartendu-Kumar avatar Jul 19 '25 05:07 Bhartendu-Kumar

Frustrating experience that this persists as an issue.

wesort avatar Aug 29 '25 10:08 wesort

Arch Linux, pacman install of Zed 0.200.5. Can't even sign in. Hitting sign in and cloud pops up, no matter what. Killed my VPN and same deal.

zygotron avatar Sep 04 '25 02:09 zygotron