• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Cannot send a request in the socket listener thread error

    User help
    3
    12
    4.7k
    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.
    • S
      StephenVDK
      last edited by

      Hello all,
      I've hooked up a mach-pro controller and it can read the inputs and outputs fine, but I keep getting this error. Also, tho I can read from the outputs (see what the values are) I can't write to them from Mango. I feel like this has something to do with the request error, as I think mango is the client sending the request to the controller. Any insights?

      Thanks,
      Stephen

      1 Reply Last reply Reply Quote 0
      • JoelHaggarJ
        JoelHaggar
        last edited by

        We have an update for the BACnet module that might resolve this: http://store.infiniteautomation.com/module/BACnet

        Make sure you have BACnet version 2.1.5 and let us know if the problem goes away.

        S 1 Reply Last reply Reply Quote 0
        • S
          StephenVDK
          last edited by

          OK, I'll have to check on Monday, Thanks

          1 Reply Last reply Reply Quote 0
          • S
            StephenVDK @JoelHaggar
            last edited by

            @JoelHaggar Hey Joel,
            I applied the upgrade and it stopped that error but now I have another problem. The error that I'm getting now is "data source" :Task com.serotonin.ma.bacnet.BACnetDataSourceRT$2@1ec3e8d rejected from java.util.concurrent.ThreadPoolExecutor@167ab25[Running, pool size = 100, active threads = 100, queued tasks = 0, completed tasks = 159574]. It's also slowing down how often I get data from certain points.
            Any ideas?

            1 Reply Last reply Reply Quote 0
            • JoelHaggarJ
              JoelHaggar
              last edited by

              Ok, this makes sense. Because we are now responding to these messages with a different thread all the available threads are being used up. How many BACnet data points do you have and why type of hardware are you running on?

              We've made the thread pools adjustable in the next version of Mango 2.6 but here are some temporary replacement files to increate your threads:

              m2m2-2.5.2-configurable-thread-pools.zip

              This will increase your high priority threads from 100 to 1000.

              1. Place the classes folder into overrides/classes, ensure you don’t overwrite anything that is already there

              2. copy the properties about the configurable thread pools from the env.properties file included

              — Mango needs to be shutdown at this point —

              1. Remove ma-priv-1.2.4.jar and move the ma-priv-1.2.5.jar into lib

              2. Start Mango back up and see if this problem is resolved.

              S 1 Reply Last reply Reply Quote -1
              • S
                StephenVDK @JoelHaggar
                last edited by

                @JoelHaggar We have a lot of data points, and were running mango on our servers. the zip file you posted can't be found.

                1 Reply Last reply Reply Quote 0
                • JoelHaggarJ
                  JoelHaggar
                  last edited by

                  That's very strange. Can you try this link: http://infiniteautomation.com/uploads/files/1432650472578-m2m2-2.5.2-configurable-thread-pools.zip? If not try logging out and testing the link and letting me know if it works.

                  jeremyhJ 1 Reply Last reply Reply Quote 0
                  • S
                    StephenVDK
                    last edited by

                    Ya the link worked now and I applied it, so I'm just waiting to see if the data is updating faster now.

                    1 Reply Last reply Reply Quote 0
                    • S
                      StephenVDK
                      last edited by

                      So I'm not getting that error any more now I get another one, well I probably was getting it all along but the warnings were turned off, and some of my data points are not updating as fast as they were before the upgrade. The error is: 'Data source': Error reading value for point Data point: Timeout. It's happening to a couple data sources, which are thermostats, and to all the data points in the source.

                      1 Reply Last reply Reply Quote 0
                      • JoelHaggarJ
                        JoelHaggar
                        last edited by

                        You might try increasing the time outs for the BACnet local device on the system setting page.

                        What is your polling rate on the data source and are your points using COV?

                        1 Reply Last reply Reply Quote 0
                        • S
                          StephenVDK
                          last edited by

                          I increased the update period, and my controller is using COV but not the other sources.

                          1 Reply Last reply Reply Quote 0
                          • jeremyhJ
                            jeremyh @JoelHaggar
                            last edited by jeremyh

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post