threads / discuss / 48115

UriFormatException output when interacting with a Git server

Subject: UriFormatException output when interacting with a Git server

## tl;dr

2 messages between Mar 22, 2018 and Mar 23, 2018.

replies: 1people: 2as markdown or json

John Chesshir· Mar 22, 2018, 16:40 UTC · lore
I'm getting this error on a fresh install of git version 2.16.2.windows.1:
fatal: UriFormatException encountered.
   queryUrl
See this post I found, https://stackoverflow.com/questions/48775400/git-fatal-uriformatexception-encountered-actualurl for more details.  Note that the latest comments are mine, and describe the conditions on which I first saw the problem.  I'll warn you, it's weird.

Thank you, John Chesshir

P.S.  I also found this older post, which appears related, but has clearly been fixed: https://superuser.com/questions/1114193/when-cloning-on-with-git-bash-on-windows-getting-fatal-uriformatexception-enco.  Include just in case that helps get closer to the latest problem.
Johannes Schindelin· Mar 23, 2018, 09:42 UTC · re: John Chesshir · lore

Re: UriFormatException output when interacting with a Git server

Hi John,
On Thu, 22 Mar 2018, John Chesshir wrote:
> I'm getting this error on a fresh install of git version 2.16.2.windows.1:
> 
> fatal: UriFormatException encountered.
>    queryUrl
Thank you for posting this report.

I would like to ask for more information, though. Ideally, open a bug report at https://github.com/git-for-windows/git/issues/new which has a template to fill out the most important information.

In particular, I would like to know
- what command you ran, and
- whether you have a reliable reproducer
Show 5 quoted lines
> See this post I found,
> https://stackoverflow.com/questions/48775400/git-fatal-uriformatexception-encountered-actualurl
> for more details.  Note that the latest comments are mine, and describe
> the conditions on which I first saw the problem.  I'll warn you, it's
> weird.

If this is a bug in Git (or more likely in Git Credential Manager, judging by the error message), you are more likely to receive assistance in fixing that bug on the special-purpose bug tracker on GitHub.

Ciao, Johannes

← back to recent threads