AWS MQTT Python awsiotsdk and awscrt packages fail sporadically with repeating messages in trace logs
davidparks21 opened this issue · 1 comments
I've posted a question on stack overflow with no luck figuring out an answer.
I'll leave the details on stack overflow to avoid cross posting everything, but in short I'm unable to figure out why I get sporadic but consistent failures from the API. I believe I'm following pretty closely to the pubsub.py
example. The errors don't give much detail so I don't know how to go about debugging a problem like this.
This is how I'm creating the connection. See the SO article above for the rest of the logs.
mqtt_connection_builder.websockets_with_default_aws_signing(
endpoint='#############-ats.iot.us-west-2.amazonaws.com',
client_bootstrap=client_bootstrap,
region=AWS_REGION,
credentials_provider=credentials_provider,
ca_filepath=f'{self.certs_temp_dir.name}/AmazonRootCA1.pem',
on_connection_interrupted=self._on_connection_interrupted,
on_connection_resumed=self._on_connection_resumed,
client_id=f'test-{uuid.uuid4()}',
clean_session=False,
keep_alive_secs=6
)
⚠️ COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.