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

    MQTT Software extension odd behavior

    Scheduled Pinned Locked Moved UiFlow 2.0
    2 Posts 2 Posters 1.5k 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.
    • O Offline
      oracle_sod
      last edited by

      I am very new to M5Stack, however have been working with ESP for quite some time and thought id give UiFlow 2 a go.

      I have created a project that connects to my wifi (secured vlan) and I'm trying to set up MQTT to a local MQTT broker (not public one) the vlan with the M5Stack does not have internet access. I have pushed my code to the device and it loads as expected, however MQTT is failing and im seeing the following in the log:

      E (3139) esp-tls: [sock=56] delayed connect error: Connection reset by peer
      E (3140) transport_base: Failed to open a new connection: 32772
      E (3143) mqtt_client: Error transport connect

      On top of that, I can see the device trying to connect to a public IP on 1883 (the MQTT port), however my code is configured to use a local port for MQTT.

      I'm not sure what underlying code is trying to connect to a public IP (104.208.113.224) but the fact i haven't coded the device to connect externally and its trying to is very suspicious, can anyone explain what could be happening here ?

      robskiR 1 Reply Last reply Reply Quote 1
      • robskiR Offline
        robski @oracle_sod
        last edited by

        @oracle_sod and your code is.....

        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