{"record":{"id":"46aa12f43dc8b66c","repo":"zed-industries/zed","slug":"unsupported-remote-url","errorCode":null,"errorMessage":"Unsupported remote URL: {}","messagePattern":"Unsupported remote URL: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/git_ui/src/git_panel.rs","lineNumber":4273,"sourceCode":"\n        let Some(repo) = self.active_repository.clone() else {\n            return;\n        };\n        if !self.start_remote_operation(RemoteOperationKind::Fetch, cx) {\n            return;\n        }\n\n        telemetry::event!(\"Git Fetched\");\n        let askpass = self.askpass_delegate(\"git fetch\", window, cx);\n        let this = cx.weak_entity();\n\n        let fetch_options = if is_fetch_all {\n            Task::ready(Some(FetchOptions::All))\n        } else {\n            self.get_fetch_options(window, cx)\n        };\n\n        window\n            .spawn(cx, async move |cx| {\n                let _clear_pending_remote_operation = cx.on_drop(&this, |this, cx| {\n                    this.clear_remote_operation(cx);\n                });\n\n                let Some(fetch_options) = fetch_options.await else {\n                    return Ok(());\n                };\n                let fetch = repo.update(cx, |repo, cx| {\n                    repo.fetch(fetch_options.clone(), askpass, cx)\n                });\n\n                let remote_message = fetch.await?;\n                this.update(cx, |this, cx| {\n                    let action = match fetch_options {\n                        FetchOptions::All | FetchOptions::Unshallow => RemoteAction::Fetch(None),\n                        FetchOptions::Remote(remote) => RemoteAction::Fetch(Some(remote)),\n                    };","sourceCodeStart":4255,"sourceCodeEnd":4291,"githubUrl":"https://github.com/zed-industries/zed/blob/5a9b9558db01a6b906cec2fb70a797affdc58cdd/crates/git_ui/src/git_panel.rs#L4255-L4291","documentation":"Guard in create_pull_request: the resolved remote URL string does not match any registered GitHostingProvider (ssh/https patterns), so parse_git_remote_url returned None and no PR URL can be built for this host.","triggerScenarios":"Thrown at crates/git_ui/src/git_panel.rs:4265 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the remote URL with `git remote -v`; it must be a https/ssh URL a registered hosting provider (GitHub, GitLab, etc.) can parse","Re-point origin to a standard URL: `git remote set-url origin https://github.com/<owner>/<repo>.git`","If you use a self-hosted or custom host, ensure a matching GitHostingProvider is registered in Zed settings","Push with the CLI instead: `git push -u origin <branch>` and open the PR on the provider's website"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5a9b9558db01a6b906cec2fb70a797affdc58cdd","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}