harrijk / fabric-tools

Hyperledger Fabric Tools
1 stars 4 forks source link

error running behind a proxy #1

Open vmorris opened 7 years ago

vmorris commented 7 years ago

I'm running behind an http proxy and do have an ubuntu repo mirror configured as well, but I'm having problems running the v1 script.

During "Building docker testenv-image": In step 14:

Step 14 : RUN bash /tmp/install-softhsm2.sh && rm -f install-softhsm2.sh
 ---> Running in dac0ff323f9b
Ign http://security.debian.org jessie/updates InRelease
Ign http://ftp.us.debian.org sid InRelease
Err http://security.debian.org jessie/updates Release.gpg
  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)
Ign http://security.debian.org jessie/updates Release
Err http://ftp.us.debian.org sid Release.gpg
  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)
Err http://security.debian.org jessie/updates/main s390x Packages

Err http://security.debian.org jessie/updates/main s390x Packages

Ign http://ftp.us.debian.org sid Release
Err http://security.debian.org jessie/updates/main s390x Packages

Err http://ftp.us.debian.org sid/main s390x Packages

Err http://security.debian.org jessie/updates/main s390x Packages

Err http://security.debian.org jessie/updates/main s390x Packages
  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)
Err http://ftp.us.debian.org sid/main s390x Packages

Err http://ftp.us.debian.org sid/main s390x Packages

Ign http://deb.debian.org jessie InRelease
Ign http://deb.debian.org jessie-updates InRelease
Err http://ftp.us.debian.org sid/main s390x Packages

Err http://ftp.us.debian.org sid/main s390x Packages
  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)
Err http://deb.debian.org jessie Release.gpg
  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)
Err http://deb.debian.org jessie-updates Release.gpg
  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)
Ign http://deb.debian.org jessie Release
Ign http://deb.debian.org jessie-updates Release
Err http://deb.debian.org jessie/main s390x Packages
  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)
Err http://deb.debian.org jessie-updates/main s390x Packages
  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)
W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)

W: Failed to fetch http://ftp.us.debian.org/debian/dists/sid/Release.gpg  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)

W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-s390x/Packages  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)

W: Failed to fetch http://ftp.us.debian.org/debian/dists/sid/main/binary-s390x/Packages  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)

W: Failed to fetch http://deb.debian.org/debian/dists/jessie/Release.gpg  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/Release.gpg  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)

W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-s390x/Packages  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-s390x/Packages  Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22: Invalid argument)

E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c bash /tmp/install-softhsm2.sh && rm -f install-softhsm2.sh' returned a non-zero code: 100
Makefile:238: recipe for target 'build/image/testenv/.dummy-s390x-1.0.0-snapshot-a1dccef' failed
make: *** [build/image/testenv/.dummy-s390x-1.0.0-snapshot-a1dccef] Error 100

ERROR: Unable to build the Hyperledger Fabric peer components.
harrijk commented 7 years ago

Thanks for the report.