question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub Desktop unable to fetch ("url has no scheme")

See original GitHub issue

Update: This has been fixed for Windows in the latest release of Desktop (production v2.4.3 and beta v2.4.4-beta0). We are still investigating a fix for macOS.

Describe the bug

I cannot seem to fetch origin ever since the update to Github Desktop recently, every time I attempt to do this, I get the following error message: warning: url has no scheme: helperselector fatal: credential url cannot be parsed: helperselector

Version & OS

Github Desktop Version 2.4.2 Windows 10 Home - Build 18363.889

Steps to reproduce the behavior

  1. Go to the main screen.
  2. Click on Fetch Origin
  3. See error

Expected behavior

I expected to fetch origin.

Actual behavior

Github spits out an error message. I’m very unsure on what the next steps to do since using other git UI applications seem to work properly, and previous versions of github desktop on a different computer works properly, so something must have changed in this version that causes it to suddenly stop working. I’ve already logged in and out of Github several times, reinstalled Github Desktop a few other times, but I still run into this issue.

Screenshot of Error Message

screenshot 1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:29
  • Comments:57 (18 by maintainers)

github_iconTop GitHub Comments

34reactions
koidecommented, Apr 22, 2020

Found a solution that worked for me.

Open your .gitconfig (Under C:\Users\<username>) and if you have an entry

[credential "url_without_scheme"]

change it for

[credential "https://url_without_scheme"]

That fixed it for me. It can help the investigation and might fix it for you!

19reactions
dschocommented, Apr 22, 2020

@Aravind-Belagaje thank you for posting this! Now it all makes sense.

To fix this in your setup, simply run:

git config --unset --global credential.helperselector

on the command-line, or remove the lines

[credential "helperselector"]
	selected = manager
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can not able to fetch origin warning: url has no scheme ...
This is an issue that has been introduced in the latest GitHub Desktop release. We're currently investigating it in #9597 so I'm going...
Read more >
warning: url has no scheme: helperselector appears after ...
Describe the bug After updating the Desktop Github application, whenever I push and pull, I get a popup with the following message: warning: ......
Read more >
warning: url has no scheme: github.com Error #9600
Open 'About GitHub Desktop' menu to see the Desktop version. Also include what operating system you are using. Steps to reproduce the behavior....
Read more >
error: warning: url has no scheme · Issue #9622 - GitHub
I cant pull or push my changes. error: warning: url has no scheme: helperselector fatal: credential url cannot be parsed: helperselector.
Read more >
When pushing to remote I get this warning warning: url has no ...
2020-04-24T14:10:24.952Z - error: [ui] git -c credential.helper= -c protocol.version=2 push origin bmsdev:bmsdev --progress exited with an ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found