{"record":{"id":"54b576ffb4db02a5","repo":"zed-industries/zed","slug":"room-is-offline","errorCode":null,"errorMessage":"room is offline","messagePattern":"room is offline","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/call/src/call_impl/room.rs","lineNumber":1183,"sourceCode":"                assert!(self.participant_user_ids.contains(&participant.legacy_id));\n                assert_ne!(participant.legacy_id, self.client.user_id().unwrap());\n            }\n\n            assert_eq!(\n                self.participant_user_ids.len(),\n                self.remote_participants.len() + self.pending_participants.len()\n            );\n        }\n    }\n\n    pub(crate) fn call(\n        &mut self,\n        called_user_id: u64,\n        initial_project_id: Option<u64>,\n        cx: &mut Context<Self>,\n    ) -> Task<Result<()>> {\n        if self.status.is_offline() {\n            return Task::ready(Err(anyhow!(\"room is offline\")));\n        }\n\n        cx.notify();\n        let client = self.client.clone();\n        let room_id = self.id;\n        self.pending_call_count += 1;\n        cx.spawn(async move |this, cx| {\n            let result = client\n                .request(proto::Call {\n                    room_id,\n                    called_user_id,\n                    initial_project_id,\n                })\n                .await;\n            this.update(cx, |this, cx| {\n                this.pending_call_count -= 1;\n                if this.should_leave() {\n                    this.leave(cx).detach_and_log_err(cx);","sourceCodeStart":1165,"sourceCodeEnd":1201,"githubUrl":"https://github.com/zed-industries/zed/blob/f4178619acd0d47ea1f76a2025c42962c6d6638c/crates/call/src/call_impl/room.rs#L1165-L1201","documentation":"Room::call checked the room's connection status before dialing and found it offline (disconnected from the collaboration server); the task fails immediately because signaling for an outgoing call is impossible without a live room connection.","triggerScenarios":"Thrown at crates/call/src/call_impl/room.rs:1183 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Wait for the room to reconnect to the collaboration server, then retry the call","Rejoin the room if the connection was dropped permanently","Check network connectivity / sign-in state that caused the offline status"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f4178619acd0d47ea1f76a2025c42962c6d6638c","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}