eclipse-paho / eclipse-paho/paho.mqtt.python

How to recognize "In state connection received CLIENT ALERT"

Open
#853 19 comments 0 reactions 0 assignees View on GitHub
Status: Available
Dominant language
Python
Stars
2.4k
Forks
742
Avg merge
12d 48m
Merged PRs (30d)
1

Description

I observed the following issue: The communication between the client and server stopped without a disconnect on the client side. The broker log shows the follwing line:

`[MQTT] socket_error: {tls_alert,{internal_error,"TLS server: In state connection received CLIENT ALERT: Fatal - Internal Error\n"}}`

Due to the fact that we are using a quiet outdated emqx broker I do not want to call it a bug but I can not easily update the broker by myself due to the fact that it is part of a bigger infrastructure. So I have to look for a workaround, like reconnecting my client by force.

Do you have an idea how to recognize this situation from the client side?

Thanks in advance!

# Reproduction

Not reproduceable

# Environment

* Python version:
* Library version: 2.1.0
* MQTT server: emqx 4.3.8

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.