{"record":{"id":"fb19e3a583467535","repo":"spacedriveapp/spacedrive","slug":"failed-to-start-networking-service","errorCode":null,"errorMessage":"Failed to start networking service: {}","messagePattern":"Failed to start networking service: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/src/service/mod.rs","lineNumber":206,"sourceCode":"\t\t\t\t.await\n\t\t\t\t.map_err(|e| anyhow::anyhow!(\"Failed to create networking service: {}\", e))?;\n\n\t\tself.networking = Some(Arc::new(networking_service));\n\t\tOk(())\n\t}\n\n\t/// Start networking service after initialization\n\tpub async fn start_networking(&self) -> Result<()> {\n\t\tif let Some(networking) = &self.networking {\n\t\t\t// Create a temporary mutable reference to start the service\n\t\t\t// This is safe because start() is only called once during initialization\n\t\t\tlet networking_ptr =\n\t\t\t\tArc::as_ptr(networking) as *mut crate::service::network::NetworkingService;\n\t\t\tunsafe {\n\t\t\t\t(*networking_ptr)\n\t\t\t\t\t.start()\n\t\t\t\t\t.await\n\t\t\t\t\t.map_err(|e| anyhow::anyhow!(\"Failed to start networking service: {}\", e))?;\n\t\t\t}\n\t\t}\n\t\tOk(())\n\t}\n\n\t/// Get networking service if initialized\n\tpub fn networking(&self) -> Option<Arc<NetworkingService>> {\n\t\tself.networking.clone()\n\t}\n\n\t/// Initialize volume monitor service\n\tpub fn init_volume_monitor(\n\t\t&mut self,\n\t\tvolume_manager: Arc<crate::volume::VolumeManager>,\n\t\tlibrary_manager: std::sync::Weak<crate::library::LibraryManager>,\n\t) {\n\t\tinfo!(\"Initializing volume monitor service\");\n","sourceCodeStart":188,"sourceCodeEnd":224,"githubUrl":"https://github.com/spacedriveapp/spacedrive/blob/6dfeccf2113039e35f2ce735f945e70dc3e4ea45/core/src/service/mod.rs#L188-L224","documentation":"Error \"Failed to start networking service: {}\" thrown in spacedriveapp/spacedrive.","triggerScenarios":"Thrown at core/src/service/mod.rs:206 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6dfeccf2113039e35f2ce735f945e70dc3e4ea45","analyzedAt":"2026-08-16T11:26:17.074Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}