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:
- How to Solve bootstrap.sh error during the construction of fabric environment
- [Solved] Error: error getting chaincode bytes: ‘go list‘ failed with: cannot find module providing package
- [Solved] eggjs Error: Warning: Current Server Discovery and Monitoring engine is deprecated, and will be rem…
- [Solved] Error: failed to create deliver client: orderer client failed to connect to orderer.example.com:7050
- [How to Modify] etcd-server-8-12: ERROR (spawn error)
- [Solved] Fabric 2.x: error starting container: API error (404): network_test not found
- [Solved] npm Error: Error: Cannot find module ‘postcss-loader‘
- [Solved] Failed loading positionFile: /opt/module/flume/taildir_position.json
- [Solved] Kubeadm Reset error: etcdserver: re-configuration failed due to not enough started members
- [Solved] npm install [email protected]~1.32 sass-loader deepmerge -D Install Error
- Tensorflow Error: Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- How to Fix “Cannot open Eclipse Marketplace” Error
- [Solved] Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- [Solved] Elasticsearch Error: received plaintext http traffic on an https channel, closing connection…
- [Solved] Mybatis Error: CannotFindDataSourceException: dynamic-datasource can not find primary datasource
- [Solved] TF2.4 Error: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- [Solved] RuntimeError: 1only batches of spatial targets supported (non-empty 3D tensors) but got targets of s
- [Solved] error Component name “index“ should always be multi-word vue/multi-word-component-names
- Failed to get convolution algorithm. This is probably because cuDNN failed to initialize,
- [Solved] ERROR OGG-01232 Receive TCP params error: TCP/IP error 104 (Connection reset by peer), endpoint: