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

1.3.0 and 400:Bad Request

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 2 Posters 1.8k 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.
  • J Offline
    jkandasa @skywatch
    last edited by jkandasa 7 May 2018, 08:37 5 Jul 2018, 02:37

    @skywatch Can you check it on network response in the browser? also, check the MyController.log.
    clearing cache resolves the issue some time.

    UPDATE: Initially, I understand your query wrongly. I guess the problem with the range. Can you disable the ack for that gateway and check it?

    1 Reply Last reply Reply Quote 0
    • S Offline
      skywatch
      last edited by 5 Jul 2018, 14:07

      Range wasn't the issue as the relays still operated, just kept getting that damn pop-up message!

      I have disabled ack in the gateway and node, no more pop-ups. But now I don't know for sure the status of the relays and so back to the old problem of 'is it off or is it on?'

      As an aside, I have tracked some issues down to bad dupont cables from china - now soldering wires directly instead on new modules once the node works as intended....

      Anything you can suggest to get ack working without errors?

      J 1 Reply Last reply 6 Jul 2018, 20:53 Reply Quote 0
      • J Offline
        jkandasa @skywatch
        last edited by 6 Jul 2018, 20:53

        @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
        • S Offline
          skywatch
          last edited by 6 Jul 2018, 22:32

          No problem....

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

          Thanks for the help 😉

          J 1 Reply Last reply 7 Jul 2018, 03:20 Reply Quote 0
          • J Offline
            jkandasa @skywatch
            last edited by 7 Jul 2018, 03:20

            @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
            • S Offline
              skywatch
              last edited by 7 Jul 2018, 09:10

              Of course! 🙂

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

              J 1 Reply Last reply 8 Jul 2018, 02:36 Reply Quote 1
              • J Offline
                jkandasa @skywatch
                last edited by 8 Jul 2018, 02:36

                @skywatch Sure, enjoy! have a fun time

                S 1 Reply Last reply 15 Oct 2018, 20:25 Reply Quote 0
                • S Offline
                  skywatch @jkandasa
                  last edited by 15 Oct 2018, 20:25

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

                  J 1 Reply Last reply 16 Oct 2018, 05:18 Reply Quote 0
                  • J Offline
                    jkandasa @skywatch
                    last edited by 16 Oct 2018, 05:18

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

                    S 1 Reply Last reply 16 Oct 2018, 08:29 Reply Quote 0
                    • S Offline
                      skywatch @jkandasa
                      last edited by skywatch 16 Oct 2018, 08:29

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

                      J 1 Reply Last reply 16 Oct 2018, 11:05 Reply Quote 0
                      • J Offline
                        jkandasa @skywatch
                        last edited by 16 Oct 2018, 11:05

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

                        S 1 Reply Last reply 16 Oct 2018, 16:01 Reply Quote 0
                        • S Offline
                          skywatch @jkandasa
                          last edited by 16 Oct 2018, 16:01

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

                          🙂

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            skywatch
                            last edited by skywatch 19 May 2019, 20:47

                            @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
                            • S Offline
                              skywatch
                              last edited by 22 May 2019, 19:12

                              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? 😉

                              J 1 Reply Last reply 24 May 2019, 13:32 Reply Quote 0
                              • J Offline
                                jkandasa @skywatch
                                last edited by 24 May 2019, 13:32

                                @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

                                619

                                Users

                                531

                                Topics

                                3.4k

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