Skip to content

Error while installing chaincode #262

@rishi-imentus

Description

@rishi-imentus

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

Details

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions