-
Notifications
You must be signed in to change notification settings - Fork 1.1k
GetIPandCertificateFromJSON couldn't find certificate #58
Comments
Connection to Greengrass is established in 3 steps:
Looking at the logs you provided, it seems that you are able to connect to your AWS IoT Endpoint on port 8443 (as mentioned in step 1 above) but you are unable to retrieve the Greengrass JSON file. One potential issue may be that your device policy doesn't authorize Greengrass, an example of which may be the following:
Would you please share the policy document attached to the certificate you are using? Hugues |
@huguesBouvier , my original policy is really without action for greengrass, however still got error after I adjusted the policy with greengrass action. It failed in
Adjusted policy as:
|
@huguesBouvier , is there any problem of my policy file for green-grass ? |
Hello, Your policy seems to be correct. Looking at the error, it comes from an issue in the HTML document that is sent by the server. Could you look into the response sent by the server?
After
The content of BufferBiggerThan112 will reflect what is inside the returned http page. Hugues |
@huguesBouvier , thanks of your helpful comment, the error message reveals the wrong region and I changed region as Oregon. |
Hello, You are welcome :). About the test endpoint, I have no knowledge of it but I can consult with our internal Greengrass team. Hugues |
@huguesBouvier , I created green-grass group, policy, core & added device. In my green-grass group, I created one Lambdas & local resource with status as "Affiliated". In my green-grass core, it's connectivity shows "doesn't have any endpoints configured". However, to make greengrass group a deployment, it's status seems keep |
Hello, That's correct, you need to complete the GG procedure completetly, once deployement is complete, it should turn green "Successfully completed".
Right now there is no GGD test but I brought back the idea to our internal GG team. Hugues |
In Full_GGD test, GetIPandCertificateFromJSON got "Couldn't find certificate" error. Details of error message as below. However, to check the capture packets, everything seems good. In GGD test, the server IP address is 18.223.9.190 & port 8443, is it the right setting ?
The text was updated successfully, but these errors were encountered: