问题描述
我想从 AWS IoT_Core 获取数据以响应我关注的应用程序 [媒体博客][1]
Amplify.configure({
Auth: {
identityPoolId: "xxxxxxxx",region: "us-east-1",userPoolId: "xxxxxxxxx",userPoolWebClientId: "xxxxxxx",// got from Cognito/UserPool/app Clients
},});
Amplify.addpluggable(
new AWSIoTProvider({
aws_pubsub_region: "us-east-1",aws_pubsub_endpoint: `wss://<AWS_IOT_END_POINT>/mqtt`,got from IoT_core/settings/endpoint
})
);
出现错误
errorCode: 7
errorMessage: "AMQJS0007E Socket error:undefined."
invocationContext: undefined
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)