By using AWS re:Post, you agree to the Terms of Use
/Greengrass V2 fleet provision cant connect to IoT - CLIENT ERROR/

Greengrass V2 fleet provision cant connect to IoT - CLIENT ERROR

0

Hi there,

I have setup everything according to this guide https://docs.aws.amazon.com/greengrass/v2/developerguide/fleet-provisioning.html

but when it run

sudo -E java -Droot="/greengrass/v2" -Dlog.store=FILE \
  -jar ./GreengrassInstaller/lib/Greengrass.jar \
  --trusted-plugin ./GreengrassInstaller/aws.greengrass.FleetProvisioningByClaim.jar \
  --init-config ./GreengrassInstaller/config.yaml \
  --component-default-user ggc_user:ggc_group \
  --setup-system-service true

iot returns CLIENT ERROR in $aws/events/presence/connected/4df1e0dd-c0ab-4fae-8642-f5c30 so i check the ip, which is the ip of my device

{
  "clientId": "4df1e0dd-c0ab-4fae-8642-f5c307",
  "timestamp": 1646954873555,
  "eventType": "connected",
  "sessionIdentifier": "da85a477-c309-4ed6-92e0-ccdf1fa",
  "principalIdentifier": "de56ae093b3d75481acf40b3d30e38053ad2e8219fa925e8b9ecc",
  "ipAddress": "",
  "versionNumber": 0
}

{
  "clientId": "4df1e0dd-c0ab-4fae-8642-f5c307",
  "timestamp": 1646954873704,
  "eventType": "disconnected",
  "clientInitiatedDisconnect": false,
  "sessionIdentifier": "da85a477-c309-4ed6-92e0-ccdf1fa",
  "principalIdentifier": "de56ae093b3d75481acf40b3d30e38053ad2e8219fa925e8b9ecc",
  "disconnectReason": "CLIENT_ERROR",
  "versionNumber": 0
}

Thanks for your helps

1 Answers
0
Accepted Answer

it is the IoT policy, for the claim cert

answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions