Fabric_sdk_go:[Solved]event service creation failed: could not get chConfig cache reference: QueryBlockConfig failed: QueryBlockConfig failed: target(s) required
Error Message:
Configuration file config_test: channel name is mychannel, in the demo it is orgchannel.
[Solution] Comment out orgchannel in config_test:
# Mychannel overrides initialBackoff for discovery
mychannel:
policies:
discovery:
retryOpts:
#[Required for override] number of retry attempts
attempts: 4
initialBackoff: 1s
# multi-org test channel
# orgchannel: //remove
# orderers:
# - orderer.example.com
peers:
peer0.org1.example.com:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
peer0.org2.example.com:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
Problem-solving:
Read More:
- [Solved] go cobra Error: required flag(s) “pkg-name” not set
- [Solved] Goland sdk Error: The selected directory is not a valid home for Go SDK
- Go build package error: TARGET_OS_MAC & IOMasterPort
- [Solved] the SDK location is inside Studio‘s install location
- [Solved] Hikvision SDK: NET_DVR_GetDVRConfig failed Device does not support this function
- K8S error validating data: ValidationError(Deployment.spec): missing required field selector
- [Solved] Error: error getting chaincode bytes: ‘go list‘ failed with: cannot find module providing package
- How to Solve bootstrap.sh error during the construction of fabric environment
- [Solved] docker Error response from daemon OCI runtime create failed container_linux.go380
- [Solved] Flutter SDK constraint error: pub get failed (65; See…
- [Solved] Failed to install the following Android SDK packages as some licences have not been accepted
- GO Exception Runnerw.exe: CreateProcess failed with error 21
- [Solved] Android Studio 4 Error: The application could not be installed: INSTALL_FAILED_OLDER_SDK
- [Solved] pod CDN: trunk Repo update failed – 56 error(s):
- Eclipse Godson Error: Makefile:recipe for target ‘clean‘ failed
- [Solved] FlutterIOS CDN trunk Repo update failed – 34 error(s)
- [Solved] Error running ‘go build myfir_go_project‘: Cannot run program
- [Solved] Golang Error: main.go:5:2: package go_code/chapter10/factory/model is not in GOROOT
- [Solved] git error: RPC failed; curl 56 Recv failure:Connection was resetB/s
- [Solved] k8s kubeadmin init Error: http://localhost:10248/healthz‘ failed