IoT Log Errors - Publish-in error
0
Hi, I'm noticing some random disconnections on my IoT Things. When looking in the IoT logs on Cloudwatch, I'm getting error logs about "Publish-In" but I can't figure out why they happen. How can I dig into it to understand whats up ? These are the logs (private data deleted) :
Field Value
@ingestionTime
1654587159327
@log
{id_deleted}:AWSIotLogsV2
@message
{"timestamp":"2022-06-07 07:32:29.807","logLevel":"ERROR","traceId":"{deleted}","accountId":{deleted},"status":"Failure","eventType":"Publish-In","protocol":"MQTT","topicName":"{deleted}","clientId":"{deleted}","principalId":"{deleted}","sourceIp":"{deleted}","sourcePort":{deleted}}
@timestamp
1654587149807
accountId
{id_deleted}
clientId
{id_deleted}
eventType
Publish-In
logLevel
ERROR
principalId
{id_deleted}
protocol
MQTT
sourceIp
{deleted}
sourcePort
{deleted}
status
Failure
timestamp
2022-06-07 07:32:29.807
topicName
{deleted}
traceId
{deleted}```
Topics
asked 23 days ago18 views
1 Answers
0
Hi,
you should check the IoT policy which is associated to your device (either via a thing group or a certificate) if it allows publishing to the topic which is highlighted in the log entry.
KR, Philipp
answered 22 days ago
Relevant questions
ThrottlingException when calling IoT SearchIndex
Accepted Answerasked 5 months agoError while running the IoT Demo tutorial on Raspberry Pi4
Accepted Answerasked a month agoAWS IoT Custom Authorizer Not working for HTTP GET GetRetainedMessage
asked 4 months agoGreengrass LogManager not pushing logs to cloudwatch
asked 4 months agoError when requesting thing shadow - TOO_MANY_REQUESTS
asked 25 days agoThe Things Network republish into another topic
asked 3 months agoIoT Log Errors - Publish-in error
asked 23 days agoCloudwatch logs subscription error
asked 3 years agoNeed some assistance in setting up Mosquitto for IoT core
asked 6 months agoError message typo in setting iot rule to use get_dynamodb
asked 2 years ago