Cannot clone repo on windows fatal: unable to access. The requested URL returned error: 403Setting up two SSH...

Do people actually use the word "kaputt" in conversation?

DisplayForm problem with pi in FractionBox

Norwegian Refugee travel document

TDE Master Key Rotation

Have the tides ever turned twice on any open problem?

Could any one tell what PN is this Chip? Thanks~

Print a physical multiplication table

What is the tangent at a sharp point on a curve?

Recursively updating the MLE as new observations stream in

How to balance a monster modification (zombie)?

Animating wave motion in water

is this saw blade faulty?

Pre-Employment Background Check With Consent For Future Checks

label a part of commutative diagram

Have any astronauts/cosmonauts died in space?

Can "few" be used as a subject? If so, what is the rule?

How do researchers send unsolicited emails asking for feedback on their works?

Turning a hard to access nut?

Jem'Hadar, something strange about their life expectancy

Why does Surtur say that Thor is Asgard's doom?

How do you justify more code being written by following clean code practices?

Does convergence of polynomials imply that of its coefficients?

Emojional cryptic crossword

What is the difference between something being completely legal and being completely decriminalized?



Cannot clone repo on windows fatal: unable to access. The requested URL returned error: 403


Setting up two SSH keys for two git repos from Windows 7How to setup git repo in order to push as currently the remote reject it?Unable to git pull while using puttyWorking with Git and remote repositoriesgit clone replicates submodules, but they are not repos anymoreGit - Error invalid pathGit suddenly started to choke on “git pull” for only one repoGit GUI on Windows not working with self-signed SSL certificates - gives errors (fatal: SSL certificate)Git, can't clone new working copyConfigure proxy for git on mac













0















I have set up Gerrit repository on non-standard port 10002. I have generated my HTTP password in Gerrit. I can successfully clone this repo over HTTP protocol on Unix machines and on most of Windowses. However, I cannot clone it on some Windows instances (Windows 7):



$ git clone http://myusername@myGerrit.com:10002/my-repo
Cloning into 'my-repo'...
fatal: unable to access 'http://myusername@myGerrit.com:10002/my-repo': The requested URL returned error: 403


Cloning over SSH works without any problem. I need HTTP clone working because I need to clone this repo's not only on many machines without my private key.



I have tried turning off Windows Firewall and Microsoft Security Essentials. Not working instances does not have any antivir installed.



How to check what is blockig repo connection?



This question does not help.










share|improve this question
















bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I have set up Gerrit repository on non-standard port 10002. I have generated my HTTP password in Gerrit. I can successfully clone this repo over HTTP protocol on Unix machines and on most of Windowses. However, I cannot clone it on some Windows instances (Windows 7):



    $ git clone http://myusername@myGerrit.com:10002/my-repo
    Cloning into 'my-repo'...
    fatal: unable to access 'http://myusername@myGerrit.com:10002/my-repo': The requested URL returned error: 403


    Cloning over SSH works without any problem. I need HTTP clone working because I need to clone this repo's not only on many machines without my private key.



    I have tried turning off Windows Firewall and Microsoft Security Essentials. Not working instances does not have any antivir installed.



    How to check what is blockig repo connection?



    This question does not help.










    share|improve this question
















    bumped to the homepage by Community 13 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I have set up Gerrit repository on non-standard port 10002. I have generated my HTTP password in Gerrit. I can successfully clone this repo over HTTP protocol on Unix machines and on most of Windowses. However, I cannot clone it on some Windows instances (Windows 7):



      $ git clone http://myusername@myGerrit.com:10002/my-repo
      Cloning into 'my-repo'...
      fatal: unable to access 'http://myusername@myGerrit.com:10002/my-repo': The requested URL returned error: 403


      Cloning over SSH works without any problem. I need HTTP clone working because I need to clone this repo's not only on many machines without my private key.



      I have tried turning off Windows Firewall and Microsoft Security Essentials. Not working instances does not have any antivir installed.



      How to check what is blockig repo connection?



      This question does not help.










      share|improve this question
















      I have set up Gerrit repository on non-standard port 10002. I have generated my HTTP password in Gerrit. I can successfully clone this repo over HTTP protocol on Unix machines and on most of Windowses. However, I cannot clone it on some Windows instances (Windows 7):



      $ git clone http://myusername@myGerrit.com:10002/my-repo
      Cloning into 'my-repo'...
      fatal: unable to access 'http://myusername@myGerrit.com:10002/my-repo': The requested URL returned error: 403


      Cloning over SSH works without any problem. I need HTTP clone working because I need to clone this repo's not only on many machines without my private key.



      I have tried turning off Windows Firewall and Microsoft Security Essentials. Not working instances does not have any antivir installed.



      How to check what is blockig repo connection?



      This question does not help.







      windows-7 windows git http clone






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 '17 at 12:41









      Community

      1




      1










      asked May 28 '15 at 7:44









      fraczfracz

      76112




      76112





      bumped to the homepage by Community 13 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 13 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          I have inspected access logs to my server. With Msysgit, version Git-1.9.5-preview20150319 they was:



          185.28.251.241 - - [28/May/2015:19:31:17 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.1"
          185.28.251.241 - - [28/May/2015:19:31:22 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 403 290 "-" "git/1.9.5.msysgit.1"


          After I have downgraded Msysgit to previous version Git-1.9.5-preview20141217, repo can be successfully cloned. Access logs are then as follows:



          185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.0"
          185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 200 1193 "-" "git/1.9.5.msysgit.0"
          185.28.251.241 - - [28/May/2015:19:42:08 +0200] "POST /my-repo/git-upload-pack HTTP/1.1" 200 80403 "-" "git/1.9.5.msysgit.0"


          So the solution for me was do downgrade Msysgit to the 1.9.5-preview20141217 or upgrade to Git for Windows 2.x - they both work.



          Also, see related issue.






          share|improve this answer

























            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',
            autoActivateHeartbeat: false,
            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%2f920563%2fcannot-clone-repo-on-windows-fatal-unable-to-access-the-requested-url-returned%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I have inspected access logs to my server. With Msysgit, version Git-1.9.5-preview20150319 they was:



            185.28.251.241 - - [28/May/2015:19:31:17 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.1"
            185.28.251.241 - - [28/May/2015:19:31:22 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 403 290 "-" "git/1.9.5.msysgit.1"


            After I have downgraded Msysgit to previous version Git-1.9.5-preview20141217, repo can be successfully cloned. Access logs are then as follows:



            185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.0"
            185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 200 1193 "-" "git/1.9.5.msysgit.0"
            185.28.251.241 - - [28/May/2015:19:42:08 +0200] "POST /my-repo/git-upload-pack HTTP/1.1" 200 80403 "-" "git/1.9.5.msysgit.0"


            So the solution for me was do downgrade Msysgit to the 1.9.5-preview20141217 or upgrade to Git for Windows 2.x - they both work.



            Also, see related issue.






            share|improve this answer






























              0














              I have inspected access logs to my server. With Msysgit, version Git-1.9.5-preview20150319 they was:



              185.28.251.241 - - [28/May/2015:19:31:17 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.1"
              185.28.251.241 - - [28/May/2015:19:31:22 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 403 290 "-" "git/1.9.5.msysgit.1"


              After I have downgraded Msysgit to previous version Git-1.9.5-preview20141217, repo can be successfully cloned. Access logs are then as follows:



              185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.0"
              185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 200 1193 "-" "git/1.9.5.msysgit.0"
              185.28.251.241 - - [28/May/2015:19:42:08 +0200] "POST /my-repo/git-upload-pack HTTP/1.1" 200 80403 "-" "git/1.9.5.msysgit.0"


              So the solution for me was do downgrade Msysgit to the 1.9.5-preview20141217 or upgrade to Git for Windows 2.x - they both work.



              Also, see related issue.






              share|improve this answer




























                0












                0








                0







                I have inspected access logs to my server. With Msysgit, version Git-1.9.5-preview20150319 they was:



                185.28.251.241 - - [28/May/2015:19:31:17 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.1"
                185.28.251.241 - - [28/May/2015:19:31:22 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 403 290 "-" "git/1.9.5.msysgit.1"


                After I have downgraded Msysgit to previous version Git-1.9.5-preview20141217, repo can be successfully cloned. Access logs are then as follows:



                185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.0"
                185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 200 1193 "-" "git/1.9.5.msysgit.0"
                185.28.251.241 - - [28/May/2015:19:42:08 +0200] "POST /my-repo/git-upload-pack HTTP/1.1" 200 80403 "-" "git/1.9.5.msysgit.0"


                So the solution for me was do downgrade Msysgit to the 1.9.5-preview20141217 or upgrade to Git for Windows 2.x - they both work.



                Also, see related issue.






                share|improve this answer















                I have inspected access logs to my server. With Msysgit, version Git-1.9.5-preview20150319 they was:



                185.28.251.241 - - [28/May/2015:19:31:17 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.1"
                185.28.251.241 - - [28/May/2015:19:31:22 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 403 290 "-" "git/1.9.5.msysgit.1"


                After I have downgraded Msysgit to previous version Git-1.9.5-preview20141217, repo can be successfully cloned. Access logs are then as follows:



                185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 401 458 "-" "git/1.9.5.msysgit.0"
                185.28.251.241 - - [28/May/2015:19:42:08 +0200] "GET /my-repo/info/refs?service=git-upload-pack HTTP/1.1" 200 1193 "-" "git/1.9.5.msysgit.0"
                185.28.251.241 - - [28/May/2015:19:42:08 +0200] "POST /my-repo/git-upload-pack HTTP/1.1" 200 80403 "-" "git/1.9.5.msysgit.0"


                So the solution for me was do downgrade Msysgit to the 1.9.5-preview20141217 or upgrade to Git for Windows 2.x - they both work.



                Also, see related issue.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 28 '15 at 18:36

























                answered May 28 '15 at 17:49









                fraczfracz

                76112




                76112






























                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f920563%2fcannot-clone-repo-on-windows-fatal-unable-to-access-the-requested-url-returned%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

                    Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

                    Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...