AWS IoT Private.pem.key Doesn't Exist
When I am trying to run the following node.js example from AWS IoT I get this error(following this tutorial): pi@raspberrypi:~/aws-iot-device-sdk-js/examples $ node device-example.
Solution 1:
The device-example.js program is designed to be run in pairs; each process communicates with the other through the AWS IoT platform. You'll need to start another copy of the program (it can be on another host) in order to see them communicating. More information about running the example programs can be found here. Thanks for using AWS IoT.
Solution 2:
Solved the problem by giving the paths like the following: pi@raspberrypi:~/aws-iot-device-sdk-js/examples $ node device-example.js --aws-region=us-west-2 --certificate-dir=/home/pi/certs --test-mode=2
Post a Comment for "AWS IoT Private.pem.key Doesn't Exist"