Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dep ensure - remote repository at https://github.com/milagro-crypto/amcl does not exist, or is inaccessible #33

Open
pvrbharg opened this issue May 15, 2019 · 1 comment

Comments

@pvrbharg
Copy link

Hi,

I am getting the following issue and I am on more later version of Go and also Ubuntu.
Please let me know if this is the issue.

hlbcadmin@ubuntu:/go/src/github.com/heroes-service$ dep ensure
ensure Solve(): no valid source could be created:
failed to set up sources from the following URLs:
https://github.com/milagro-crypto/amcl
: remote repository at https://github.com/milagro-crypto/amcl does not exist, or is inaccessible: : exit status 128
failed to set up sources from the following URLs:
ssh://[email protected]/milagro-crypto/amcl
: remote repository at ssh://[email protected]/milagro-crypto/amcl does not exist, or is inaccessible: : exit status 128
failed to set up sources from the following URLs:
git://github.com/milagro-crypto/amcl
: remote repository at git://github.com/milagro-crypto/amcl does not exist, or is inaccessible: : exit status 128
failed to set up sources from the following URLs:
http://github.com/milagro-crypto/amcl
: remote repository at http://github.com/milagro-crypto/amcl does not exist, or is inaccessible: : exit status 128
hlbcadmin@ubuntu:
/go/src/github.com/heroes-service$

The above failure eventually leads to:

hlbcadmin@ubuntu:~/go/src/github.com/heroes-service/fixtures$ docker-compose up -d && cd .. && ./heroes-service
Starting orderer.hf.chainhero.io ... done
Starting ca.org1.hf.chainhero.io ... done
Starting peer1.org1.hf.chainhero.io ... done
Starting peer0.org1.hf.chainhero.io ... done
Unable to initialize the Fabric SDK: failed to create SDK: failed to initialize configuration: unable to load endpoint config: failed to initialize endpoint config from config backend: network configuration load failed: failed to load channel configs: failed to network config: failed to load network TLSConfig: failed to load orderer/peer TLSConfig : failed to load orderer cert: failed to load pem bytes from path /home/hlbcadmin/go/src/github.com/chainHero/heroes-service/fixtures/crypto-config/ordererOrganizations/hf.chainhero.io/tlsca/tlsca.hf.chainhero.io-cert.pem: open /home/hlbcadmin/go/src/github.com/chainHero/heroes-service/fixtures/crypto-config/ordererOrganizations/hf.chainhero.io/tlsca/tlsca.hf.chainhero.io-cert.pem: no such file or directory

Thanks.

@prayagsingh
Copy link

prayagsingh commented May 15, 2019

@pvrbharg check whether all the prerequisites are installed or not. Also, did you create the Gopkg.toml before running the dep ensure command?
you can refer to this link for more: golang/dep#1495 (comment)
check tlsca.hf.chainhero.io-cert.pem exists in config/ordererOrganizations/hf.chainhero.io/tlsca/ directory and if it's not there then first generates all the certs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants