Open veigaMak opened 4 months ago
Hello @veigaMak , thank you for reaching out to us. To answer your question, no the issue you have linked should not related since it was resolved in previous client version update.
Give us some time to reproduce the issue and find the root cause. Most likely it is an setup issue but I can share more details once I reproduce the issue and solve it.
Regards, Harsh Gandhi
Hello @HarshGandhi-AWS.
Any news on this issue, I'm also getting this exact behaviour.
Here's some additional info on my system
Linux version 6.6.20+rpt-rpi-v8 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07)
Cheers
Hi @rui-maksense . Thanks for reaching out to us. I see that you haven't provided the absolute path to the cert, key and roo-ca, in your aws-iot-device-client.conf file. Also, you haven't provided the endpoint it seems. Kindly try with these 2 modifications and let me know if it is working.
{
"endpoint": "endpoint",
"cert": "cert",
"key": "key",
"root-ca": "root-ca",
It should look something like:
{
"endpoint": "<endpoint>",
"cert": "<cert_file_path>/cert.pem.crt",
"key": "<key_file_path>/private.pem.key",
"root-ca": "<root_ca_path>/AmazonRootCA1.key",
If it still doesn't work, we suggest you to try and follow the updated documentation for Device Client and let us know if it resolves your issue.
hi @ig15 , it was me that provided the aws-iot-device-client.conf file. Yeah I know that in that log it does not have the correct paths. I removed it before posting it, for privacy reasons. In the actual log the paths were correct.
Hey @veigaMak . Can you set "enable-sdk-logging": true, "sdk-log-level": "DEBUG",
and send the logs that you get to help us better understand and debug the issue. Also I hope you have checked the updated documentation for Device Client.
Describe the bug
When trying to follow the Get Started with AWS IoT tutorial, I've replaced the Cloud9 instance with my own Raspberrypi. I manage to do everything until the end of the 3.3. For some reason the aws-iot-device-client service does not work. I tried to run directly the executable (
sudo /sbin/aws-iot-device-client --config-file /etc/.aws-iot-device-client/aws-iot-device-client.conf
) and I got a "Segmentation fault" error.To Reproduce
Steps to reproduce the behavior:
setup.sh
scriptLogs
Additional context
Is this related to this issue?