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 183 forks source link

Unable to create channel due to context deadline exceeded #42

Closed JeyanthiBalakrishnan closed 5 years ago

JeyanthiBalakrishnan commented 5 years ago

I am trying to create channel using the create_channel.yaml given in github. Do I need to add/change any configuration related to CORE_PEER_LISTENADDRESS ?

kubectl logs createchannel-c8rvs createchannel

2019-05-06 06:54:04.609 UTC [msp] setupSigningIdentity -> DEBU 034 Signing identity expires at 2029-05-03 06:49:00 +0000 UTC 2019-05-06 06:54:04.609 UTC [msp] Validate -> DEBU 035 MSP Org1MSP validating identity 2019-05-06 06:54:04.609 UTC [msp] GetDefaultSigningIdentity -> DEBU 036 Obtaining default signing identity 2019-05-06 06:54:04.610 UTC [grpc] DialContext -> DEBU 037 parsed scheme: "" 2019-05-06 06:54:04.610 UTC [grpc] DialContext -> DEBU 038 scheme "" not registered, fallback to default scheme 2019-05-06 06:54:04.610 UTC [grpc] watcher -> DEBU 039 ccResolverWrapper: sending new addresses to cc: [{blockchain-orderer:31010 0 }] 2019-05-06 06:54:04.610 UTC [grpc] switchBalancer -> DEBU 03a ClientConn switching balancer to "pick_first" 2019-05-06 06:54:04.610 UTC [grpc] HandleSubConnStateChange -> DEBU 03b pickfirstBalancer: HandleSubConnStateChange: 0xc0002afe50, CONNECTING Error: failed to create deliver client: orderer client failed to connect to blockchain-orderer:31010: failed to create new connection: context deadline exceeded

maheshwarishikha commented 5 years ago

@JeyanthiBalakrishnan , no code change required. Ideally if you do not change in code anything and take care of IKS version as mentioned in documentation, then it should work as-is without any error.

I will suggest to retry with a fresh and clean setup.

JeyanthiBalakrishnan commented 5 years ago

@maheshwarishikha . Thank you. This helps.