问题将我的lambda功能连接到亚马逊托管区块链

发布于 2025-01-19 05:42:23 字数 619 浏览 3 评论 0原文

当我尝试调用 lambda 函数来调用 Amazon Managed Hyperledger 区块链上的链代码时,我失败并显示 DNS 14 消息。

ERROR   Failed proposal response. Status code: undefined. Message: 14 UNAVAILABLE: DNS resolution failed. Stack: Error: 14 UNAVAILABLE: DNS resolution failed

在 Object.exports.createStatusError (/opt/nodejs/node_modules/grpc/src/common.js:91:15) 在 Object.onReceiveStatus (/opt/nodejs/node_modules/grpc/src/client_interceptors.js:1209:28) 在 InterceptingListener._callNext (/opt/nodejs/node_modules/grpc/src/client_interceptors.js:568:42)

我相信这是由于用于访问对等节点端点的 grpc 链接所致。

我已尝试记录所有请求字段,但很难找出缺少哪个配置。

I am failing with a DNS 14 message when trying to call a lambda function to invoke chaincode on my Amazon Managed Hyperledger Blockchain.

ERROR   Failed proposal response. Status code: undefined. Message: 14 UNAVAILABLE: DNS resolution failed. Stack: Error: 14 UNAVAILABLE: DNS resolution failed

at Object.exports.createStatusError (/opt/nodejs/node_modules/grpc/src/common.js:91:15)
at Object.onReceiveStatus (/opt/nodejs/node_modules/grpc/src/client_interceptors.js:1209:28)
at InterceptingListener._callNext (/opt/nodejs/node_modules/grpc/src/client_interceptors.js:568:42)

I believe that it is due to a grpc link used to access the peer node endpoint.

I've tried logging all of the request fields, but it is difficult to figure out which configuration is missing.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

橘亓 2025-01-26 05:42:23

尝试针对对等地址执行nslookup。如果失败,请查看您是否为 Hyperledger Fabric 网络创建了 VPC Endpoint。

Try to perform nslookup against the peer address. If it fails, see whether you have created VPC Endpoint for the Hyperledger Fabric network.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文