Travis error repository not Could not read from remote repository












1















My folder structure is as below
rserver-docker contains gitsubmodule of rserver



git submodule(rserver-docker) is as below:



[submodule "rserver"]   
path = rserver
url = git@github.com:VInc/rserver.git


Travis looks as below



before_install:
- echo $CI_USER_TOKEN
- echo -e "nnmachine github.comn login $CI_USER_TOKENn" >>~/.netrc
- git submodule update --init --recursive


CI_USER_TOKEN is Personal access token updated in Travis-settings



I am getting error as below



 $ git clone --depth=50 --branch=dev git@github.com:VInc/rserver-docker.git VInc/rserver-docker
Cloning into 'VInc/rserver-docker'...
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
$ cd VInc/rserver-docker
$ git checkout -qf d445f5afe71a6f3390345842644e600ee4bbb68b
7.47s$ git submodule update --init --recursive
Submodule 'rserver' (git@github.com:VInc/rserver.git) registered for path 'rserver'
Cloning into '/home/travis/build/VInc/rserver-docker/rserver'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:VInc/rserver.git' into submodule path '/home/travis/build/VInc/rserver-docker/rserver' failed
Failed to clone 'rserver'. Retry scheduled
Cloning into '/home/travis/build/VInc/rserver-docker/rserver'...
ERROR: Repository not found.









share|improve this question





























    1















    My folder structure is as below
    rserver-docker contains gitsubmodule of rserver



    git submodule(rserver-docker) is as below:



    [submodule "rserver"]   
    path = rserver
    url = git@github.com:VInc/rserver.git


    Travis looks as below



    before_install:
    - echo $CI_USER_TOKEN
    - echo -e "nnmachine github.comn login $CI_USER_TOKENn" >>~/.netrc
    - git submodule update --init --recursive


    CI_USER_TOKEN is Personal access token updated in Travis-settings



    I am getting error as below



     $ git clone --depth=50 --branch=dev git@github.com:VInc/rserver-docker.git VInc/rserver-docker
    Cloning into 'VInc/rserver-docker'...
    Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
    $ cd VInc/rserver-docker
    $ git checkout -qf d445f5afe71a6f3390345842644e600ee4bbb68b
    7.47s$ git submodule update --init --recursive
    Submodule 'rserver' (git@github.com:VInc/rserver.git) registered for path 'rserver'
    Cloning into '/home/travis/build/VInc/rserver-docker/rserver'...
    ERROR: Repository not found.
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
    fatal: clone of 'git@github.com:VInc/rserver.git' into submodule path '/home/travis/build/VInc/rserver-docker/rserver' failed
    Failed to clone 'rserver'. Retry scheduled
    Cloning into '/home/travis/build/VInc/rserver-docker/rserver'...
    ERROR: Repository not found.









    share|improve this question



























      1












      1








      1








      My folder structure is as below
      rserver-docker contains gitsubmodule of rserver



      git submodule(rserver-docker) is as below:



      [submodule "rserver"]   
      path = rserver
      url = git@github.com:VInc/rserver.git


      Travis looks as below



      before_install:
      - echo $CI_USER_TOKEN
      - echo -e "nnmachine github.comn login $CI_USER_TOKENn" >>~/.netrc
      - git submodule update --init --recursive


      CI_USER_TOKEN is Personal access token updated in Travis-settings



      I am getting error as below



       $ git clone --depth=50 --branch=dev git@github.com:VInc/rserver-docker.git VInc/rserver-docker
      Cloning into 'VInc/rserver-docker'...
      Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
      $ cd VInc/rserver-docker
      $ git checkout -qf d445f5afe71a6f3390345842644e600ee4bbb68b
      7.47s$ git submodule update --init --recursive
      Submodule 'rserver' (git@github.com:VInc/rserver.git) registered for path 'rserver'
      Cloning into '/home/travis/build/VInc/rserver-docker/rserver'...
      ERROR: Repository not found.
      fatal: Could not read from remote repository.
      Please make sure you have the correct access rights
      and the repository exists.
      fatal: clone of 'git@github.com:VInc/rserver.git' into submodule path '/home/travis/build/VInc/rserver-docker/rserver' failed
      Failed to clone 'rserver'. Retry scheduled
      Cloning into '/home/travis/build/VInc/rserver-docker/rserver'...
      ERROR: Repository not found.









      share|improve this question
















      My folder structure is as below
      rserver-docker contains gitsubmodule of rserver



      git submodule(rserver-docker) is as below:



      [submodule "rserver"]   
      path = rserver
      url = git@github.com:VInc/rserver.git


      Travis looks as below



      before_install:
      - echo $CI_USER_TOKEN
      - echo -e "nnmachine github.comn login $CI_USER_TOKENn" >>~/.netrc
      - git submodule update --init --recursive


      CI_USER_TOKEN is Personal access token updated in Travis-settings



      I am getting error as below



       $ git clone --depth=50 --branch=dev git@github.com:VInc/rserver-docker.git VInc/rserver-docker
      Cloning into 'VInc/rserver-docker'...
      Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
      $ cd VInc/rserver-docker
      $ git checkout -qf d445f5afe71a6f3390345842644e600ee4bbb68b
      7.47s$ git submodule update --init --recursive
      Submodule 'rserver' (git@github.com:VInc/rserver.git) registered for path 'rserver'
      Cloning into '/home/travis/build/VInc/rserver-docker/rserver'...
      ERROR: Repository not found.
      fatal: Could not read from remote repository.
      Please make sure you have the correct access rights
      and the repository exists.
      fatal: clone of 'git@github.com:VInc/rserver.git' into submodule path '/home/travis/build/VInc/rserver-docker/rserver' failed
      Failed to clone 'rserver'. Retry scheduled
      Cloning into '/home/travis/build/VInc/rserver-docker/rserver'...
      ERROR: Repository not found.






      git github travis-ci git-submodules






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 5 '18 at 12:26







      Zaks

















      asked Oct 5 '18 at 12:20









      ZaksZaks

      143215




      143215
























          2 Answers
          2






          active

          oldest

          votes


















          0














          It was issue with Personal access token as it didnot have permissions to gitclone the code






          share|improve this answer
























          • or can add ssh key to travis

            – Zaks
            Nov 27 '18 at 9:49



















          0














          From Travis doc on the subject:




          Git cannot clone my Submodules #



          If your project uses Git submodules, make sure you use public Git
          URLs. For example, on GitHub, instead of



          git@github.com:someuser/somelibrary.git


          use



          https://github.com/someuser/somelibrary.git






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            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%2fstackoverflow.com%2fquestions%2f52665522%2ftravis-error-repository-not-could-not-read-from-remote-repository%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            It was issue with Personal access token as it didnot have permissions to gitclone the code






            share|improve this answer
























            • or can add ssh key to travis

              – Zaks
              Nov 27 '18 at 9:49
















            0














            It was issue with Personal access token as it didnot have permissions to gitclone the code






            share|improve this answer
























            • or can add ssh key to travis

              – Zaks
              Nov 27 '18 at 9:49














            0












            0








            0







            It was issue with Personal access token as it didnot have permissions to gitclone the code






            share|improve this answer













            It was issue with Personal access token as it didnot have permissions to gitclone the code







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Oct 5 '18 at 14:09









            ZaksZaks

            143215




            143215













            • or can add ssh key to travis

              – Zaks
              Nov 27 '18 at 9:49



















            • or can add ssh key to travis

              – Zaks
              Nov 27 '18 at 9:49

















            or can add ssh key to travis

            – Zaks
            Nov 27 '18 at 9:49





            or can add ssh key to travis

            – Zaks
            Nov 27 '18 at 9:49













            0














            From Travis doc on the subject:




            Git cannot clone my Submodules #



            If your project uses Git submodules, make sure you use public Git
            URLs. For example, on GitHub, instead of



            git@github.com:someuser/somelibrary.git


            use



            https://github.com/someuser/somelibrary.git






            share|improve this answer




























              0














              From Travis doc on the subject:




              Git cannot clone my Submodules #



              If your project uses Git submodules, make sure you use public Git
              URLs. For example, on GitHub, instead of



              git@github.com:someuser/somelibrary.git


              use



              https://github.com/someuser/somelibrary.git






              share|improve this answer


























                0












                0








                0







                From Travis doc on the subject:




                Git cannot clone my Submodules #



                If your project uses Git submodules, make sure you use public Git
                URLs. For example, on GitHub, instead of



                git@github.com:someuser/somelibrary.git


                use



                https://github.com/someuser/somelibrary.git






                share|improve this answer













                From Travis doc on the subject:




                Git cannot clone my Submodules #



                If your project uses Git submodules, make sure you use public Git
                URLs. For example, on GitHub, instead of



                git@github.com:someuser/somelibrary.git


                use



                https://github.com/someuser/somelibrary.git







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 26 '18 at 20:55









                Édouard LopezÉdouard Lopez

                18.4k1378127




                18.4k1378127






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • 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%2fstackoverflow.com%2fquestions%2f52665522%2ftravis-error-repository-not-could-not-read-from-remote-repository%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

                    A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

                    Calculate evaluation metrics using cross_val_predict sklearn

                    Insert data from modal to MySQL (multiple modal on website)