Announcement

Collapse
No announcement yet.

NullReferenceException: at: Mono.Zeroconf.Providers.AvahiDBus.ServiceBrowser.Browse

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    NullReferenceException: at: Mono.Zeroconf.Providers.AvahiDBus.ServiceBrowser.Browse

    I am running HS4 AK Bond on a Linux instance. Recently, I noticed these items in my log file.

    I believe I might have installed and subsequently removed a plug in that may have used ZeroConf as well. Any pointers here? I tried removing the Bond plugin and reinstalling.

    6/21/2023 9:47:29 AM




    AK Bond
    Warning
    System.NullReferenceException: ### at: Mono.Zeroconf.Providers.AvahiDBus.ServiceBrowser.Browse (System.UInt32 interfaceIndex, Mono.Zeroconf.AddressProtocol addressProtocol, System.String regtype, System.String domain) [0x00032] in :0 at: Mono.Zeroconf.ServiceBrowser.Browse (System.UInt32 interfaceIndex, Mono.Zeroconf.AddressProtocol addressProtocol, System.String regtype, System.String domain) [0x00001] in :0 at: Locator.MonoZeroconf.DeviceLocator._CreateListener (System.Action`1[T] callback, System.Boolean IPv4only) [0x0004b] in :0 at: Locator.MonoZeroconf.DeviceLocator.CreateListener (System.Action`1[T] callback, System.Boolean IPv4only) [0x00009] in :0
    6/21/2023 9:47:29 AM




    AK Bond
    Error
    Locator.MonoZeroconf.DeviceLocator: 3 FATAL CreateListener.ServiceBrowser: Object reference not set to an instance of an object
    6/21/2023 9:47:28 AM




    AK Bond
    Error
    Locator.MonoZeroconf.DeviceLocator: 2 WARN CreateListener.ServiceBrowser: Object reference not set to an instance of an object
    6/21/2023 9:47:28 AM




    AK Bond
    Error
    Locator.MonoZeroconf.DeviceLocator: 1 WARN CreateListener.ServiceBrowser: No Zeroconf providers could be found or initialized. Necessary daemon may not be running.

    AK Bond
    Warning
    [3081] 'Mikes Bond': Since BPUP is NOT working - changing update rate: 5 sec (from 60) (TimerCallback)
    6/21/2023 9:47:12 AM



    AK Bond
    Warning
    [3081] 'Mikes Bond': Since BPUP is working - changing update rate: 60 sec (from 5) (BPUP_Connected True)
    6/21/2023 9:47:11 AM



    AK Bond
    Warning
    [3081] 'Mikes Bond': Enabling Bond Push UDP Protocol (BPUP)
    6/21/2023 9:47:11 AM



    AK Bond
    Warning
    [3082 'Mikes Bond.Light']: changing Address from 'ZZCJ03861.Light' to 'ZZCJ03861.LED'

    HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

    Plug-Ins Enabled:
    Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
    weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

    #2
    It looks like you don't have Avahi installed - on Linux it's the only mDNS (Zeroconf) provider. You can disable mDNS in the plugin settings (enable "Show Advanced settings" first). I guess in the previous install you did disable mDNS, that's why you were not getting the errors. You will need to set static IP address on the Bond bridge.

    Alternatively you can try installing Avahi, see the post by BuddyRayAtl

    https://forums.homeseer.com/forum/hs...lly-find-envoy

    Comment


      #3
      Thanks... Looks like it was installed but not running... ?!?!

      I run on a Docker container... Might need to make sure it is running when the container reboots...

      I do have the Bond bridge assigned to a static IP. I know I use other plugins which make use of Avahi.


      root@homeseer:/homeseer# service avahi-daemon status
      Avahi mDNS/DNS-SD Daemon is not running
      HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

      Plug-Ins Enabled:
      Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
      weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

      Comment


        #4
        So it's all good now?

        BTW, I posted BETA 4.0.5.7 with a few fixes, including the BPUP warnings you have "BPUP is NOT working".

        Comment


          #5
          So I pulled the beta, it ran for a while, then suddenly today at 2:57 is lost its mind and my log filled up with these.... The bond website (192.168.0.203) seems reachable.
          6/26/2023 2:53:42 PM

          AK Bond
          Error
          [3081] 'Mikes Bond': Execute(sync)'GET' {State} [http://192.168.0.203/v2/devices/01a0d33e/state]: The operation has timed out. (tm 5001)
          6/26/2023 2:53:41 PM

          AK Bond
          Warning
          [3081] 'Mikes Bond': Since BPUP is NOT working - changing update rate: 5 sec (from 60) (BPUP_Connected True)
          6/26/2023 2:53:39 PM

          Legacy-Plugin
          Z-Wave
          Device: First Garage HSM200 Root Temperature Set to 80.78 (F)
          6/26/2023 2:53:37 PM

          AK Bond
          Error
          [3081] 'Mikes Bond': Execute(sync)'GET' {BondDeviceInfo} [http://192.168.0.203/v2/devices/5135c51f]: The operation has timed out. (tm 5000)

          HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

          Plug-Ins Enabled:
          Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
          weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

          Comment


            #6
            What's your Mono version? Please post output from Tools => Help.

            Does restarting the plugin help?

            Comment


              #7
              Mono JIT compiler version 6.12.0.182 (tarball Tue Jun 14 22:43:31 UTC 2022)

              To be fair-- about 5 hours prior to this-- my system updated its time by a fraction of a second-- and sent a whole slew of plugins to restart. I think my system might be having some larger issues that just one plugin. I did a restore an think I fixed the clocking issue.....
              HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

              Plug-Ins Enabled:
              Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
              weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

              Comment

              Working...
              X