-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to a running ccaas (Nodejs) after installing #225
Comments
This is the logs inside the typescript chain code's pod:
Based on the logs, I guess it is running well. The only concern is the address. If this is the problem, how could I setup the right connection? |
check the chaincode's kuberentes service and verify if the port 7052 is configured properly. |
I followed the guidelines closely, so I found nothing wrong with the port. However, after a few times just trying again and again. I managed to get it to work without really knowing why. |
What happened?
I have been following this guideline to create a platform for my research. I tried to find out how to package a developed chain code and Dockerize it to be used as a ccaas just like this example.
I normally develop chain codes using javascript or typescript. So, I took the
asset-transfer-basic-ts
sample from thefabric-samples
repo, packaged, dockerized and tried to use the same methods in the example to have a ccaas ready. However, it does not work. It keeps returning this error:I guess it is either because of the incorrect dockerization or incorrect setup of addresses when packaging the chain code. So, I tried a number of changes but still could not make it work. I even tried to use the
kfsoftware/asset-transfer-ts:latest
image, but there is still no luck. These are myconnection.json
andmetadata.json
files being used when packaging the chaincode.What did you expect to happen?
I expect the chaincode is invocable after successful installation and commitment from the peers just like in this sample.
How can we reproduce it (as minimally and precisely as possible)?
If you follow the guideline at: https://hyperledger.github.io/bevel-operator-fabric/docs/getting-started. Then, at the step "Deploy chaincode container on cluster", instead of using the provided image, if we try to use the
kfsoftware/asset-transfer-ts:latest
image. Then, when we invoke the chain code, the issue will appear.Anything else we need to know?
No response
Kubernetes version
This is the config file of my cluster. All details of the setup can be found in the guidelines mentioned above.
The text was updated successfully, but these errors were encountered: