Echo & Alexa User Discussions and Support Forums

When a person is not breathing, permanent brain damage begins after 4 minutes and death in 6 minutes after that. Can you count on help arriving before that time? Learning proper CPR techniques is easy and you can learn it in 30 minutes at CPR Test Center.

I get an error code if I start the script. What I have to do ?

0 Members and 1 Guest are viewing this topic.

I get an error code if I start the script. What I have to do ?
« on: November 12, 2016, 04:02:31 pm »
root@raspberrypi:~/AWShome# ./ Traceback (most recent call last):

File "./", line 53, in <module> iot = createIoT()

File "./", line 43, in createIoT iot.connect()

File "/usr/local/lib/python2.7/dist-packages/AWSIoTPythonSDK/", line 808, in connect return self._AWSIoTMQTTClient.connect(keepAliveIntervalSecond)

File "/usr/local/lib/python2.7/dist-packages/AWSIoTPythonSDK/", line 403, in connect return self._mqttCore.connect(keepAliveIntervalSecond)

File "/usr/local/lib/python2.7/dist-packages/AWSIoTPythonSDK/core/protocol/", line 290, in connect self._pahoClient.connect(self._host, self._port, keepAliveInterval) # Throw exception...

File "/usr/local/lib/python2.7/dist-packages/AWSIoTPythonSDK/core/protocol/paho/", line 655, in connect return self.reconnect()

File "/usr/local/lib/python2.7/dist-packages/AWSIoTPythonSDK/core/protocol/paho/", line 777, in reconnect sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))

File "/usr/lib/python2.7/", line 553, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): socket.gaierror: [Errno -2] Name or service not known

I do not know what I must do to make this shit running smooth :/

Can you help me with my problem?

Re: I get an error code if I start the script. What I have to do ?
« Reply #1 on: November 12, 2016, 04:15:46 pm »
Well, your first problem is that you've just dumped a bunch of diagnostic trace output without any information regarding what it's from, what you're trying to do, etc...and are still expecting someone to help you out.