-
Hi everyone, I have been following the steps to connect a RaspberryPi to AWSIoTCore with the tutorial provided in the documentation. I was able to complete all the steps but when I run the python script with python3 pubsub.py --topic topic_1 --ca_file ~/certs/Amazon-root-CA-1.pem --cert ~/certs/certificate.pem.crt --key ~/certs/private.pem.key --endpoint ****-ats.iot.us-east-2.amazonaws.com I get this error message: Connecting to a2dm9ppqc95ojn-ats.iot.us-east-2.amazonaws.com with client ID 'test-8eee573b-278d-4bb4-9616-0d9fd4af5f63'...
Traceback (most recent call last):
File "/home/ubuntu/aws-iot-device-sdk-python-v2/samples/pubsub.py", line 78, in <module>
connect_future.result()
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 446, in result
return self.__get_result()
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
awscrt.exceptions.AwsCrtError: AWS_IO_DNS_QUERY_FAILED: A query to dns failed to resolve. I have looked for similar issues, but can't find anything. Is this something related to my personal network and is there anything I can do about this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Are you testing this somewhere with a proxy or possibly some special network settings? |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Are you testing this somewhere with a proxy or possibly some special network settings?