Giter Club home page Giter Club logo

Comments (5)

achuthadivine avatar achuthadivine commented on July 1, 2024 2

I had faced the same issue. The reason was the university had blocked ssh . I had to change the protocol to be used as https instead of ssh. Follow the steps , error will be vanished.

  1. vim ~/.gitconfig
  2. paste the following in gitconfig file
    [url "https://github.com/"]
    insteadOf = git://github.com/
    [url "https://github.com/"]
    insteadOf = [email protected]:
  3. Try the command again[git submodule update --init --recursive]
    Should work.

from p4factory.

pierce-m avatar pierce-m commented on July 1, 2024

It looks like for some reason the server hosting the floodlight code is rejecting your connection. Have you tried these steps?

https://help.github.com/articles/error-permission-denied-publickey/

from p4factory.

antoninbas avatar antoninbas commented on July 1, 2024

Pierce is correct. You need to generate a public key on your machine and associate it with your Github account. This is because we use some floodlight code which uses the SSH URL for submodules. This is unfortunate because it requires people to have a SSH key. One alternative is to replace the SSH URLs with HTTPS URLs by running the following:

git submodule update --init
cd submodules/p4ofagent/
git submodule update --init
cd submodules/indigo/
find -name ".gitmodules" -type f -exec sed -i 's/[email protected]:/https:\/\/github.com\//' {} \;
git submodule update --init
cd submodules/bigcode/
find -name ".gitmodules" -type f -exec sed -i 's/[email protected]:/https:\/\/github.com\//' {} \;
cd ../../../../../../
git submodule update --init --recursive

However I really recommend simply creating a key...

from p4factory.

Yi-Tseng avatar Yi-Tseng commented on July 1, 2024

Hi,

I think you should add your public key to GitHub

https://help.github.com/articles/error-permission-denied-publickey/#verify-the-public-key-is-attached-to-your-account

from p4factory.

ramchendra avatar ramchendra commented on July 1, 2024

I am getting below error.

npm ERR! Command failed: git submodule update -q --init --recursive
npm ERR! warning: templates not found /tmp/pacote-git-template-tmp/git-clone-832b03cd
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 140.82.113.4]: errno=Connection timed out
npm ERR!
npm ERR! Clone of 'git://github.com/jbeard4/scxml-test-framework.git' into submodule path 'test/scxml-test-framework' failed
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /var/tmp/npmcache/_logs/2020-11-11T07_11_23_764Z-debug

Please help on this.

from p4factory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.