Open MaxiLargo opened 4 months ago
Hi @MaxiLargo Have you got anywhere with this?
#define W5500_WORKAROUND
. It is recommended.Ensure you are the latest version of this lib 1.3.1
.
Hi @RobertByrnes!
I try to set the debug level (seceth.setDebugStream(&Serial)
) but it doesn't work. And yes, I have the flag #define W5500_WORKAROUND
and also I tried with #define _W5500_H_
but it is the same result, i have the last version of the lib.
If you can help me I would appreciate it
ok @MaxiLargo can you share a longer excerpt from log file that shows the entire connection process leading up o these 2 errors:
[ 62514][E][ssl__client.cpp:42] _handle_error(): [start_ssl_client():367]: (-1) ERROR - Generic error
[ 62515][E][SSLClient.cpp:242] connect(): start_ssl_client failed: 0
Here it's the log:
entry 0x400805f0 [ M5Stack initializing... OK [ 410][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000 Ethernet init.IP: 192.168.0.106 C88CA51FB6084IN8OUT INIT SUCCESS [ 2112][E][ssl__client.cpp:45] _handle_error(): [start_ssl_client():370]: (-1) ERROR - Generic error [ 2112][E][SSLClient.cpp:242] connect(): start_ssl_client failed: 0
Description
Steps to Reproduce
Expected Behavior
Publish a variable in a broker mqtt over tls with ethernet
Actual Behavior
when the mqtt task run, this error appears
Environment
IDE
Additional Context
It is a very big program, try to show the functions that are used by the mqtt task