hyperledger-bevel / bevel-operator-fabric

Hyperledger Fabric Kubernetes operator - Hyperledger Fabric operator for Kubernetes (v2.3, v2.4 and v2.5, soon 3.0)
https://hyperledger-bevel.github.io/bevel-operator-fabric/
Apache License 2.0
278 stars 93 forks source link

Error on using chaincode client app #140

Closed JibinNajeeb closed 1 year ago

JibinNajeeb commented 1 year ago

What happened?

Modified the app in hlf-operator/examples/client/go to support "asset" chaincode Copy pasted connection-org.yaml

Executed go run main.go

getting below error log

 [fabsdk/util] 2023/01/31 18:57:39 UTC - lazyref.(*Reference).refreshValue -> WARN Error - initializer returned error: load MSPs from config failed: configure MSP failed: sanitizeCert failed the supplied identity is not valid: x509: certificate signed by unknown authority. Will retry again later
ERRO[0000] Discovery status Code: (11) UNKNOWN. Description: error getting endorsers: no endorsement combination can be satisfied
INFO[0000] txid=

What did you expect to happen?

App should execute properly and transaction must be done

How can we reproduce it (as minimally and precisely as possible)?

Modify the app in hlf-operator/examples/client/go to support "asset" chaincode Copy paste connection-org.yaml

Execute go run main.go

Anything else we need to know?

No response

Kubernetes version

```console NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME hospital-1-control-plane Ready control-plane 9h v1.25.3 172.18.0.3 Ubuntu 22.04.1 LTS 3.10.0-1160.83.1.el7.x86_64 containerd://1.6.9 hospital-1-worker Ready 9h v1.25.3 172.18.0.2 Ubuntu 22.04.1 LTS 3.10.0-1160.83.1.el7.x86_64 containerd://1.6.9 ```
lwnmengjing commented 1 year ago

I also got the same error