mqtt connection difference between lan and wifi

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
ttadam
Posts: 18
Joined: Sun Apr 26, 2020 3:36 pm

mqtt connection difference between lan and wifi

Post by ttadam » Thu Oct 22, 2020 9:59 am

Hello there,

I am using a wesp32 board, because of poe. This device, collect some data then publish it to an mqtt server
Right now I changed the mqtt connection to ssl, and I get an OSError: 16 from this line
self.sock = ussl.wrap_socket(self.sock, **self.ssl_params)
The funny thing is that this error only shows up when the esp32 connected to the network via cable, but works okay if connected via wifi.
Do you have any guess what could go wrong?

Thanks,

Post Reply