You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running "curl -k https://org1-ca.localho.st:443/cainfo" I am getting "curl: (7) Failed to connect to org1-ca.localho.st port 443: Connection refused" error.
What did you expect to happen?
It should deployed and worked perfect.
How can we reproduce it (as minimally and precisely as possible)?
Hey @rohitshukla11 , looks like you are following the readme to set up HLF network locally.
If that's the case then, the host you are trying to connect to resolves to ClusterIP of the proxy that you are using (in this case , istio). ClusterIP cannot be accessed locally , hence you are getting the connection refused error. The above curl command works only inside the cluster i.e; you need to run that inside some pod inside the cluster.
Hey @rohitrj22 thanks for the response I am running this inside the Google cloud Kubernetes cluster. Can you guide me or provide a resource to set up hyperledger fabric network inside Kubernetes cluster. Thanks
What happened?
While running "curl -k https://org1-ca.localho.st:443/cainfo" I am getting "curl: (7) Failed to connect to org1-ca.localho.st port 443: Connection refused" error.
What did you expect to happen?
It should deployed and worked perfect.
How can we reproduce it (as minimally and precisely as possible)?
Run following commands:
kubectl hlf ca create --image=$CA_IMAGE --version=$CA_VERSION --storage-class=standard --capacity=1Gi --name=org1-ca
--enroll-id=enroll --enroll-pw=enrollpw --hosts=org1-ca.localho.st --istio-port=443
kubectl wait --timeout=180s --for=condition=Running fabriccas.hlf.kungfusoftware.es --all
curl -k https://org1-ca.localho.st:443/cainfo
Anything else we need to know?
No response
Kubernetes version
# kubectl get nodes -o wide
The text was updated successfully, but these errors were encountered: