esp8266-react icon indicating copy to clipboard operation
esp8266-react copied to clipboard

AsyncMQTTClient does not work for SSL enabled brokers

Open mjangir opened this issue 4 years ago • 2 comments

The UI doesn't accept port 8883 and 8884 for MQTT as AsyncMQTTClient does not support SSL connections.

https://github.com/marvinroger/async-mqtt-client/issues/265#issuecomment-984371173

mjangir avatar Dec 03 '21 17:12 mjangir

To my knowledge AsyncTCP on ESP32 does not yet have SSL support:

https://github.com/me-no-dev/AsyncTCP/pull/48

Last time I looked at this it appeared that SSL requires too much RAM be be feasible on the esp8266 with all of the other stuff the framework holds in memory - it needs about 20k of RAM just to to the handshake.

rjwats avatar Mar 18 '22 08:03 rjwats

Why not just use https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/mqtt.html

henzard avatar Mar 27 '22 12:03 henzard