IBM / blockchain-network-on-kubernetes

Demonstrates the steps involved in setting up your business network on Hyperledger Fabric using Kubernetes APIs on IBM Cloud Kubernetes Service.
https://developer.ibm.com/patterns/deploy-hyperledger-fabric-network-on-ibm-cloud/
Apache License 2.0
316 stars 182 forks source link

Error: error getting endorser client for query: endorser client failed to connect to blockchain-org1peer1:30110: failed to create new connection: context deadline exceeded #68

Closed suxiaohei closed 3 years ago

suxiaohei commented 4 years ago

@maheshwarishikha - Hi, I hava the same problem #63. Thanks.

# ./setup_blockchainNetwork_v2.sh

system info

# cat /etc/issue

Ubuntu 16.04.6 LTS

k8s info

 # kubectl version  --short

Client Version: v1.18.2 Server Version: v1.18.2

pods info

# kubectl get pods
NAME                                    READY   STATUS      RESTARTS   AGE
blockchain-ca-65c9975447-g5lnc          1/1     Running     0          90m
blockchain-orderer-6bd99d866b-rmgf5     1/1     Running     0          90m
blockchain-org1peer1-597f6cb7b8-4bhhg   1/1     Running     0          90m
blockchain-org2peer1-5bdf556465-jm984   1/1     Running     0          90m
blockchain-org3peer1-5878fbdb5f-x6nzr   1/1     Running     0          90m
blockchain-org4peer1-6869bc469c-277s8   1/1     Running     0          90m
chaincodeinstall-fsffh                  0/4     Completed   0          86m
chaincodeinstantiate-gh2j2              0/1     Completed   0          83m
copyartifacts-rp8zc                     0/1     Completed   0          92m
createchannel-tjttw                     0/2     Completed   0          89m
docker-dind-86f654dbdf-vvmwk            1/1     Running     0          92m
joinchannel-txz9f                       0/4     Completed   0          88m
utils-62fs8                             0/2     Completed   0          91m

orderer error log

# kubectl logs  blockchain-orderer-6bd99d866b-rmgf5
2020-05-03 15:41:22.375 UTC [localconfig] completeInitialization -> INFO 001 Kafka.Version unset, setting to 0.10.2.0
2020-05-03 15:41:22.386 UTC [orderer.common.server] prettyPrintStruct -> INFO 002 Orderer config values:
    General.LedgerType = "file"
    General.ListenAddress = "0.0.0.0"
    General.ListenPort = 31010
    General.TLS.Enabled = false
    General.TLS.PrivateKey = "/etc/hyperledger/fabric/tls/server.key"
    General.TLS.Certificate = "/etc/hyperledger/fabric/tls/server.crt"
    General.TLS.RootCAs = [/etc/hyperledger/fabric/tls/ca.crt]
    General.TLS.ClientAuthRequired = false
    General.TLS.ClientRootCAs = []
    General.Cluster.ListenAddress = ""
    General.Cluster.ListenPort = 0
    General.Cluster.ServerCertificate = ""
    General.Cluster.ServerPrivateKey = ""
    General.Cluster.ClientCertificate = ""
    General.Cluster.ClientPrivateKey = ""
    General.Cluster.RootCAs = []
    General.Cluster.DialTimeout = 5s
    General.Cluster.RPCTimeout = 7s
    General.Cluster.ReplicationBufferSize = 20971520
    General.Cluster.ReplicationPullTimeout = 5s
    General.Cluster.ReplicationRetryTimeout = 5s
    General.Cluster.ReplicationBackgroundRefreshInterval = 5m0s
    General.Cluster.ReplicationMaxRetries = 12
    General.Cluster.SendBufferSize = 10
    General.Cluster.CertExpirationWarningThreshold = 168h0m0s
    General.Cluster.TLSHandshakeTimeShift = 0s
    General.Keepalive.ServerMinInterval = 1m0s
    General.Keepalive.ServerInterval = 2h0m0s
    General.Keepalive.ServerTimeout = 20s
    General.ConnectionTimeout = 0s
    General.GenesisMethod = "file"
    General.GenesisProfile = "initial"
    General.SystemChannel = "test-system-channel-name"
    General.GenesisFile = "/shared/genesis.block"
    General.Profile.Enabled = false
    General.Profile.Address = "0.0.0.0:6060"
    General.LocalMSPDir = "/shared/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp"
    General.LocalMSPID = "OrdererMSP"
    General.BCCSP.ProviderName = "SW"
    General.BCCSP.SwOpts.SecLevel = 256
    General.BCCSP.SwOpts.HashFamily = "SHA2"
    General.BCCSP.SwOpts.Ephemeral = false
    General.BCCSP.SwOpts.FileKeystore.KeyStorePath = "/shared/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore"
    General.BCCSP.SwOpts.DummyKeystore =
    General.BCCSP.SwOpts.InmemKeystore =
    General.BCCSP.PluginOpts =
    General.Authentication.TimeWindow = 15m0s
    General.Authentication.NoExpirationChecks = false
    FileLedger.Location = "/shared/ledger/orderer"
    FileLedger.Prefix = "hyperledger-fabric-ordererledger"
    RAMLedger.HistorySize = 1000
    Kafka.Retry.ShortInterval = 5s
    Kafka.Retry.ShortTotal = 10m0s
    Kafka.Retry.LongInterval = 5m0s
    Kafka.Retry.LongTotal = 12h0m0s
    Kafka.Retry.NetworkTimeouts.DialTimeout = 10s
    Kafka.Retry.NetworkTimeouts.ReadTimeout = 10s
    Kafka.Retry.NetworkTimeouts.WriteTimeout = 10s
    Kafka.Retry.Metadata.RetryMax = 3
    Kafka.Retry.Metadata.RetryBackoff = 250ms
    Kafka.Retry.Producer.RetryMax = 3
    Kafka.Retry.Producer.RetryBackoff = 100ms
    Kafka.Retry.Consumer.RetryBackoff = 2s
    Kafka.Verbose = false
    Kafka.Version = 0.10.2.0
    Kafka.TLS.Enabled = false
    Kafka.TLS.PrivateKey = ""
    Kafka.TLS.Certificate = ""
    Kafka.TLS.RootCAs = []
    Kafka.TLS.ClientAuthRequired = false
    Kafka.TLS.ClientRootCAs = []
    Kafka.SASLPlain.Enabled = false
    Kafka.SASLPlain.User = ""
    Kafka.SASLPlain.Password = ""
    Kafka.Topic.ReplicationFactor = 3
    Debug.BroadcastTraceDir = ""
    Debug.DeliverTraceDir = ""
    Consensus = map[SnapDir:/var/hyperledger/production/orderer/etcdraft/snapshot WALDir:/var/hyperledger/production/orderer/etcdraft/wal]
    Operations.ListenAddress = "127.0.0.1:8443"
    Operations.TLS.Enabled = false
    Operations.TLS.PrivateKey = ""
    Operations.TLS.Certificate = ""
    Operations.TLS.RootCAs = []
    Operations.TLS.ClientAuthRequired = false
    Operations.TLS.ClientRootCAs = []
    Metrics.Provider = "disabled"
    Metrics.Statsd.Network = "udp"
    Metrics.Statsd.Address = "127.0.0.1:8125"
    Metrics.Statsd.WriteInterval = 30s
    Metrics.Statsd.Prefix = ""
2020-05-03 15:41:22.403 UTC [orderer.common.server] extractSysChanLastConfig -> INFO 003 Bootstrapping because no existing channels
2020-05-03 15:41:22.409 UTC [fsblkstorage] newBlockfileMgr -> INFO 004 Getting block information from block storage
2020-05-03 15:41:22.434 UTC [orderer.commmon.multichannel] Initialize -> INFO 005 Starting system channel 'testchainid' with genesis block hash 3c989d872f20391a04651faa68e1c3d51d1a3d232f2889a7185a734a2b81be0a and orderer type solo
2020-05-03 15:41:22.434 UTC [orderer.common.server] Start -> INFO 006 Starting orderer:
 Version: 1.4.6
 Commit SHA: 635fa7bc8
 Go version: go1.12.12
 OS/Arch: linux/amd64
2020-05-03 15:41:22.434 UTC [orderer.common.server] Start -> INFO 007 Beginning to serve requests
2020-05-03 15:42:45.740 UTC [comm.grpc.server] 1 -> INFO 008 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=10.88.0.1:25079 grpc.code=OK grpc.call_duration=10.721732ms
2020-05-03 15:42:45.743 UTC [fsblkstorage] newBlockfileMgr -> INFO 009 Getting block information from block storage
2020-05-03 15:42:45.762 UTC [orderer.commmon.multichannel] newChain -> INFO 00a Created and starting new chain channel1
2020-05-03 15:42:45.770 UTC [comm.grpc.server] 1 -> INFO 00b streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=10.88.0.1:33828 grpc.code=OK grpc.call_duration=42.091946ms
2020-05-03 15:43:25.643 UTC [common.deliver] Handle -> WARN 00c Error reading from 10.88.0.1:38063: rpc error: code = Canceled desc = context canceled
2020-05-03 15:43:25.643 UTC [comm.grpc.server] 1 -> INFO 00d streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=10.88.0.1:38063 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=4.784783ms
2020-05-03 15:44:02.965 UTC [common.deliver] Handle -> WARN 00e Error reading from 10.88.0.1:17772: rpc error: code = Canceled desc = context canceled
2020-05-03 15:44:02.965 UTC [comm.grpc.server] 1 -> INFO 00f streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=10.88.0.1:17772 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=2.627753ms
2020-05-03 15:44:39.009 UTC [common.deliver] Handle -> WARN 010 Error reading from 10.88.0.1:13906: rpc error: code = Canceled desc = context canceled
2020-05-03 15:44:39.009 UTC [comm.grpc.server] 1 -> INFO 011 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=10.88.0.1:13906 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=3.877903ms
2020-05-03 15:45:12.060 UTC [common.deliver] Handle -> WARN 012 Error reading from 10.88.0.1:11435: rpc error: code = Canceled desc = context canceled
2020-05-03 15:45:12.060 UTC [comm.grpc.server] 1 -> INFO 013 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=10.88.0.1:11435 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=2.891811ms
2020-05-03 15:48:23.694 UTC [orderer.common.broadcast] Handle -> WARN 014 Error reading from 10.88.0.1:28198: rpc error: code = Canceled desc = context canceled
2020-05-03 15:48:23.694 UTC [comm.grpc.server] 1 -> INFO 015 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=10.88.0.1:28198 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=656.821784ms

blockchain-org1peer1 error log

# kubectl exec -it blockchain-org1peer1-597f6cb7b8-4bhhg -- /bin/bash

# peer chaincode query -C channel1 -n cc -c '{"Args":["query","a"]}'
root@blockchain-org1peer1-597f6cb7b8-4bhhg:/#  peer chaincode query -C channel1 -n cc -c '{"Args":["query","a"]}'
2020-05-03 16:31:12.129 UTC [viperutil] getKeysRecursively -> DEBU 001 Found map[string]interface{} value for peer.BCCSP
2020-05-03 16:31:12.129 UTC [viperutil] unmarshalJSON -> DEBU 002 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
2020-05-03 16:31:12.129 UTC [viperutil] getKeysRecursively -> DEBU 003 Found real value for peer.BCCSP.Default setting to string SW
2020-05-03 16:31:12.130 UTC [viperutil] getKeysRecursively -> DEBU 004 Found map[string]interface{} value for peer.BCCSP.SW
2020-05-03 16:31:12.130 UTC [viperutil] getKeysRecursively -> DEBU 005 Found map[string]interface{} value for peer.BCCSP.SW.FileKeyStore
2020-05-03 16:31:12.130 UTC [viperutil] unmarshalJSON -> DEBU 006 Unmarshal JSON: value cannot be unmarshalled: unexpected end of JSON input
2020-05-03 16:31:12.130 UTC [viperutil] getKeysRecursively -> DEBU 007 Found real value for peer.BCCSP.SW.FileKeyStore.KeyStore setting to string
2020-05-03 16:31:12.130 UTC [viperutil] unmarshalJSON -> DEBU 008 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
2020-05-03 16:31:12.130 UTC [viperutil] getKeysRecursively -> DEBU 009 Found real value for peer.BCCSP.SW.Hash setting to string SHA2
2020-05-03 16:31:12.130 UTC [viperutil] unmarshalJSON -> DEBU 00a Unmarshal JSON: value is not a string: 256
2020-05-03 16:31:12.130 UTC [viperutil] getKeysRecursively -> DEBU 00b Found real value for peer.BCCSP.SW.Security setting to int 256
2020-05-03 16:31:12.131 UTC [viperutil] getKeysRecursively -> DEBU 00c Found map[string]interface{} value for peer.BCCSP.PKCS11
2020-05-03 16:31:12.131 UTC [viperutil] getKeysRecursively -> DEBU 00d Found map[string]interface{} value for peer.BCCSP.PKCS11.FileKeyStore
2020-05-03 16:31:12.131 UTC [viperutil] unmarshalJSON -> DEBU 00e Unmarshal JSON: value is not a string: <nil>
2020-05-03 16:31:12.131 UTC [viperutil] getKeysRecursively -> DEBU 00f Found real value for peer.BCCSP.PKCS11.FileKeyStore.KeyStore setting to <nil> <nil>
2020-05-03 16:31:12.132 UTC [viperutil] unmarshalJSON -> DEBU 010 Unmarshal JSON: value is not a string: <nil>
2020-05-03 16:31:12.132 UTC [viperutil] getKeysRecursively -> DEBU 011 Found real value for peer.BCCSP.PKCS11.Library setting to <nil> <nil>
2020-05-03 16:31:12.132 UTC [viperutil] unmarshalJSON -> DEBU 012 Unmarshal JSON: value is not a string: <nil>
2020-05-03 16:31:12.132 UTC [viperutil] getKeysRecursively -> DEBU 013 Found real value for peer.BCCSP.PKCS11.Label setting to <nil> <nil>
2020-05-03 16:31:12.132 UTC [viperutil] unmarshalJSON -> DEBU 014 Unmarshal JSON: value is not a string: <nil>
2020-05-03 16:31:12.133 UTC [viperutil] getKeysRecursively -> DEBU 015 Found real value for peer.BCCSP.PKCS11.Pin setting to <nil> <nil>
2020-05-03 16:31:12.133 UTC [viperutil] unmarshalJSON -> DEBU 016 Unmarshal JSON: value is not a string: <nil>
2020-05-03 16:31:12.133 UTC [viperutil] getKeysRecursively -> DEBU 017 Found real value for peer.BCCSP.PKCS11.Hash setting to <nil> <nil>
2020-05-03 16:31:12.133 UTC [viperutil] unmarshalJSON -> DEBU 018 Unmarshal JSON: value is not a string: <nil>
2020-05-03 16:31:12.134 UTC [viperutil] getKeysRecursively -> DEBU 019 Found real value for peer.BCCSP.PKCS11.Security setting to <nil> <nil>
2020-05-03 16:31:12.134 UTC [viperutil] EnhancedExactUnmarshalKey -> DEBU 01a map[peer.BCCSP:map[Default:SW PKCS11:map[FileKeyStore:map[KeyStore:<nil>] Hash:<nil> Label:<nil> Library:<nil> Pin:<nil> Security:<nil>] SW:map[FileKeyStore:map[KeyStore:] Hash:SHA2 Security:256]]]
2020-05-03 16:31:12.134 UTC [bccsp_sw] openKeyStore -> DEBU 01b KeyStore opened at [/shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore]...done
2020-05-03 16:31:12.134 UTC [bccsp] initBCCSP -> DEBU 01c Initialize BCCSP [SW]
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 01d Reading directory /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/signcerts
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 01e Inspecting file /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/signcerts/peer0.org1.example.com-cert.pem
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 01f Reading directory /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 020 Inspecting file /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 021 Reading directory /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/admincerts
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 022 Inspecting file /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/admincerts/Admin@org1.example.com-cert.pem
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 023 Reading directory /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/intermediatecerts
2020-05-03 16:31:12.134 UTC [msp] getMspConfig -> DEBU 024 Intermediate certs folder not found at [/shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/intermediatecerts]. Skipping. [stat /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/intermediatecerts: no such file or directory]
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 025 Reading directory /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlscacerts
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 026 Inspecting file /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 027 Reading directory /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlsintermediatecerts
2020-05-03 16:31:12.134 UTC [msp] getMspConfig -> DEBU 028 TLS intermediate certs folder not found at [/shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlsintermediatecerts]. Skipping. [stat /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlsintermediatecerts: no such file or directory]
2020-05-03 16:31:12.134 UTC [msp] getPemMaterialFromDir -> DEBU 029 Reading directory /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/crls
2020-05-03 16:31:12.135 UTC [msp] getMspConfig -> DEBU 02a crls folder not found at [/shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/crls]. Skipping. [stat /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/crls: no such file or directory]
2020-05-03 16:31:12.135 UTC [msp] getMspConfig -> DEBU 02b MSP configuration file not found at [/shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/config.yaml]: [stat /shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/config.yaml: no such file or directory]
2020-05-03 16:31:12.135 UTC [msp] newBccspMsp -> DEBU 02c Creating BCCSP-based MSP instance
2020-05-03 16:31:12.135 UTC [msp] New -> DEBU 02d Creating Cache-MSP instance
2020-05-03 16:31:12.135 UTC [msp] loadLocaMSP -> DEBU 02e Created new local MSP
2020-05-03 16:31:12.135 UTC [msp] Setup -> DEBU 02f Setting up MSP instance Org1MSP
2020-05-03 16:31:12.135 UTC [msp.identity] newIdentity -> DEBU 030 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICUTCCAfigAwIBAgIRAPgCz5f+hIaAfOjRDbeZHv8wCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzEuZXhhbXBsZS5jb20wHhcNMjAwNTAzMTUzNTAwWhcNMzAwNTAxMTUzNTAw
WjBzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UE
AxMTY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA
BNZg+CCkkBnVtenfH0sFxY+C236MjcWE8sMxdVgT8lktpaeAokX4SkdhhDJQ6CGx
e1qAxojJOQonvfjGUQzeaDGjbTBrMA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAU
BggrBgEFBQcDAgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQg
p+JYggxgYeEm5Bjh3W+Zf5I0jV88jvZiFJgYkpE5ZkUwCgYIKoZIzj0EAwIDRwAw
RAIgdvnkA7MWIfEO15OC0MbodPXBjF1mhAOe1XAOFvTwMmoCIFdenvJfghRdzVZs
vfkNwzYPd2CyC988A6ANa8qr4w6f
-----END CERTIFICATE-----
2020-05-03 16:31:12.136 UTC [msp.identity] newIdentity -> DEBU 031 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGjCCAcCgAwIBAgIRALN5CAYRoRK3vTNkWqnvYxswCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzEuZXhhbXBsZS5jb20wHhcNMjAwNTAzMTUzNTAwWhcNMzAwNTAxMTUzNTAw
WjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEfMB0GA1UEAxMWcGVlcjAub3JnMS5leGFtcGxlLmNvbTBZ
MBMGByqGSM49AgEGCCqGSM49AwEHA0IABNCYc4K9MRMjVi+5YfYF058bDh4FTg51
TyOg3UZdT6cFVSN8MGSZ9sYGnLmYfrIagkUNqH4vNX/FnB+uZdADNzKjTTBLMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIKfiWIIMYGHh
JuQY4d1vmX+SNI1fPI72YhSYGJKROWZFMAoGCCqGSM49BAMCA0gAMEUCIQDrnfKp
9rIA9/AdEYc2OslZy7ZK4eZAMKaApjUEbYFdfAIgBVXsSXJUxrMXDYnmXHu0V++4
DWCf8ukaog2o+POne4o=
-----END CERTIFICATE-----
2020-05-03 16:31:12.136 UTC [msp.identity] newIdentity -> DEBU 032 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGjCCAcCgAwIBAgIRALN5CAYRoRK3vTNkWqnvYxswCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzEuZXhhbXBsZS5jb20wHhcNMjAwNTAzMTUzNTAwWhcNMzAwNTAxMTUzNTAw
WjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEfMB0GA1UEAxMWcGVlcjAub3JnMS5leGFtcGxlLmNvbTBZ
MBMGByqGSM49AgEGCCqGSM49AwEHA0IABNCYc4K9MRMjVi+5YfYF058bDh4FTg51
TyOg3UZdT6cFVSN8MGSZ9sYGnLmYfrIagkUNqH4vNX/FnB+uZdADNzKjTTBLMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIKfiWIIMYGHh
JuQY4d1vmX+SNI1fPI72YhSYGJKROWZFMAoGCCqGSM49BAMCA0gAMEUCIQDrnfKp
9rIA9/AdEYc2OslZy7ZK4eZAMKaApjUEbYFdfAIgBVXsSXJUxrMXDYnmXHu0V++4
DWCf8ukaog2o+POne4o=
-----END CERTIFICATE-----
2020-05-03 16:31:12.136 UTC [msp] setupSigningIdentity -> DEBU 033 Signing identity expires at 2030-05-01 15:35:00 +0000 UTC
2020-05-03 16:31:12.137 UTC [msp.identity] newIdentity -> DEBU 034 Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGjCCAcCgAwIBAgIRAKGoWQuOcqR9mo0GKeBok0gwCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzEuZXhhbXBsZS5jb20wHhcNMjAwNTAzMTUzNTAwWhcNMzAwNTAxMTUzNTAw
WjBbMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEfMB0GA1UEAwwWQWRtaW5Ab3JnMS5leGFtcGxlLmNvbTBZ
MBMGByqGSM49AgEGCCqGSM49AwEHA0IABFs5LutL94bm2/ki0eVryPt4kWYrBdFt
QbfUPfL9xebUdpgg2jT8qjV667gdHjo70kNQ9s9PG5px1py5jkJs1QGjTTBLMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIKfiWIIMYGHh
JuQY4d1vmX+SNI1fPI72YhSYGJKROWZFMAoGCCqGSM49BAMCA0gAMEUCIQCO7x2J
H3tPChia2D5RnEbgpFrD8y6gOBg0F7rb5GrkYQIgRkkeKWmC9C8WdOkjJFYpaX9J
ecdLVfbeGOjU/ifQBNQ=
-----END CERTIFICATE-----
2020-05-03 16:31:12.137 UTC [msp] Validate -> DEBU 035 MSP Org1MSP validating identity
2020-05-03 16:31:12.138 UTC [grpc] DialContext -> DEBU 036 parsed scheme: ""
2020-05-03 16:31:12.138 UTC [grpc] DialContext -> DEBU 037 scheme "" not registered, fallback to default scheme
2020-05-03 16:31:12.138 UTC [grpc] watcher -> DEBU 038 ccResolverWrapper: sending new addresses to cc: [{blockchain-org1peer1:30110 0  <nil>}]
2020-05-03 16:31:12.138 UTC [grpc] switchBalancer -> DEBU 039 ClientConn switching balancer to "pick_first"
2020-05-03 16:31:12.138 UTC [grpc] HandleSubConnStateChange -> DEBU 03a pickfirstBalancer: HandleSubConnStateChange: 0xc000231a10, CONNECTING
Error: error getting endorser client for query: endorser client failed to connect to blockchain-org1peer1:30110: failed to create new connection: context deadline exceeded
cactusblossom commented 4 years ago

我也遇到了一模一样的问题,请问您解决了没有

maheshwarishikha commented 4 years ago

@suxiaohei - are you still facing issue?

dev-jb commented 3 years ago

I am also facing the same issue. It works perfectly fine on single node but gives this error while working with 2 nodes. Did anyone solved it?

chenc990755790 commented 3 years ago

I am also facing the same issue. It works perfectly fine on single node but gives this error while working with 2 nodes. Did anyone solved it?

now, do u solve problem when work with two nodes

pmorrall commented 3 years ago

export CORE_PEER_ADDRESS=0.0.0.0:30110 when in bash