# UriFormatException output when interacting with a Git server

2 messages from 2018-03-22 to 2018-03-23. Participants: John Chesshir, Johannes Schindelin.
Thread: https://gitlist.dev/t/48115

## John Chesshir, 2018-03-22 16:40

Subject: UriFormatException output when interacting with a Git server
Message-ID: <DM5PR05MB35484CC117C6E758F520600994A90@DM5PR05MB3548.namprd05.prod.outlook.com>
URL: https://gitlist.dev/e/DM5PR05MB35484CC117C6E758F520600994A90%40DM5PR05MB3548.namprd05.prod.outlook.com

```
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, 2018-03-23 09:42

Subject: Re: UriFormatException output when interacting with a Git server
Message-ID: <nycvar.QRO.7.76.6.1803231039490.77@ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz>
URL: https://gitlist.dev/e/nycvar.QRO.7.76.6.1803231039490.77%40ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz
In-Reply-To: <DM5PR05MB35484CC117C6E758F520600994A90@DM5PR05MB3548.namprd05.prod.outlook.com>

```
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

> 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
```
