Lorawan-stack: 云形成堆栈Lambda函数错误

创建于 2021-02-23  ·  4评论  ·  资料来源: TheThingsNetwork/lorawan-stack

你好,

我认为这是一个错误,但是如果我错了,请纠正我!

概括


在集群地址au1.cloud.thethings.network AWS 账户中为 The Things Stack 安装和配置 AWS IoT 集成后,我在 AWS IoT Core 中创建了一个事物。 CreateThingFunction返回错误: Failed to dial Identity Server at "ttn-v3-is:///ttn.au1.cloud.thethings.network": connection error: desc = "transport: error while dialing: dial tcp: lookup ttn.au1.cloud.thethings.network on 169.254.78.1:53: no such host"文档说,虽然群集地址可以在au1中,但Identity Server API requests to any cluster other than eu1 will fail

我更改了堆栈,使集群地址为eu1.cloud.thethings.industries并且似乎可以在 ttn 控制台 au1.cloud.thethings.network 上创建事物,但 lambda 函数仍然报告失败。 日志显示

2021/02/23 02:13:20 Created on Identity Server
2021/02/23 02:13:21 Failed to dial Join Server at "ttn-v3-js:///eu1.cloud.thethings.network": context deadline exceeded
2021/02/23 02:13:21 Rollback create on Identity Server failed: rpc error: code = DeadlineExceeded desc = context deadline exceeded

重现步骤

  1. 使用au1社区网络在au1.cloud.thethings.network上创建组织和应用程序
  2. 使用 au1 集群地址(无租户 ID)为 The Things Stack 安装 AWS IoT Integration 1.0.4
  3. 在AWS中创建事物

您现在看到什么?

文档中给出的群集地址似乎无效,或不适用于社区网络。 看来必须使用eu1代替。 lambda 函数在 cloudwatch 中报告错误结果,但在 TTN 控制台中创建内容。

你想看什么?

lambda函数不应报告错误。 此处的文档应具有社区网络的示例群集地址。

环境

我认为此处的硬件或网关不相关。

您打算如何实施呢?

文档更新和lambda函数更新。

您打算如何测试呢?

只要不将 eu1 用作测试网络,就可以使用上述重现步骤轻松进行测试。

你能自己做这个并提交一个拉取请求吗?

不幸的是,如果 lambda 函数是用 Go 编写的,则不会!

谢谢

blocked bug integration in progress

最有用的评论

现已发布,请参阅https://www.thethingsindustries.com/docs/integrations/aws-iot/default/deployment-guide/并确保在单击 CloudFormation 部署按钮之前选择社区

所有4条评论

感谢@thinkOfaNumber ,我们为 AWS IoT Core 集成准备了 TTN V3 支持以进行部署。 我们目前正在等待 The Things Stack Cloud 升级到 3.11.x,以便我们可以开始推出。

内部参考https://github.com/TheThingsIndustries/lorawan-stack-aws-integration/pull/21

感谢您的快速回复,我没有意识到现在还没有准备好。 我可以参考一个路线图吗?

现已发布,请参阅https://www.thethingsindustries.com/docs/integrations/aws-iot/default/deployment-guide/并确保在单击 CloudFormation 部署按钮之前选择社区

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

ecities picture ecities  ·  5评论

adriansmares picture adriansmares  ·  9评论

johanstokking picture johanstokking  ·  6评论

htdvisser picture htdvisser  ·  9评论

MatteMoveSRL picture MatteMoveSRL  ·  7评论