• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    Forwarding stops working

    scheduled pinned locked moved Troubleshooting
    14 posts 3 posters 2.2k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • jkandasaJ offline
      jkandasa @fsgrazzutti
      global:last-edited-by,

      @fsgrazzutti Do you see data received to the MyController server?
      Do you see any error on the mycontroller.log?

      F one-reply-to-this-post last-reply-time reply quote 0
      • F offline
        fsgrazzutti @jkandasa
        global:last-edited-by,

        @jkandasa I see sporadic data coming in, while infludb receives all of them.
        I connected the serial gateway to the pc using MYScontroller and the data flows regularly.

        Now I created a new fresh install and I am restarting from the beginning.
        I still have to recreate the forwardings, which is a pain.

        I will let you know how it goes

        Cheers,
        Franco

        one-reply-to-this-post last-reply-time reply quote 0
        • F offline
          fsgrazzutti
          global:last-edited-by,

          @jkandasa I installed the fresh instance and the nodes showed up immediately.
          I came back after few hours to start adding the forwardings but the sensors list is empty.

          Looking at the log I have found this

          2021-05-04 21:15:44,641 ERROR [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:279] Throws exception while processing!, [MessageImpl(gatewayId=1, nodeEui=5, sensorId=SENSOR_BC, type=Internal, subType=Pre sleep notification, ack=0, payload=500, isTxMessage=false, timestamp=1620155744629, properties=null)]
          java.util.concurrent.RejectedExecutionException: Task org.mycontroller.standalone.provider.ResourcesLogger@1d223de rejected from java.util.concurrent.ThreadPoolExecutor@a957bf[Running, pool size = 70, active threads = 70, queued tasks = 100, completed tasks = 551833]
          	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
          	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
          	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
          	at org.mycontroller.standalone.McThreadPoolFactory.execute(McThreadPoolFactory.java:52)
          	at org.mycontroller.standalone.provider.ExecuterAbstract.execute(ExecuterAbstract.java:134)
          	at org.mycontroller.standalone.provider.EngineAbstract.auditQueue(EngineAbstract.java:274)
          	at org.mycontroller.standalone.provider.EngineAbstract.run(EngineAbstract.java:133)
          	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          	at java.lang.Thread.run(Thread.java:748)
          
          

          repeated for every sensor variable. The sensor variables are all present in influxDB (remote server)

          What I am missing ?

          Thanks and kind reards,
          Franco

          jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
          • jkandasaJ offline
            jkandasa @fsgrazzutti
            global:last-edited-by,

            @fsgrazzutti We have some fixes on sensor related issues on the SNAPSHOT version.
            can you please try with the SNAPSHOT version?
            We are going to release this soon. Thanks!

            SNAPSHOT Version: https://forum.mycontroller.org/topic/58/download-snapshot-build/1

            F one-reply-to-this-post last-reply-time reply quote 1
            • F offline
              fsgrazzutti @jkandasa
              global:last-edited-by,

              @jkandasa already done yesterday, when I found it, but unfortunately it did not work.
              Must say that the system has lots of sensor variables (around 200).
              When I migrated, as described in the dirty way method, they were already all there.

              I will go to have a look later today. Is there any information that I might collect ?

              Btw, the sensors are shown in the node details and contain al the info.

              Action menu also works, but as soon as you encounter a drop down menu, it's empty

              jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
              • jkandasaJ offline
                jkandasa @fsgrazzutti
                global:last-edited-by,

                @fsgrazzutti We have a fix for this issue in and it is in the SNAPSHOT version

                Maybe you might see a different issue.
                do you see any error on the mycontroller.log when you click on the dropdown?

                skywatchS F topic:replies-to-this-post, 4 last-reply-time reply quote 0
                • skywatchS offline
                  skywatch @jkandasa
                  global:last-edited-by, skywatch

                  @jkandasa I don't know if it might be related, but yesterday when rewiring my gateways I entered a condition where the GW was 'up' and showing last message count OK, but no update on any sensor graphs attached to that GW - I wonder if it is an issue between myc and the db as I assume all graph updates come from db?

                  The cure was to remove power from GW and then restore power. All seems OK after that....

                  one-reply-to-this-post last-reply-time reply quote 0
                  • F offline
                    fsgrazzutti @jkandasa
                    global:last-edited-by,

                    @jkandasa sorry for the late reply.

                    I don't get any error, just the lists are empty.
                    Loading the Sensors subpage, it stays there forever.

                    it seems a database relate issue, maybe I have too many sensors reporting. (average duration is 20ms, 600 messages per minute.

                    In the meantime I just took a ESP32 and cyclic query in influx db all the sensors that the display expects, and then just forward node-to-node to the display (I use mysensors and nRF24 radio). Still a couple of variable casting problems on V_PERCENTAGE but it works.

                    Of course, I look forward to get back to Mycontroller

                    one-reply-to-this-post last-reply-time reply quote 1
                    • F offline
                      fsgrazzutti @jkandasa
                      global:last-edited-by,

                      @jkandasa I will give it a try to the snapshot, thanks !

                      jkandasaJ one-reply-to-this-post last-reply-time reply quote 1
                      • jkandasaJ offline
                        jkandasa @fsgrazzutti
                        global:last-edited-by,

                        @fsgrazzutti Sure, kindly report back your finding on this, it can help us to narrow down the issue.

                        F one-reply-to-this-post last-reply-time reply quote 0
                        • F offline
                          fsgrazzutti @jkandasa
                          global:last-edited-by,

                          @jkandasa today I installed the latest SNAPSHOT, but I wanted to start from a fresh configuration, so I did not restore any backup from the previous snapshot.

                          So far, looks like it is running much faster, and the sensors dropdown list is filled in a few seconds instead of minutes as before.

                          Great job ! Happy to be back with MyController !

                          I will still keep the actual solution for the display.
                          In this way the data from influxdb to the display doesn't go thought MyController. I added a second serial gateway(different channel and network ID) just for that scope, and so far just for date and time syncronisation.

                          one-reply-to-this-post last-reply-time reply quote 1
                          • F offline
                            fsgrazzutti @jkandasa
                            global:last-edited-by,

                            @jkandasa I just installed the last SNAPSHOT to the home server and restored the last backup and it works smoothly 🙂

                            jkandasaJ one-reply-to-this-post last-reply-time reply quote 1
                            • jkandasaJ offline
                              jkandasa @fsgrazzutti
                              global:last-edited-by,

                              @fsgrazzutti It is good news. let us know if you see the issue again. Thanks!

                              one-reply-to-this-post last-reply-time reply quote 0
                              • first-post
                                last-post

                              0

                              online

                              644

                              users

                              532

                              topics

                              3.4k

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