worldsibu / hurley

The development environment toolset for blockchain projects
https://worldsibu.io/convector/hurley
Apache License 2.0
80 stars 19 forks source link

hurl 1.1.1 failed on Fedora 32 #214

Closed jackyjqcheung closed 4 years ago

jackyjqcheung commented 4 years ago

Hi Guys,

hurl 1.1.1 failed on Fedora 32. Here is the exection log.

[user1@localhost hu]$ hurl new -o 4 [hurley] - Hurley collects anonymous usage statistics to improve the tool over time [hurley] - About to create binaries [hurley] - Created and saved binaries [hurley] - About to run binaries Installing Hyperledger Fabric binaries Binaries exist already Checking IMAGES ===> Pulling fabric Images ==> FABRIC IMAGE: peer

1.4.0: Pulling from hyperledger/fabric-peer Digest: sha256:9707c97f787de1d4d6dd60994d6b8ea2e5cc28b0f42e6849df3fb41c64b41372 Status: Image is up to date for hyperledger/fabric-peer:1.4.0 docker.io/hyperledger/fabric-peer:1.4.0 ==> FABRIC IMAGE: orderer

1.4.0: Pulling from hyperledger/fabric-orderer Digest: sha256:644265186b4887c7d9dcb91895124ccead3c0125c2c4f9eadc421dc9555d7495 Status: Image is up to date for hyperledger/fabric-orderer:1.4.0 docker.io/hyperledger/fabric-orderer:1.4.0 ==> FABRIC IMAGE: tools

1.4.0: Pulling from hyperledger/fabric-tools Digest: sha256:aee256916d0cb938d8023fa32ed2745991d32cfe79018e360f1720707ebfbdb5 Status: Image is up to date for hyperledger/fabric-tools:1.4.0 docker.io/hyperledger/fabric-tools:1.4.0 ===> Pulling fabric ca Image ==> FABRIC CA IMAGE

1.4.0: Pulling from hyperledger/fabric-ca Digest: sha256:c1dce534d9e9202697e0aaad7c5521d958700fda0b05127dafb9333c22e15f74 Status: Image is up to date for hyperledger/fabric-ca:1.4.0 docker.io/hyperledger/fabric-ca:1.4.0 ===> Pulling thirdparty docker images ==> THIRDPARTY DOCKER IMAGE: couchdb

0.4.14: Pulling from hyperledger/fabric-couchdb Digest: sha256:021c7e4a5047432d892fbdf7d5220d3049ff4e8b436fd481bb08e41871f1aac7 Status: Image is up to date for hyperledger/fabric-couchdb:0.4.14 docker.io/hyperledger/fabric-couchdb:0.4.14

===> List out hyperledger docker images [hurley] - Found error while running script! (node:86802) UnhandledPromiseRejectionWarning: Error: Errors found in script, stopping execution at Object. (/home/gsqs/.nvm/versions/node/v8.11.4/lib/node_modules/@worldsibu/hurley/dist/utils/sysWrapper.js:116:27) at step (/home/gsqs/.nvm/versions/node/v8.11.4/lib/node_modules/@worldsibu/hurley/node_modules/tslib/tslib.js:141:27) at Object.next (/home/gsqs/.nvm/versions/node/v8.11.4/lib/node_modules/@worldsibu/hurley/node_modules/tslib/tslib.js:122:57) at /home/gsqs/.nvm/versions/node/v8.11.4/lib/node_modules/@worldsibu/hurley/node_modules/tslib/tslib.js:115:75 at new Promise () at Object.__awaiter (/home/gsqs/.nvm/versions/node/v8.11.4/lib/node_modules/@worldsibu/hurley/node_modules/tslib/tslib.js:111:16) at Object.execContent (/home/gsqs/.nvm/versions/node/v8.11.4/lib/node_modules/@worldsibu/hurley/dist/utils/sysWrapper.js:112:24) at DownloadFabricBinariesGenerator.BaseGenerator.run (/home/gsqs/.nvm/versions/node/v8.11.4/lib/node_modules/@worldsibu/hurley/dist/generators/base.js:18:40) at NetworkCLI. (/home/gsqs/.nvm/versions/node/v8.11.4/lib/node_modules/@worldsibu/hurley/dist/cli.js:191:53) at step (/home/gsqs/.nvm/versions/node/v8.11.4/lib/node_modules/@worldsibu/hurley/node_modules/tslib/tslib.js:141:27) (node:86802) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:86802) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I tried to run the hyperledger-fabric-network/restart.sh(sh restart.sh) directly, but it also failed to start with the following error:

2020-05-18 05:32:12.062 UTC [grpc] createTransport -> DEBU 03f grpc: addrConn.createTransport failed to connect to {orderer.hurley.lab:7050 0 }. Err :connection error: desc = "transport: Error while dialing dial tcp 172.18.0.7:7050: connect: no route to host". Reconnecting... 2020-05-18 05:32:12.062 UTC [grpc] HandleSubConnStateChange -> DEBU 040 pickfirstBalancer: HandleSubConnStateChange: 0xc0005941b0, TRANSIENT_FAILURE 2020-05-18 05:32:12.063 UTC [grpc] HandleSubConnStateChange -> DEBU 041 pickfirstBalancer: HandleSubConnStateChange: 0xc0005941b0, CONNECTING Error: failed to create deliver client: orderer client failed to connect to orderer.hurley.lab:7050: failed to create new connection: context deadline exceeded mv: cannot stat 'ch1.block': No such file or directory

Any idea on what happened? Thanks.

More details: OS: Fedora 32 Hurl version: 1.1.1 Docker version: Docker version 19.03.8, build afacb8b Docker compose version: docker-compose version 1.25.5, build 8a1c60f6 Lerna version: 3.21.0

Detail logs:

[user1@localhost hyperledger-fabric-network]$ sh restart.sh Creating ca.org2.hurley.lab ... done Creating couchdb.peer0.org1.hurley.lab ... done Creating couchdb.peer0.org2.hurley.lab ... done Creating ca.org3.hurley.lab ... done Creating orderer.hurley.lab ... done Creating couchdb.peer0.org4.hurley.lab ... done Creating ca.org4.hurley.lab ... done Creating couchdb.peer0.org3.hurley.lab ... done Creating ca.org1.hurley.lab ... done Creating peer0.org2.hurley.lab ... done Creating peer0.org3.hurley.lab ... done Creating peer0.org4.hurley.lab ... done Creating peer0.org1.hurley.lab ... done Creating ch1 channel block in peer peer0.org1.hurley.lab 2020-05-18 05:32:10.979 UTC [main] InitCmd -> WARN 001 CORE_LOGGING_LEVEL is no longer supported, please use the FABRIC_LOGGING_SPEC environment variable 2020-05-18 05:32:10.980 UTC [viperutil] getKeysRecursively -> DEBU 002 Found map[string]interface{} value for peer.BCCSP 2020-05-18 05:32:10.980 UTC [viperutil] getKeysRecursively -> DEBU 003 Found map[string]interface{} value for peer.BCCSP.SW 2020-05-18 05:32:10.980 UTC [viperutil] unmarshalJSON -> DEBU 004 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value 2020-05-18 05:32:10.980 UTC [viperutil] getKeysRecursively -> DEBU 005 Found real value for peer.BCCSP.SW.Hash setting to string SHA2 2020-05-18 05:32:10.980 UTC [viperutil] unmarshalJSON -> DEBU 006 Unmarshal JSON: value is not a string: 256 2020-05-18 05:32:10.980 UTC [viperutil] getKeysRecursively -> DEBU 007 Found real value for peer.BCCSP.SW.Security setting to int 256 2020-05-18 05:32:10.981 UTC [viperutil] getKeysRecursively -> DEBU 008 Found map[string]interface{} value for peer.BCCSP.SW.FileKeyStore 2020-05-18 05:32:10.981 UTC [viperutil] unmarshalJSON -> DEBU 009 Unmarshal JSON: value cannot be unmarshalled: unexpected end of JSON input 2020-05-18 05:32:10.981 UTC [viperutil] getKeysRecursively -> DEBU 00a Found real value for peer.BCCSP.SW.FileKeyStore.KeyStore setting to string 2020-05-18 05:32:10.981 UTC [viperutil] getKeysRecursively -> DEBU 00b Found map[string]interface{} value for peer.BCCSP.PKCS11 2020-05-18 05:32:10.981 UTC [viperutil] unmarshalJSON -> DEBU 00c Unmarshal JSON: value is not a string: 2020-05-18 05:32:10.981 UTC [viperutil] getKeysRecursively -> DEBU 00d Found real value for peer.BCCSP.PKCS11.Pin setting to 2020-05-18 05:32:10.981 UTC [viperutil] unmarshalJSON -> DEBU 00e Unmarshal JSON: value is not a string: 2020-05-18 05:32:10.982 UTC [viperutil] getKeysRecursively -> DEBU 00f Found real value for peer.BCCSP.PKCS11.Hash setting to 2020-05-18 05:32:10.982 UTC [viperutil] unmarshalJSON -> DEBU 010 Unmarshal JSON: value is not a string: 2020-05-18 05:32:10.982 UTC [viperutil] getKeysRecursively -> DEBU 011 Found real value for peer.BCCSP.PKCS11.Security setting to 2020-05-18 05:32:10.982 UTC [viperutil] getKeysRecursively -> DEBU 012 Found map[string]interface{} value for peer.BCCSP.PKCS11.FileKeyStore 2020-05-18 05:32:10.982 UTC [viperutil] unmarshalJSON -> DEBU 013 Unmarshal JSON: value is not a string: 2020-05-18 05:32:10.982 UTC [viperutil] getKeysRecursively -> DEBU 014 Found real value for peer.BCCSP.PKCS11.FileKeyStore.KeyStore setting to 2020-05-18 05:32:10.983 UTC [viperutil] unmarshalJSON -> DEBU 015 Unmarshal JSON: value is not a string: 2020-05-18 05:32:10.983 UTC [viperutil] getKeysRecursively -> DEBU 016 Found real value for peer.BCCSP.PKCS11.Library setting to 2020-05-18 05:32:10.983 UTC [viperutil] unmarshalJSON -> DEBU 017 Unmarshal JSON: value is not a string: 2020-05-18 05:32:10.983 UTC [viperutil] getKeysRecursively -> DEBU 018 Found real value for peer.BCCSP.PKCS11.Label setting to 2020-05-18 05:32:10.983 UTC [viperutil] unmarshalJSON -> DEBU 019 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value 2020-05-18 05:32:10.983 UTC [viperutil] getKeysRecursively -> DEBU 01a Found real value for peer.BCCSP.Default setting to string SW 2020-05-18 05:32:10.983 UTC [viperutil] EnhancedExactUnmarshalKey -> DEBU 01b map[peer.BCCSP:map[PKCS11:map[Security: FileKeyStore:map[KeyStore:] Library: Label: Pin: Hash:] Default:SW SW:map[Hash:SHA2 Security:256 FileKeyStore:map[KeyStore:]]]] 2020-05-18 05:32:10.984 UTC [bccsp_sw] openKeyStore -> DEBU 01c KeyStore opened at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/keystore]...done 2020-05-18 05:32:10.984 UTC [bccsp] initBCCSP -> DEBU 01d Initialize BCCSP [SW] 2020-05-18 05:32:10.984 UTC [msp] getPemMaterialFromDir -> DEBU 01e Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/signcerts 2020-05-18 05:32:10.984 UTC [msp] getPemMaterialFromDir -> DEBU 01f Inspecting file /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/signcerts/Admin@org1.hurley.lab-cert.pem 2020-05-18 05:32:10.984 UTC [msp] getPemMaterialFromDir -> DEBU 020 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/cacerts 2020-05-18 05:32:10.984 UTC [msp] getPemMaterialFromDir -> DEBU 021 Inspecting file /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/cacerts/ca.org1.hurley.lab-cert.pem 2020-05-18 05:32:10.984 UTC [msp] getPemMaterialFromDir -> DEBU 022 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/admincerts 2020-05-18 05:32:10.984 UTC [msp] getPemMaterialFromDir -> DEBU 023 Inspecting file /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/admincerts/Admin@org1.hurley.lab-cert.pem 2020-05-18 05:32:10.984 UTC [msp] getPemMaterialFromDir -> DEBU 024 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/intermediatecerts 2020-05-18 05:32:10.984 UTC [msp] getMspConfig -> DEBU 025 Intermediate certs folder not found at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/intermediatecerts]. Skipping. [stat /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/intermediatecerts: no such file or directory] 2020-05-18 05:32:10.984 UTC [msp] getPemMaterialFromDir -> DEBU 026 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlscacerts 2020-05-18 05:32:10.984 UTC [msp] getPemMaterialFromDir -> DEBU 027 Inspecting file /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlscacerts/tlsca.org1.hurley.lab-cert.pem 2020-05-18 05:32:10.985 UTC [msp] getPemMaterialFromDir -> DEBU 028 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlsintermediatecerts 2020-05-18 05:32:10.985 UTC [msp] getMspConfig -> DEBU 029 TLS intermediate certs folder not found at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlsintermediatecerts]. Skipping. [stat /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlsintermediatecerts: no such file or directory] 2020-05-18 05:32:10.985 UTC [msp] getPemMaterialFromDir -> DEBU 02a Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/crls 2020-05-18 05:32:10.985 UTC [msp] getMspConfig -> DEBU 02b crls folder not found at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/crls]. Skipping. [stat /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/crls: no such file or directory] 2020-05-18 05:32:10.985 UTC [msp] getMspConfig -> DEBU 02c MSP configuration file not found at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/config.yaml]: [stat /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/config.yaml: no such file or directory] 2020-05-18 05:32:10.985 UTC [msp] newBccspMsp -> DEBU 02d Creating BCCSP-based MSP instance 2020-05-18 05:32:10.985 UTC [msp] New -> DEBU 02e Creating Cache-MSP instance 2020-05-18 05:32:10.985 UTC [msp] loadLocaMSP -> DEBU 02f Created new local MSP 2020-05-18 05:32:10.985 UTC [msp] Setup -> DEBU 030 Setting up MSP instance org1MSP 2020-05-18 05:32:10.986 UTC [msp.identity] newIdentity -> DEBU 031 Creating identity instance for cert -----BEGIN CERTIFICATE----- MIICTTCCAfSgAwIBAgIRAIRewaLXx1kUGzzDUvAAECQwCgYIKoZIzj0EAwIwcTEL MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG cmFuY2lzY28xGDAWBgNVBAoTD29yZzEuaHVybGV5LmxhYjEbMBkGA1UEAxMSY2Eu b3JnMS5odXJsZXkubGFiMB4XDTIwMDUxODA0MDcwMFoXDTMwMDUxNjA0MDcwMFow cTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xGDAWBgNVBAoTD29yZzEuaHVybGV5LmxhYjEbMBkGA1UEAxMS Y2Eub3JnMS5odXJsZXkubGFiMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAsH4 dw9ddUENKjAIlHOmz89b6+65srv8Vqyw6AL3D0mKML3yqVkdmb3hGDtz33k2h82m CZ04f8eSuyFt7JntlaNtMGswDgYDVR0PAQH/BAQDAgGmMB0GA1UdJQQWMBQGCCsG AQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdDgQiBCDrP/71 GVkkkXh7s6WnHfg0cvxubpoGxrt/TPYawH+YFTAKBggqhkjOPQQDAgNHADBEAiBL mkNL+v/S8ltNGe1uGvkRuNP93Bn9s7gzDIgMH6us6AIgEtJfWZbrTkmU+SCJ+AM3 nKqqAcxXLykVU4xwtu1YPJU= -----END CERTIFICATE----- 2020-05-18 05:32:10.986 UTC [msp.identity] newIdentity -> DEBU 032 Creating identity instance for cert -----BEGIN CERTIFICATE----- MIICKDCCAc6gAwIBAgIRAIXHFdmru2+WDBwOOSmr5Q8wCgYIKoZIzj0EAwIwcTEL MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG cmFuY2lzY28xGDAWBgNVBAoTD29yZzEuaHVybGV5LmxhYjEbMBkGA1UEAxMSY2Eu b3JnMS5odXJsZXkubGFiMB4XDTIwMDUxODA0MDcwMFoXDTMwMDUxNjA0MDcwMFow azELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xDzANBgNVBAsTBmNsaWVudDEeMBwGA1UEAwwVQWRtaW5Ab3Jn MS5odXJsZXkubGFiMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwPXn90v6dOh/ UzV8OqGgn/A4vV6zIbZHglRL4H9UXxHBGIIqscIqC33x+qLu7W1qWAq9iuCgDrYS ROXGI4Tu1KNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0j BCQwIoAg6z/+9RlZJJF4e7Olpx34NHL8bm6aBsa7f0z2GsB/mBUwCgYIKoZIzj0E AwIDSAAwRQIhAJ752bGMakeyzka7depUhbwNK9aaNX42RuOLFDew1IaqAiAlrYb3 n8yVeg/n57FQjzd6/gRgygVV/5UFQr8l5BtBLw== -----END CERTIFICATE----- 2020-05-18 05:32:11.001 UTC [msp.identity] newIdentity -> DEBU 033 Creating identity instance for cert -----BEGIN CERTIFICATE----- MIICKDCCAc6gAwIBAgIRAIXHFdmru2+WDBwOOSmr5Q8wCgYIKoZIzj0EAwIwcTEL MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG cmFuY2lzY28xGDAWBgNVBAoTD29yZzEuaHVybGV5LmxhYjEbMBkGA1UEAxMSY2Eu b3JnMS5odXJsZXkubGFiMB4XDTIwMDUxODA0MDcwMFoXDTMwMDUxNjA0MDcwMFow azELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xDzANBgNVBAsTBmNsaWVudDEeMBwGA1UEAwwVQWRtaW5Ab3Jn MS5odXJsZXkubGFiMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwPXn90v6dOh/ UzV8OqGgn/A4vV6zIbZHglRL4H9UXxHBGIIqscIqC33x+qLu7W1qWAq9iuCgDrYS ROXGI4Tu1KNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0j BCQwIoAg6z/+9RlZJJF4e7Olpx34NHL8bm6aBsa7f0z2GsB/mBUwCgYIKoZIzj0E AwIDSAAwRQIhAJ752bGMakeyzka7depUhbwNK9aaNX42RuOLFDew1IaqAiAlrYb3 n8yVeg/n57FQjzd6/gRgygVV/5UFQr8l5BtBLw== -----END CERTIFICATE----- 2020-05-18 05:32:11.002 UTC [bccsp_sw] loadPrivateKey -> DEBU 034 Loading private key [f7a7437f4330db3ee4d5dbed545401dfecc039fc047d32a6e11e57214aac4b5d] at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/keystore/f7a7437f4330db3ee4d5dbed545401dfecc039fc047d32a6e11e57214aac4b5d_sk]... 2020-05-18 05:32:11.002 UTC [msp.identity] newIdentity -> DEBU 035 Creating identity instance for cert -----BEGIN CERTIFICATE----- MIICKDCCAc6gAwIBAgIRAIXHFdmru2+WDBwOOSmr5Q8wCgYIKoZIzj0EAwIwcTEL MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG cmFuY2lzY28xGDAWBgNVBAoTD29yZzEuaHVybGV5LmxhYjEbMBkGA1UEAxMSY2Eu b3JnMS5odXJsZXkubGFiMB4XDTIwMDUxODA0MDcwMFoXDTMwMDUxNjA0MDcwMFow azELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNh biBGcmFuY2lzY28xDzANBgNVBAsTBmNsaWVudDEeMBwGA1UEAwwVQWRtaW5Ab3Jn MS5odXJsZXkubGFiMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwPXn90v6dOh/ UzV8OqGgn/A4vV6zIbZHglRL4H9UXxHBGIIqscIqC33x+qLu7W1qWAq9iuCgDrYS ROXGI4Tu1KNNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0j BCQwIoAg6z/+9RlZJJF4e7Olpx34NHL8bm6aBsa7f0z2GsB/mBUwCgYIKoZIzj0E AwIDSAAwRQIhAJ752bGMakeyzka7depUhbwNK9aaNX42RuOLFDew1IaqAiAlrYb3 n8yVeg/n57FQjzd6/gRgygVV/5UFQr8l5BtBLw== -----END CERTIFICATE----- 2020-05-18 05:32:11.002 UTC [msp] setupSigningIdentity -> DEBU 036 Signing identity expires at 2030-05-16 04:07:00 +0000 UTC 2020-05-18 05:32:11.003 UTC [msp] Validate -> DEBU 037 MSP org1MSP validating identity 2020-05-18 05:32:11.003 UTC [main] SetOrdererEnv -> WARN 038 CORE_LOGGING_LEVEL is no longer supported, please use the FABRIC_LOGGING_SPEC environment variable 2020-05-18 05:32:11.003 UTC [msp] GetDefaultSigningIdentity -> DEBU 039 Obtaining default signing identity 2020-05-18 05:32:11.004 UTC [grpc] DialContext -> DEBU 03a parsed scheme: "" 2020-05-18 05:32:11.004 UTC [grpc] DialContext -> DEBU 03b scheme "" not registered, fallback to default scheme 2020-05-18 05:32:11.004 UTC [grpc] watcher -> DEBU 03c ccResolverWrapper: sending new addresses to cc: [{orderer.hurley.lab:7050 0 }] 2020-05-18 05:32:11.004 UTC [grpc] switchBalancer -> DEBU 03d ClientConn switching balancer to "pick_first" 2020-05-18 05:32:11.004 UTC [grpc] HandleSubConnStateChange -> DEBU 03e pickfirstBalancer: HandleSubConnStateChange: 0xc0005941b0, CONNECTING 2020-05-18 05:32:12.062 UTC [grpc] createTransport -> DEBU 03f grpc: addrConn.createTransport failed to connect to {orderer.hurley.lab:7050 0 }. Err :connection error: desc = "transport: Error while dialing dial tcp 172.18.0.7:7050: connect: no route to host". Reconnecting... 2020-05-18 05:32:12.062 UTC [grpc] HandleSubConnStateChange -> DEBU 040 pickfirstBalancer: HandleSubConnStateChange: 0xc0005941b0, TRANSIENT_FAILURE 2020-05-18 05:32:12.063 UTC [grpc] HandleSubConnStateChange -> DEBU 041 pickfirstBalancer: HandleSubConnStateChange: 0xc0005941b0, CONNECTING Error: failed to create deliver client: orderer client failed to connect to orderer.hurley.lab:7050: failed to create new connection: context deadline exceeded mv: cannot stat 'ch1.block': No such file or directory Joining ch1 channel on peer peer0.org1.hurley.lab ++ docker exec peer0.org1.hurley.lab peer channel join -b /shared/ch1.block 2020-05-18 05:32:25.056 UTC [main] InitCmd -> WARN 001 CORE_LOGGING_LEVEL is no longer supported, please use the FABRIC_LOGGING_SPEC environment variable 2020-05-18 05:32:25.057 UTC [viperutil] getKeysRecursively -> DEBU 002 Found map[string]interface{} value for peer.BCCSP 2020-05-18 05:32:25.057 UTC [viperutil] getKeysRecursively -> DEBU 003 Found map[string]interface{} value for peer.BCCSP.PKCS11 2020-05-18 05:32:25.057 UTC [viperutil] unmarshalJSON -> DEBU 004 Unmarshal JSON: value is not a string: 2020-05-18 05:32:25.057 UTC [viperutil] getKeysRecursively -> DEBU 005 Found real value for peer.BCCSP.PKCS11.Hash setting to 2020-05-18 05:32:25.057 UTC [viperutil] unmarshalJSON -> DEBU 006 Unmarshal JSON: value is not a string: 2020-05-18 05:32:25.058 UTC [viperutil] getKeysRecursively -> DEBU 007 Found real value for peer.BCCSP.PKCS11.Security setting to 2020-05-18 05:32:25.058 UTC [viperutil] getKeysRecursively -> DEBU 008 Found map[string]interface{} value for peer.BCCSP.PKCS11.FileKeyStore 2020-05-18 05:32:25.058 UTC [viperutil] unmarshalJSON -> DEBU 009 Unmarshal JSON: value is not a string: 2020-05-18 05:32:25.058 UTC [viperutil] getKeysRecursively -> DEBU 00a Found real value for peer.BCCSP.PKCS11.FileKeyStore.KeyStore setting to 2020-05-18 05:32:25.058 UTC [viperutil] unmarshalJSON -> DEBU 00b Unmarshal JSON: value is not a string: 2020-05-18 05:32:25.058 UTC [viperutil] getKeysRecursively -> DEBU 00c Found real value for peer.BCCSP.PKCS11.Library setting to 2020-05-18 05:32:25.059 UTC [viperutil] unmarshalJSON -> DEBU 00d Unmarshal JSON: value is not a string: 2020-05-18 05:32:25.059 UTC [viperutil] getKeysRecursively -> DEBU 00e Found real value for peer.BCCSP.PKCS11.Label setting to 2020-05-18 05:32:25.059 UTC [viperutil] unmarshalJSON -> DEBU 00f Unmarshal JSON: value is not a string: 2020-05-18 05:32:25.059 UTC [viperutil] getKeysRecursively -> DEBU 010 Found real value for peer.BCCSP.PKCS11.Pin setting to 2020-05-18 05:32:25.059 UTC [viperutil] unmarshalJSON -> DEBU 011 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value 2020-05-18 05:32:25.059 UTC [viperutil] getKeysRecursively -> DEBU 012 Found real value for peer.BCCSP.Default setting to string SW 2020-05-18 05:32:25.059 UTC [viperutil] getKeysRecursively -> DEBU 013 Found map[string]interface{} value for peer.BCCSP.SW 2020-05-18 05:32:25.060 UTC [viperutil] unmarshalJSON -> DEBU 014 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value 2020-05-18 05:32:25.060 UTC [viperutil] getKeysRecursively -> DEBU 015 Found real value for peer.BCCSP.SW.Hash setting to string SHA2 2020-05-18 05:32:25.060 UTC [viperutil] unmarshalJSON -> DEBU 016 Unmarshal JSON: value is not a string: 256 2020-05-18 05:32:25.060 UTC [viperutil] getKeysRecursively -> DEBU 017 Found real value for peer.BCCSP.SW.Security setting to int 256 2020-05-18 05:32:25.060 UTC [viperutil] getKeysRecursively -> DEBU 018 Found map[string]interface{} value for peer.BCCSP.SW.FileKeyStore 2020-05-18 05:32:25.060 UTC [viperutil] unmarshalJSON -> DEBU 019 Unmarshal JSON: value cannot be unmarshalled: unexpected end of JSON input 2020-05-18 05:32:25.060 UTC [viperutil] getKeysRecursively -> DEBU 01a Found real value for peer.BCCSP.SW.FileKeyStore.KeyStore setting to string 2020-05-18 05:32:25.060 UTC [viperutil] EnhancedExactUnmarshalKey -> DEBU 01b map[peer.BCCSP:map[PKCS11:map[FileKeyStore:map[KeyStore:] Library: Label: Pin: Hash: Security:] Default:SW SW:map[Hash:SHA2 Security:256 FileKeyStore:map[KeyStore:]]]] 2020-05-18 05:32:25.060 UTC [bccsp_sw] openKeyStore -> DEBU 01c KeyStore opened at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/keystore]...done 2020-05-18 05:32:25.060 UTC [bccsp] initBCCSP -> DEBU 01d Initialize BCCSP [SW] 2020-05-18 05:32:25.060 UTC [msp] getPemMaterialFromDir -> DEBU 01e Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/signcerts 2020-05-18 05:32:25.060 UTC [msp] getPemMaterialFromDir -> DEBU 01f Inspecting file /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/signcerts/Admin@org1.hurley.lab-cert.pem 2020-05-18 05:32:25.060 UTC [msp] getPemMaterialFromDir -> DEBU 020 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/cacerts 2020-05-18 05:32:25.060 UTC [msp] getPemMaterialFromDir -> DEBU 021 Inspecting file /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/cacerts/ca.org1.hurley.lab-cert.pem 2020-05-18 05:32:25.060 UTC [msp] getPemMaterialFromDir -> DEBU 022 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/admincerts 2020-05-18 05:32:25.060 UTC [msp] getPemMaterialFromDir -> DEBU 023 Inspecting file /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/admincerts/Admin@org1.hurley.lab-cert.pem 2020-05-18 05:32:25.060 UTC [msp] getPemMaterialFromDir -> DEBU 024 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/intermediatecerts 2020-05-18 05:32:25.061 UTC [msp] getMspConfig -> DEBU 025 Intermediate certs folder not found at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/intermediatecerts]. Skipping. [stat /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/intermediatecerts: no such file or directory] 2020-05-18 05:32:25.061 UTC [msp] getPemMaterialFromDir -> DEBU 026 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlscacerts 2020-05-18 05:32:25.061 UTC [msp] getPemMaterialFromDir -> DEBU 027 Inspecting file /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlscacerts/tlsca.org1.hurley.lab-cert.pem 2020-05-18 05:32:25.061 UTC [msp] getPemMaterialFromDir -> DEBU 028 Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlsintermediatecerts 2020-05-18 05:32:25.061 UTC [msp] getMspConfig -> DEBU 029 TLS intermediate certs folder not found at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlsintermediatecerts]. Skipping. [stat /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/tlsintermediatecerts: no such file or directory] 2020-05-18 05:32:25.061 UTC [msp] getPemMaterialFromDir -> DEBU 02a Reading directory /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/crls 2020-05-18 05:32:25.061 UTC [msp] getMspConfig -> DEBU 02b crls folder not found at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/crls]. Skipping. [stat /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/crls: no such file or directory] 2020-05-18 05:32:25.061 UTC [msp] getMspConfig -> DEBU 02c MSP configuration file not found at [/etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/config.yaml]: [stat /etc/hyperledger/msp/users/Admin@org1.hurley.lab/msp/config.yaml: no such file or directory] 2020-05-18 05:32:25.061 UTC [msp] newBccspMsp -> DEBU 02d Creating BCCSP-based MSP instance 2020-05-18 05:32:25.061 UTC [msp] New -> DEBU 02e Creating Cache-MSP instance 2020-05-18 05:32:25.061 UTC [msp] loadLocaMSP -> DEBU 02f Created new local MSP 2020-05-18 05:32:25.061 UTC [msp] Setup -> DEBU 030 Setting up MSP instance org1MSP

jackyjqcheung commented 4 years ago

Finally I found the source:

Fedora 32 forbids the tcp communication between docker containers.

Solutions:

sudo firewall-cmd --get-zone-of-interface=enp1s0
sudo firewall-cmd --zone=FedoraWorkstation --add-masquerade –permanent sudo firewall-cmd --permanent --zone=trusted --add-interface=docker0 sudo firewall-cmd --reload