• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    1.3.0 and 400:Bad Request

    Scheduled Pinned Locked Moved Troubleshooting
    16 Posts 2 Posters 1.5k Views 1 Watching
    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.
    • jkandasaJ Offline
      jkandasa @skywatch
      last edited by

      @skywatch It is strange, that without ack it works for you and with ack is not working 😞
      can you post your gateway setting edit page? I want to see values for,

      • Ack enabled
      • Failed retry count
      • Ack wait time(Milliseconds)
      1 Reply Last reply Reply Quote 0
      • skywatchS Offline
        skywatch
        last edited by

        No problem....

        Ack enabled - Ticked
        Failed retry count - 7
        Ack wait time(Milliseconds) - tried 2000 and 3500
        

        Thanks for the help 😉

        jkandasaJ 1 Reply Last reply Reply Quote 0
        • jkandasaJ Offline
          jkandasa @skywatch
          last edited by

          @skywatch All the values look better. Ack wait time(Milliseconds) value 2000 is big enough.
          Till now I didn't get any clue.

          Can you enable DEBUG for the followings and send the mycontroller/logs/mycontroller.log log file?

            <logger level="DEBUG" name="org.mycontroller.standalone.provider" />
            <logger level="DEBUG" name="org.mycontroller.standalone.provider.mysensors" />
          
            <logger level="DEBUG" name="org.mycontroller.standalone.gateway" />
            <logger level="DEBUG" name="org.mycontroller.standalone.gateway.ethernet" />
            <logger level="DEBUG" name="org.mycontroller.standalone.gateway.mqtt" />
            <logger level="DEBUG" name="org.mycontroller.standalone.gateway.serial" />
          
          
          1 Reply Last reply Reply Quote 0
          • skywatchS Offline
            skywatch
            last edited by

            Of course! 🙂

            Give me a few days as its the World Cup and amazingly England are still hanging in there 🙂

            jkandasaJ 1 Reply Last reply Reply Quote 1
            • jkandasaJ Offline
              jkandasa @skywatch
              last edited by

              @skywatch Sure, enjoy! have a fun time

              skywatchS 1 Reply Last reply Reply Quote 0
              • skywatchS Offline
                skywatch @jkandasa
                last edited by

                @jkandasa I am sorry I didn't get back to this sooner, but as you know I have other issues taking my time.

                So today I still get

                0_1539635035595_400.jpg

                I will add the debug and see what happens...But what is the message actually telling me? It seems that the message was sent OK and ack received, no?

                jkandasaJ 1 Reply Last reply Reply Quote 0
                • jkandasaJ Offline
                  jkandasa @skywatch
                  last edited by

                  @skywatch Message says, received acknowledgment
                  For this message should not throw 400 🙂 I hope we have some issue in the code. For good message, it says as bad.

                  skywatchS 1 Reply Last reply Reply Quote 0
                  • skywatchS Offline
                    skywatch @jkandasa
                    last edited by skywatch

                    @jkandasa said in 1.3.0 and 400:Bad Request:

                    I hope we have some issue in the code. For good message, it says as bad.

                    That's what I thought. I am now using latest 1.4.0 snapshot FYI.

                    Trouble is that sometimes when this happens it resends the command. My amplifier only has one button that toggles the power on and off, no descrete commands. The result is the amp turns on and off and on and off and on and off (You get the idea and how annoying it is).

                    jkandasaJ 1 Reply Last reply Reply Quote 0
                    • jkandasaJ Offline
                      jkandasa @skywatch
                      last edited by

                      @skywatch can you send gateway raw message on this particular period(error occurred)?

                      skywatchS 1 Reply Last reply Reply Quote 0
                      • skywatchS Offline
                        skywatch @jkandasa
                        last edited by

                        @jkandasa I will try and replicate this tonight/tomorrow and send you the log.

                        🙂

                        1 Reply Last reply Reply Quote 0
                        • skywatchS Offline
                          skywatch
                          last edited by skywatch

                          @jkandasa Sorry, I completely forgot about this after the system crashed.

                          I will look into it again and send you the log......

                          1 Reply Last reply Reply Quote 0
                          • skywatchS Offline
                            skywatch
                            last edited by

                            Sorry for the dumb question - but I can't think how to get the raw gateway message you want - Can you please give me a hint? 😉

                            jkandasaJ 1 Reply Last reply Reply Quote 0
                            • jkandasaJ Offline
                              jkandasa @skywatch
                              last edited by

                              @skywatch np, this one help you, https://github.com/mycontroller-org/mycontroller/issues/473

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

                              0

                              Online

                              587

                              Users

                              529

                              Topics

                              3.4k

                              Posts
                              Copyright © 2015-2025 MyController.org | Contributors | Localization