- 최신
- 최다 투표
- 가장 많은 댓글
Based on the error messages you provided, you may have a misconfigured connection profile that is causing these errors. Since you are able to invoke/query from the CLI, but not programmatically, please check the following:
- ensure you have the correct signing key / public cert in place when creating a wallet in the SDK.
- ensure you have added the root TLS cert chain to the common connection profile.
- ensure you have defined the endpoint(s) correctly in the connection profile.
To find examples of these, I would encourage you to check the “Invoking chaincode via API” portion of the workshop I have linked below. I would also encourage you to check that you have set up your Fabric client and client instance by going over the “Set up a Fabric Client” and the “Configure client instance” sections of the same workshop below.
https://catalog.us-east-1.prod.workshops.aws/workshops/008da2cb-8454-42d0-877b-bc290bff7fcf/en-US
To check you have configured your channel correctly view either one of these links from below:
관련 콘텐츠
- AWS 공식업데이트됨 4년 전