MQTT connection error
-
WHen i am trying to connect my MQTT from m5stack tough device on port 8883 and we added certificates files but we get the below error, could you please check
=== === E (6348321) i2c: i2c driver install error Get res/img/logo.jpg width and height failed E (6348430) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 54 E (6348430) mqtt_client: Poll read error: 119, aborting connection Traceback (most recent call last): File "<stdin>", line 47, in <module> File "<stdin>", line 34, in setup File "umqtt/simple.py", line 75, in connect File "ssl.py", line 1, in wrap_socket File "ssl.py", line 1, in load_cert_chain OSError: [Errno 2] ENOENT
-
@aiconnection
have you tried not adding certificate files -
@kuriko yes i did still no success. here is the trace of erros
E (8427527) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 56
E (8427527) mqtt_client: Poll read error: 119, aborting connection
Traceback (most recent call last):
File "<stdin>", line 52, in <module>
File "<stdin>", line 35, in setup
File "umqtt/simple.py", line 70, in connect
OSError: -202
here is the block pic
trying to test with mqttx broker -
@aiconnection
I think it's best for you to find an mqtt example in the Project Zone of UiFlow2 and test it with a public server to ensure it is available. -
8883 or 1883 ?