Repository navigation
Replies: 2 comments
|
@xiazhvera @sfod could you please take a look at this issue? Your help would be greatly appreciated. Thanks! |
0 replies
|
Hi @Anna-Ku, starting in 1.6.1 the SDK sets Some suggestions for further investigation:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
MQTT connection to AWS IoT Core fails with connectTimeoutException after 20 seconds in SDK versions 1.6.1 and 1.6.2.
Version 1.6.0 works with the same endpoint, certificates, and private key.
TLS socket wrapping succeeds with check_hostname=True and verify_mode=2. _send_connect() returns 0, but the socket returns b'' before receiving MQTT CONNACK.
Relevant logs:
_ERROR Connect timed out
DEBUG hostname: 'MYHOST'
DEBUG verify_mode: 2
DEBUG check_hostname: True
DEBUG: _send_connect returned: 0
DEBUG: command received = b''
DEBUG: EMPTY COMMAND — connection closed
DEBUG: packet_read returned: 1
All reactions