我正在尝试为我们的AWS IoT堆栈测试设置localstack。但是我收到非常基本的API(例如pipe(readable,transform,writable){
return new Promise((resolve,reject) => {
readable
.pipe(transform)
.pipe(writable,{end:false})
.on('unpipe',() => {
resolve();
// this must be called somewhere!
// writable.end();
})
.on('error',(error) => {
console.error(error)
reject(error);
})
});
}
,list-thing-groups
等)的连接超时错误。由于免费层不支持IoT,因此我使用的是本地协议栈的付费版本。我通过设置变量list-thing
SERVICES
获取以下错误消息:
export SERVICES=sqs,sns,iot
当我尝试使用snS时,它工作正常,没有任何问题。不知道为什么它不适用于物联网。启动localstack容器后的消息不是关于IoT的,也不知道为什么。
$ aws --endpoint-url=http://localhost:4589 iot list-thing-groups
Connection was closed before we received a valid response from endpoint URL: "http://localhost:4589/thing-groups".
让我知道我是否想念任何东西。