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

Forwarding stops working

Scheduled Pinned Locked Moved Troubleshooting
14 Posts 3 Posters 1.0k 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.
  • F Offline
    fsgrazzutti
    last edited by 4 May 2021, 19:22

    @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

    J 1 Reply Last reply 5 May 2021, 13:36 Reply Quote 0
    • J Offline
      jkandasa @fsgrazzutti
      last edited by 5 May 2021, 13:36

      @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 1 Reply Last reply 5 May 2021, 15:04 Reply Quote 1
      • F Offline
        fsgrazzutti @jkandasa
        last edited by 5 May 2021, 15:04

        @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

        J 1 Reply Last reply 5 May 2021, 15:29 Reply Quote 0
        • J Offline
          jkandasa @fsgrazzutti
          last edited by 5 May 2021, 15:29

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

          S F 4 Replies Last reply 6 May 2021, 08:54 Reply Quote 0
          • S Offline
            skywatch @jkandasa
            last edited by skywatch 5 Jun 2021, 14:25 6 May 2021, 08:54

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

            1 Reply Last reply Reply Quote 0
            • F Offline
              fsgrazzutti @jkandasa
              last edited by 8 May 2021, 18:27

              @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

              1 Reply Last reply Reply Quote 1
              • F Offline
                fsgrazzutti @jkandasa
                last edited by 8 May 2021, 18:29

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

                J 1 Reply Last reply 9 May 2021, 04:23 Reply Quote 1
                • J Offline
                  jkandasa @fsgrazzutti
                  last edited by 9 May 2021, 04:23

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

                  F 1 Reply Last reply 13 May 2021, 12:39 Reply Quote 0
                  • F Offline
                    fsgrazzutti @jkandasa
                    last edited by 9 May 2021, 17:30

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

                    1 Reply Last reply Reply Quote 1
                    • F Offline
                      fsgrazzutti @jkandasa
                      last edited by 13 May 2021, 12:39

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

                      J 1 Reply Last reply 14 May 2021, 02:45 Reply Quote 1
                      • J Offline
                        jkandasa @fsgrazzutti
                        last edited by 14 May 2021, 02:45

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

                        1 Reply Last reply Reply Quote 0
                        13 out of 14
                        • First post
                          13/14
                          Last post

                        0

                        Online

                        588

                        Users

                        529

                        Topics

                        3.4k

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