Git fatal: met by UriFormatException. actualUrl

I keep getting this error whether I am synchronizing in Visual Studio 2017 or just doing PUSH using Git Bash. The PUSH / PULL commands seem to work, but I still see this error and would like it to go away.

My Git Credential Manager for Windows - version 1.14.0 My Git version - 2.16.1.windows.4

I uninstalled both Git and Visual Studio 2017, and re-installed and keep getting the same error. I use VSTS for my Git repository, so this is the url.

Here's a look at the actual error: Error moving to remote repository: Git failed with a fatal error. UriFormatException failed. actualUrl

Thank you in advance for any suggestions!

+4
source share
3 answers

Admittedly, my problem ended with an oversight on my part. We received 443 errors when connecting our projects to VSTS. The fix was to add entries to our C: \ Users \ .gitconfig file to use the proxy server.

GOOD entries look like this:

[HTTP] proxy = http://username:password@XXX.XXX.X.XXX:XXXX

[HTTPS] proxy = http://username:password@XXX.XXX.X.XXX:XXXX

In my original entries, I accidentally left & lt;> in the URL bar, so I get a UriFormatException error.

Invalid input:

proxy = http://username:<password>@XXX.XXX.X.XXX:XXXX

Hope this helps someone else catch this stupid oversight!

0
source

I get an error, which is pretty much the same problem, I think:

fatal: UriFormatException encountered.
   queryUrl

WAN , , GIT - SSL , . , GIT , . - github - .

URL- , , - ?

0

In my case, it was a problem with the file C: \ Users.gitconfig.

The line proxy was: proxy = http [s]: // username: password @proxyUrl: port

Having removed the square brackets, we achieved the goal:

proxy = http: // username: password @proxyUrl: port

0
source

Source: https://habr.com/ru/post/1693597/


All Articles