bevel-operator-fabric icon indicating copy to clipboard operation
bevel-operator-fabric copied to clipboard

Error while installing chaincode

Open rishi-imentus opened this issue 6 months ago • 0 comments

What happened?

I am using kubeadm kubernetes cluster on VMs with 1 master and 3 worker and i have installed fabric but not able to install chain code getting this error : Error: unable to verify if cc is installed on grpcs://peer0-org1.localho.st:443. Got error: Transaction processing for endorser [peer0-org1.localho.st:443]: Endorser Client Status Code: (2) CONNECTION_FAILED. Description: dialing connection on target [peer0-org1.localho.st:443]: connection is in TRANSIENT_FAILURE

i am using this command : kubectl hlf chaincode install --path=./chaincode.tgz
--config=org1.yaml --language=golang --label=$CHAINCODE_LABEL --user=admin --peer=org1-peer0.default

and for Registring , enrolling user and admin i made ClusterIP into NordPort to register successfully

What did you expect to happen?

it should install chaincode

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

as minimally and precisely as possible

Anything else we need to know?

i am trying to setup in production level

Kubernetes version

root@k8s-master:~# kubectl get nodes -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME k8s-master Ready control-plane 26d v1.30.11 192.168.0.35 Ubuntu 24.04.2 LTS 6.8.0-58-generic containerd://1.7.27 k8s-worker-2 Ready worker 11d v1.30.12 192.168.0.33 Ubuntu 24.04.2 LTS 6.8.0-58-generic containerd://1.7.27 k8s-worker-3 Ready worker 26d v1.30.11 192.168.0.144 Ubuntu 24.04.2 LTS 6.8.0-58-generic containerd://1.7.27

rishi-imentus avatar May 07 '25 11:05 rishi-imentus