{"record":{"id":"8ff8853701279868","repo":"tinyhumansai/openhuman","slug":"deep-link-openhuman-scheme-registration-unhea","errorCode":null,"errorMessage":"[deep-link] openhuman:// scheme registration unhealthy — OAuth callbacks may never reach the app. register_all_error={register_err:?}, hkcu_status={status_log}. See gitbooks/overview/troubleshooting-sign-in.md (\"Windows: openhuman:// handler not registered\") for the manual repair.","messagePattern":"\\[deep-link\\] openhuman:// scheme registration unhealthy — OAuth callbacks may never reach the app\\. register_all_error=(.+?), hkcu_status=(.+?)\\. See gitbooks/overview/troubleshooting-sign-in\\.md \\(\"Windows: openhuman:// handler not registered\"\\) for the manual repair\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"app/src-tauri/src/lib.rs","lineNumber":2910,"sourceCode":"                // it only logs at `warn` — when its single internal write\n                // fails outright; it does not verify what's on disk. Issue\n                // #2699 reports OAuth callbacks silently disappearing on\n                // some Windows installs, which traced back to a missing or\n                // stale `command` value here. Read it back and log loudly\n                // (Sentry-level `error`) so the failure mode is observable\n                // in support logs; we deliberately do NOT auto-repair —\n                // writing the wrong exe path can brick a working install.\n                let register_err = app.deep_link().register_all().err();\n                let status = deep_link_registration_check::verify_protocol_registration();\n                let status_log = status.redacted();\n                if register_err.is_none() && status.is_healthy() {\n                    log::info!(\"[deep-link] openhuman:// scheme registered ({status_log})\");\n                } else {\n                    // Use the redacted form so per-user install paths\n                    // (`C:\\Users\\<username>\\...`) do not land in Sentry / user\n                    // logs — basenames are kept so the diagnostic still\n                    // identifies the registered exe.\n                    log::error!(\n                        \"[deep-link] openhuman:// scheme registration unhealthy — \\\n                         OAuth callbacks may never reach the app. \\\n                         register_all_error={register_err:?}, hkcu_status={status_log}. \\\n                         See gitbooks/overview/troubleshooting-sign-in.md \\\n                         (\\\"Windows: openhuman:// handler not registered\\\") for the manual repair.\"\n                    );\n                }\n                deep_link_ipc_windows::drain_pending_urls(app.app_handle());\n            }\n            #[cfg(target_os = \"linux\")]\n            {\n                // `tauri-plugin-deep-link::register_all` on Linux shells out\n                // to `xdg-mime`, `update-desktop-database`, and\n                // `xdg-icon-resource` in sequence to install MIME-type\n                // associations for our custom URL schemes. On Linux installs\n                // that ship without one or more of those binaries — WSL2\n                // without a desktop env, headless servers, minimal\n                // containers (OPENHUMAN-TAURI-AS: WSL2 user in BR;","sourceCodeStart":2892,"sourceCodeEnd":2928,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/app/src-tauri/src/lib.rs#L2892-L2928","documentation":"Error \"[deep-link] openhuman:// scheme registration unhealthy — OAuth callbacks may never reach the app. register_all_error={register_err:?}, hkcu_status={status_log}. See gitbooks/overview/troubleshooting-sign-in.md (\"Windows: openhuman:// handler not registered\") for the manual repair.\" thrown in tinyhumansai/openhuman.","triggerScenarios":"Thrown at app/src-tauri/src/lib.rs:2910 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Follow the referenced manual repair in gitbooks/overview/troubleshooting-sign-in.md ('Windows: openhuman:// handler not registered')","Manually set HKCU\\Software\\Classes\\openhuman\\shell\\open\\command to the installed openhuman.exe path (quote the path, append the invocation args matching the existing value shape)","Re-run sign-in and confirm the browser redirect reaches the app","Do not attempt an in-app auto-repair — writing a wrong exe path can brick a working install, which is why the code only reports"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}