You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry to post another issue, but I'm failing at the exact same point on Windows 10.
From Powershell, I run start.ps1
Running pub/sub sample application...
2017-04-17 20:02:41,837 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Paho MQTT Cl
2017-04-17 20:02:41,838 - AWSIoTPythonSDK.core.protocol.mqttCore - INFO - ClientID: bas
2017-04-17 20:02:41,844 - AWSIoTPythonSDK.core.protocol.mqttCore - INFO - Protocol: MQT
2017-04-17 20:02:41,845 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Register Pah
2017-04-17 20:02:41,849 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - mqttCore ini
2017-04-17 20:02:41,850 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Load CAFile
2017-04-17 20:02:41,851 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Load Key fro
2017-04-17 20:02:41,853 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Load Cert fr
2017-04-17 20:02:41,860 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setti
2017-04-17 20:02:41,861 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setti
2017-04-17 20:02:41,865 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setti
2017-04-17 20:02:41,865 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setti
2017-04-17 20:02:41,866 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setti
2017-04-17 20:02:41,867 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setti
2017-04-17 20:02:41,868 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Set maximum
2017-04-17 20:02:41,877 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Set maximum
2017-04-17 20:02:41,880 - AWSIoTPythonSDK.core.protocol.mqttCore - INFO - Connection ty
Traceback (most recent call last):
File "aws-iot-device-sdk-python\samples\basicPubSub\basicPubSub.py", line 133, in <mo
myAWSIoTMQTTClient.connect()
File "C:\Users\Louis Thiery\AppData\Local\Programs\Python\Python36-32\lib\site-packag
return self._mqttCore.connect(keepAliveIntervalSecond)
File "C:\Users\Louis Thiery\AppData\Local\Programs\Python\Python36-32\lib\site-packag
self._pahoClient.connect(self._host, self._port, keepAliveInterval) # Throw except
File "C:\Users\Louis Thiery\AppData\Local\Programs\Python\Python36-32\lib\site-packag
return self.reconnect()
File "C:\Users\Louis Thiery\AppData\Local\Programs\Python\Python36-32\lib\site-packag
self._sock.setblocking(0)
OSError: [WinError 10038] An operation was attempted on something that is not a socket```
When I Google the issue, it seems to be that the socket is closed too soon... but if so, this is a problem with the source of this project.
Best,
Louis
The text was updated successfully, but these errors were encountered:
lthiery-molekule
changed the title
Failing basic start with connect_device_package Windows 10
Failing basic start with connect_device_package on Windows 10
Apr 18, 2017
Thank you very much for your interest in AWS IoT Python SDK.
One thing that I noticed here is, you are using Python 3.6 to run the SDK sample. There is a known issue with Python 3.6 regarding their breaking changes in socket: #29
Can you try the fix mentioned in the post above and see if the issue still exists?
We have not heard from you for a while. We are closing the issue for now. If you have any further questions, please feel free to re-open this issue or start a new thread.
Sorry to post another issue, but I'm failing at the exact same point on Windows 10.
From Powershell, I run start.ps1
The text was updated successfully, but these errors were encountered: