Additional Causes for Disconnect Code 142: SessionTakenOver? #541
-
I'm trying to create a socket connection pool for celery tasks to use for streaming purposes. Whenever I create a new socket connection, it kills all existing connections with The docs state the reason as:
However, that cannot be the cause in my case. Every connection in the pool has a randomly generated Code excerpt for socket connection class
Log Excerpt
So something else must be the culprit or there's a bug, but I have no clue. Ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Please attach CRT logs for the relevant time period. A one file repro sample could be helpful as well. In the short-term, you could step into client instantiation to this point here: https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/awsiot/mqtt5_client_builder.py#L359 |
Beta Was this translation helpful? Give feedback.
I worked through a one file repro and discovered the problem.
Calling u…