When cloning on with git bash on Windows, getting Fatal: UriFormatException encountered











up vote
14
down vote

favorite
4












I am using git bash



$ git --version
git version 2.9.3.windows.1


on Windows 7. When I clone a repo, I see:



$ git clone https://UserName@bitbucket.mycompany.org:5555/scm/repofolder/repo.git
Cloning into 'repo'...
Fatal: UriFormatException encountered.
Fatal: UriFormatException encountered.
Fatal: UriFormatException encountered.
Fatal: UriFormatException encountered.
remote: Counting objects: 2666, done.
remote: Compressing objects: 100% (1426/1426), done.
remote: Total 2666 (delta 1378), reused 2112 (delta 1047)
Receiving objects: 100% (2666/2666), 1.53 MiB | 715.00 KiB/s, done.
Resolving deltas: 100% (1378/1378), done.
Checking connectivity... done.


I suspect that some other problems I am experiencing are related to this UriFormatException. Anyone know why the exception might be occurring and how to resolve the issue?










share|improve this question


























    up vote
    14
    down vote

    favorite
    4












    I am using git bash



    $ git --version
    git version 2.9.3.windows.1


    on Windows 7. When I clone a repo, I see:



    $ git clone https://UserName@bitbucket.mycompany.org:5555/scm/repofolder/repo.git
    Cloning into 'repo'...
    Fatal: UriFormatException encountered.
    Fatal: UriFormatException encountered.
    Fatal: UriFormatException encountered.
    Fatal: UriFormatException encountered.
    remote: Counting objects: 2666, done.
    remote: Compressing objects: 100% (1426/1426), done.
    remote: Total 2666 (delta 1378), reused 2112 (delta 1047)
    Receiving objects: 100% (2666/2666), 1.53 MiB | 715.00 KiB/s, done.
    Resolving deltas: 100% (1378/1378), done.
    Checking connectivity... done.


    I suspect that some other problems I am experiencing are related to this UriFormatException. Anyone know why the exception might be occurring and how to resolve the issue?










    share|improve this question
























      up vote
      14
      down vote

      favorite
      4









      up vote
      14
      down vote

      favorite
      4






      4





      I am using git bash



      $ git --version
      git version 2.9.3.windows.1


      on Windows 7. When I clone a repo, I see:



      $ git clone https://UserName@bitbucket.mycompany.org:5555/scm/repofolder/repo.git
      Cloning into 'repo'...
      Fatal: UriFormatException encountered.
      Fatal: UriFormatException encountered.
      Fatal: UriFormatException encountered.
      Fatal: UriFormatException encountered.
      remote: Counting objects: 2666, done.
      remote: Compressing objects: 100% (1426/1426), done.
      remote: Total 2666 (delta 1378), reused 2112 (delta 1047)
      Receiving objects: 100% (2666/2666), 1.53 MiB | 715.00 KiB/s, done.
      Resolving deltas: 100% (1378/1378), done.
      Checking connectivity... done.


      I suspect that some other problems I am experiencing are related to this UriFormatException. Anyone know why the exception might be occurring and how to resolve the issue?










      share|improve this question













      I am using git bash



      $ git --version
      git version 2.9.3.windows.1


      on Windows 7. When I clone a repo, I see:



      $ git clone https://UserName@bitbucket.mycompany.org:5555/scm/repofolder/repo.git
      Cloning into 'repo'...
      Fatal: UriFormatException encountered.
      Fatal: UriFormatException encountered.
      Fatal: UriFormatException encountered.
      Fatal: UriFormatException encountered.
      remote: Counting objects: 2666, done.
      remote: Compressing objects: 100% (1426/1426), done.
      remote: Total 2666 (delta 1378), reused 2112 (delta 1047)
      Receiving objects: 100% (2666/2666), 1.53 MiB | 715.00 KiB/s, done.
      Resolving deltas: 100% (1378/1378), done.
      Checking connectivity... done.


      I suspect that some other problems I am experiencing are related to this UriFormatException. Anyone know why the exception might be occurring and how to resolve the issue?







      windows-7 bash git clone






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 16 '16 at 15:19









      ericg

      2902311




      2902311






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          14
          down vote



          accepted










          This happens when using GIT for Windows v2.9.3 and using a repository URL that includes a port number. Rollback to v2.9.2 or wait for a fixed version of GIT for Windows.






          share|improve this answer





















          • To rollback, can I just install 2.9.2 over 2.9.3 or do I need to uninstall 2.9.3 first? If I need to uninstall first, how can I do that?
            – ericg
            Aug 16 '16 at 17:36






          • 3




            The GIT for Windows v2.9.2 installer will simply do the downgrade. You can download that version here github.com/git-for-windows/git/releases/tag/v2.9.2.windows.1
            – OomJan
            Aug 16 '16 at 21:30










          • Confirmed. 2.9.3 is simply broken on Windows. 2.9.2 resolved the issues I was having.
            – ericg
            Aug 17 '16 at 12:39






          • 2




            2.9.3(2) is now available which also fixes this issue github.com/git-for-windows/git/releases/tag/v2.9.3.windows.2
            – Tod Thomson
            Aug 26 '16 at 3:47










          • This isn't the case for me, anyone with more information on the actual error and what causes it please share.
            – ESR
            Nov 26 at 2:26


















          up vote
          0
          down vote













          when setting the proxy make sure the username and password does not have any symbols.
          Clean password while setting proxy resolved the issue to me.






          share|improve this answer




























            up vote
            -2
            down vote













            Had the same issue.
            just changed system git to embed git and started working.



            Regards,
            Basavaraj






            share|improve this answer

















            • 3




              Can you explain how to make this change for future readers?
              – DavidPostill
              Mar 28 at 13:53











            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1114193%2fwhen-cloning-on-with-git-bash-on-windows-getting-fatal-uriformatexception-enco%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            14
            down vote



            accepted










            This happens when using GIT for Windows v2.9.3 and using a repository URL that includes a port number. Rollback to v2.9.2 or wait for a fixed version of GIT for Windows.






            share|improve this answer





















            • To rollback, can I just install 2.9.2 over 2.9.3 or do I need to uninstall 2.9.3 first? If I need to uninstall first, how can I do that?
              – ericg
              Aug 16 '16 at 17:36






            • 3




              The GIT for Windows v2.9.2 installer will simply do the downgrade. You can download that version here github.com/git-for-windows/git/releases/tag/v2.9.2.windows.1
              – OomJan
              Aug 16 '16 at 21:30










            • Confirmed. 2.9.3 is simply broken on Windows. 2.9.2 resolved the issues I was having.
              – ericg
              Aug 17 '16 at 12:39






            • 2




              2.9.3(2) is now available which also fixes this issue github.com/git-for-windows/git/releases/tag/v2.9.3.windows.2
              – Tod Thomson
              Aug 26 '16 at 3:47










            • This isn't the case for me, anyone with more information on the actual error and what causes it please share.
              – ESR
              Nov 26 at 2:26















            up vote
            14
            down vote



            accepted










            This happens when using GIT for Windows v2.9.3 and using a repository URL that includes a port number. Rollback to v2.9.2 or wait for a fixed version of GIT for Windows.






            share|improve this answer





















            • To rollback, can I just install 2.9.2 over 2.9.3 or do I need to uninstall 2.9.3 first? If I need to uninstall first, how can I do that?
              – ericg
              Aug 16 '16 at 17:36






            • 3




              The GIT for Windows v2.9.2 installer will simply do the downgrade. You can download that version here github.com/git-for-windows/git/releases/tag/v2.9.2.windows.1
              – OomJan
              Aug 16 '16 at 21:30










            • Confirmed. 2.9.3 is simply broken on Windows. 2.9.2 resolved the issues I was having.
              – ericg
              Aug 17 '16 at 12:39






            • 2




              2.9.3(2) is now available which also fixes this issue github.com/git-for-windows/git/releases/tag/v2.9.3.windows.2
              – Tod Thomson
              Aug 26 '16 at 3:47










            • This isn't the case for me, anyone with more information on the actual error and what causes it please share.
              – ESR
              Nov 26 at 2:26













            up vote
            14
            down vote



            accepted







            up vote
            14
            down vote



            accepted






            This happens when using GIT for Windows v2.9.3 and using a repository URL that includes a port number. Rollback to v2.9.2 or wait for a fixed version of GIT for Windows.






            share|improve this answer












            This happens when using GIT for Windows v2.9.3 and using a repository URL that includes a port number. Rollback to v2.9.2 or wait for a fixed version of GIT for Windows.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 16 '16 at 16:27









            OomJan

            170110




            170110












            • To rollback, can I just install 2.9.2 over 2.9.3 or do I need to uninstall 2.9.3 first? If I need to uninstall first, how can I do that?
              – ericg
              Aug 16 '16 at 17:36






            • 3




              The GIT for Windows v2.9.2 installer will simply do the downgrade. You can download that version here github.com/git-for-windows/git/releases/tag/v2.9.2.windows.1
              – OomJan
              Aug 16 '16 at 21:30










            • Confirmed. 2.9.3 is simply broken on Windows. 2.9.2 resolved the issues I was having.
              – ericg
              Aug 17 '16 at 12:39






            • 2




              2.9.3(2) is now available which also fixes this issue github.com/git-for-windows/git/releases/tag/v2.9.3.windows.2
              – Tod Thomson
              Aug 26 '16 at 3:47










            • This isn't the case for me, anyone with more information on the actual error and what causes it please share.
              – ESR
              Nov 26 at 2:26


















            • To rollback, can I just install 2.9.2 over 2.9.3 or do I need to uninstall 2.9.3 first? If I need to uninstall first, how can I do that?
              – ericg
              Aug 16 '16 at 17:36






            • 3




              The GIT for Windows v2.9.2 installer will simply do the downgrade. You can download that version here github.com/git-for-windows/git/releases/tag/v2.9.2.windows.1
              – OomJan
              Aug 16 '16 at 21:30










            • Confirmed. 2.9.3 is simply broken on Windows. 2.9.2 resolved the issues I was having.
              – ericg
              Aug 17 '16 at 12:39






            • 2




              2.9.3(2) is now available which also fixes this issue github.com/git-for-windows/git/releases/tag/v2.9.3.windows.2
              – Tod Thomson
              Aug 26 '16 at 3:47










            • This isn't the case for me, anyone with more information on the actual error and what causes it please share.
              – ESR
              Nov 26 at 2:26
















            To rollback, can I just install 2.9.2 over 2.9.3 or do I need to uninstall 2.9.3 first? If I need to uninstall first, how can I do that?
            – ericg
            Aug 16 '16 at 17:36




            To rollback, can I just install 2.9.2 over 2.9.3 or do I need to uninstall 2.9.3 first? If I need to uninstall first, how can I do that?
            – ericg
            Aug 16 '16 at 17:36




            3




            3




            The GIT for Windows v2.9.2 installer will simply do the downgrade. You can download that version here github.com/git-for-windows/git/releases/tag/v2.9.2.windows.1
            – OomJan
            Aug 16 '16 at 21:30




            The GIT for Windows v2.9.2 installer will simply do the downgrade. You can download that version here github.com/git-for-windows/git/releases/tag/v2.9.2.windows.1
            – OomJan
            Aug 16 '16 at 21:30












            Confirmed. 2.9.3 is simply broken on Windows. 2.9.2 resolved the issues I was having.
            – ericg
            Aug 17 '16 at 12:39




            Confirmed. 2.9.3 is simply broken on Windows. 2.9.2 resolved the issues I was having.
            – ericg
            Aug 17 '16 at 12:39




            2




            2




            2.9.3(2) is now available which also fixes this issue github.com/git-for-windows/git/releases/tag/v2.9.3.windows.2
            – Tod Thomson
            Aug 26 '16 at 3:47




            2.9.3(2) is now available which also fixes this issue github.com/git-for-windows/git/releases/tag/v2.9.3.windows.2
            – Tod Thomson
            Aug 26 '16 at 3:47












            This isn't the case for me, anyone with more information on the actual error and what causes it please share.
            – ESR
            Nov 26 at 2:26




            This isn't the case for me, anyone with more information on the actual error and what causes it please share.
            – ESR
            Nov 26 at 2:26












            up vote
            0
            down vote













            when setting the proxy make sure the username and password does not have any symbols.
            Clean password while setting proxy resolved the issue to me.






            share|improve this answer

























              up vote
              0
              down vote













              when setting the proxy make sure the username and password does not have any symbols.
              Clean password while setting proxy resolved the issue to me.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                when setting the proxy make sure the username and password does not have any symbols.
                Clean password while setting proxy resolved the issue to me.






                share|improve this answer












                when setting the proxy make sure the username and password does not have any symbols.
                Clean password while setting proxy resolved the issue to me.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 29 at 8:25









                user968227

                1




                1






















                    up vote
                    -2
                    down vote













                    Had the same issue.
                    just changed system git to embed git and started working.



                    Regards,
                    Basavaraj






                    share|improve this answer

















                    • 3




                      Can you explain how to make this change for future readers?
                      – DavidPostill
                      Mar 28 at 13:53















                    up vote
                    -2
                    down vote













                    Had the same issue.
                    just changed system git to embed git and started working.



                    Regards,
                    Basavaraj






                    share|improve this answer

















                    • 3




                      Can you explain how to make this change for future readers?
                      – DavidPostill
                      Mar 28 at 13:53













                    up vote
                    -2
                    down vote










                    up vote
                    -2
                    down vote









                    Had the same issue.
                    just changed system git to embed git and started working.



                    Regards,
                    Basavaraj






                    share|improve this answer












                    Had the same issue.
                    just changed system git to embed git and started working.



                    Regards,
                    Basavaraj







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 28 at 12:52









                    Basavaraj Kambali

                    1




                    1








                    • 3




                      Can you explain how to make this change for future readers?
                      – DavidPostill
                      Mar 28 at 13:53














                    • 3




                      Can you explain how to make this change for future readers?
                      – DavidPostill
                      Mar 28 at 13:53








                    3




                    3




                    Can you explain how to make this change for future readers?
                    – DavidPostill
                    Mar 28 at 13:53




                    Can you explain how to make this change for future readers?
                    – DavidPostill
                    Mar 28 at 13:53


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1114193%2fwhen-cloning-on-with-git-bash-on-windows-getting-fatal-uriformatexception-enco%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How do I know what Microsoft account the skydrive app is syncing to?

                    When does type information flow backwards in C++?

                    Grease: Live!