问题将我的lambda功能连接到亚马逊托管区块链
当我尝试调用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试针对对等地址执行
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.