zed-industries/zed · error
failed to ring user
Error message
failed to ring user
What it means
Terminal failure in the call flow: the called user could not be rung (delivery failed, timed out, or was declined/unreachable) and the server has already marked the call failed via call_failed and notified the room. This error is returned to the caller to report the failed ring attempt.
Solutions
- Confirm the called user is online and reachable
- Retry the call; transient delivery failures may succeed on a second attempt
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at crates/collab/src/rpc.rs:1803 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zed-industries/zed@9d272b0363 (2026-08-20).
Data as JSON: /api/errors/b4ed8d1f02aa2cd8.
Report an issue: GitHub.
Appendix: source
Thrown at crates/collab/src/rpc.rs:1810
response.send(proto::Ack {})?;
return Ok(());
}
Err(_) => {
call_response.trace_err();
}
}
}
{
let room = session
.db()
.await
.call_failed(room_id, called_user_id)
.await?;
room_updated(&room, &session.peer);
}
update_user_contacts(called_user_id, &session).await?;
Err(anyhow!("failed to ring user"))?
}
/// Cancel an outgoing call.
async fn cancel_call(
request: proto::CancelCall,
response: Response<proto::CancelCall>,
session: MessageContext,
) -> Result<()> {
let called_user_id = UserId::from_proto(request.called_user_id);
let room_id = RoomId::from_proto(request.room_id);
{
let room = session
.db()
.await
.cancel_call(room_id, session.connection_id, called_user_id)
.await?;
room_updated(&room, &session.peer);View on GitHub (pinned to 9d272b0363)