IoT's RegisterThing intermittently not working

0

I successfully use CreateKeysAndCertificate via an MQTT topic (IoT provision by claim). But then when I use RegisterThing via an MQTT topic, it only works about 50% of the time, even though my IoT code and AWS settings remain unchanged.

My pre-provisioning hook Lambda is called every time by RegisterThing according to the CloudWatch logs. And the Lambda simply returns allowProvisioning : true every time within 200 ms according to CloudWatch. But HALF the time nothing ever comes back on $aws/provisioning- templates/myThing/provision/json/rejected nor $aws/provisioning- templates/myThing/provision/json/accepted. RegisterThing is kind of a black box in the cloud, so is there something I can do?

Edit: It seems that when the previous call to RegisterThing (via MQTT) was made longer than ~ 5 minutes ago, a call to RegisterThing fails to publish its success to the $aws/provisioning-templates/myThing/provision/json/accepted topic.

I want $100 or a job offer for rigorously experimenting to discover this rather obscure issue... Ha! But seriously, I'd appreciate if someone else can confirm on their end what I'm seeing.

Iot4Me
질문됨 8달 전193회 조회
1개 답변
0

"Hello darkness, my old friend, I've come to talk with you again, Because a vision softly creeping, Left its seeds while I was sleeping, And the vision that was planted in my brain Still remains Within the sound of silence." - Simon and Garfunkel

Iot4Me
답변함 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠