Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Cloud IoT Gateway Connection Out Of Memory

MQTT connection for IOT device gets disconnected with the below given error string, "Out of memory". I got feedback from the community that this occurs when JWT expires and we don't refresh it. But I have made sure that JWT expiration is not the issue. I am creating a new JWT every time. Any idea why I am getting this error. 

0 1 264
1 REPLY 1

Hello Vaibhavriju,

Thank you for reaching out regarding your issue with Cloud IoT Gateway Connections giving Out of Memory errors.

It seems that this error message generally occurs when you have a misconfigured device [1][2], and may occur due to stale pub/private keys [3].

I hope this clarifies the cause of the error messages for you. If you require more assistance with this, I would recommend reaching out on the Google Issue tracker [4] as that is the best place to report any bugs [5].

Best Regards,

Samuel
Google Cloud Platform Support, Montreal

[1] GitHub issue: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/1943 

[2] GitHub Issue: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4135

[3] Public/Private keys root cause: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4135#issuecomment-647764425 

[4] Google Issue Tracker: https://issuetracker.google.com 

[5] Google Community Support channels: https://cloud.google.com/support/docs/community#report_bugs_and_request_features