🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    MQTT connection error

    SOFTWARE
    3
    5
    558
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aiconnection
      last edited by

      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
      
      kurikoK 1 Reply Last reply Reply Quote 0
      • kurikoK
        kuriko @aiconnection
        last edited by

        @aiconnection
        have you tried not adding certificate files

        Good morning, and welcome to the Black Mesa Transit System.

        A 1 Reply Last reply Reply Quote 0
        • A
          aiconnection @kuriko
          last edited by aiconnection

          @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
          Screenshot 2025-03-11 181804.png
          trying to test with mqttx broker

          kurikoK 1 Reply Last reply Reply Quote 0
          • kurikoK
            kuriko @aiconnection
            last edited by

            @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.

            Good morning, and welcome to the Black Mesa Transit System.

            1 Reply Last reply Reply Quote 0
            • robskiR
              robski
              last edited by

              8883 or 1883 ?

              mqtt0.PNG

              M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

              1 Reply Last reply Reply Quote 0
              • First post
                Last post