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

    MQTT connection error

    Scheduled Pinned Locked Moved SOFTWARE
    5 Posts 3 Posters 3.3k Views
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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, M5Tab, M5CardputerAdv, M5StackChan

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post