- Newest
- Most votes
- Most comments
Based on the logs you've provided, your AWS ExpressLink module (SARA R510AWS) is experiencing provisioning issues. The problem appears to be occurring at multiple levels:
-
First, there were cellular connectivity issues (indicated by the "unable to register with the network" messages), though these were eventually resolved ("connected after 139 second(s)").
-
After establishing cellular connectivity, the MQTT client failed to connect to AWS IoT Core with error codes 13 and 8.
-
Finally, the device failed to read the certificate with the message "Failed to read device certificate."
This could be happening for several reasons:
-
The X.509 certificate on the device might be missing, corrupted, or expired. ExpressLink devices require a valid certificate that contains the device Unique ID in the Serial Number field, is signed by a registered Certificate Authority, and has an expiration date of at least 10 years.
-
The device might be failing to authenticate securely with AWS. This could happen if the AWS root certificate has expired.
-
The device certificate might not be present in your AWS IoT Core registry. This would prevent successful MQTT login.
-
There might be an issue with the endpoint configuration. The device might be trying to connect to the wrong AWS endpoint.
-
If your device was previously in the staging account and is now trying to connect to your production account, there might be an issue with the endpoint update process.
Since you mentioned this used to work for the past year, it's possible that:
- The certificate has expired
- The device has undergone an accidental factory reset and is trying to rejoin the staging account
- There's an issue with the policies attached to the device certificate
- The endpoint configuration has changed
I recommend checking:
- The status of the device certificate in your AWS IoT Core registry
- The policies attached to the certificate
- Whether the device has been accidentally reset to factory settings
- The endpoint configuration on the device
If the device has been factory reset, you may need to go through the onboarding process again to claim the module and transfer the certificate to your account.
Sources
9 Provisioning - AWS IoT ExpressLink
3 ExpressLink commands - ExpressLink
11 Provisioning - AWS IoT ExpressLink
3 ExpressLink commands - ExpressLink
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
