spacedriveapp/spacedrive · error · anyhow::Error
Device {} not found in registry (not paired or offline)
Error message
Device {} not found in registry (not paired or offline) What it means
Error "Device {} not found in registry (not paired or offline)" thrown in spacedriveapp/spacedrive.
Source
Thrown at core/src/service/network/protocol/sync/transport.rs:124
/// Send a sync request and wait for response
///
/// Uses bidirectional streams for proper request/response pattern (Iroh best practice)
async fn send_sync_request(
&self,
target_device: Uuid,
request: SyncMessage,
) -> Result<SyncMessage> {
use tokio::io::{AsyncReadExt, AsyncWriteExt};
use tokio::time::{timeout, Duration};
// Look up NodeId for device UUID
let node_id = {
let registry = self.device_registry.read().await;
registry
.get_node_id_for_device(target_device)
.ok_or_else(|| {
anyhow::anyhow!(
"Device {} not found in registry (not paired or offline)",
target_device
)
})?
};
debug!(
device_uuid = %target_device,
node_id = %node_id,
message_type = ?std::mem::discriminant(&request),
library_id = %request.library_id(),
"Sending sync request"
);
// Get endpoint
let endpoint = self
.endpoint
.as_ref()View on GitHub (pinned to 6dfeccf211)
When it happens
Trigger: Thrown at core/src/service/network/protocol/sync/transport.rs:124 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of spacedriveapp/spacedrive@6dfeccf211 (2026-08-16).
Data as JSON: /api/errors/215305c72612c9e4.
Report an issue: GitHub.