Announcement

Collapse
No announcement yet.

Error: (UDPListener)

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

    Error: (UDPListener)

    Getting these errors in my logs now.

    Error: (UDPListener)::Conversion from string "8080/api/discovery.xml" to type 'Integer' is not valid.

    Scanning for new bridges is not working. I removed my bridge doing some testing and now I can't add it back

    #2
    Jeubanks,

    is this with the 2.0.2.3 or the 2.0.2.4 version? Is this scanning for the deCONZ gateway? Is the Philips still working?

    It looks like the plugin is trying to get the port part, but fails doing this? Which version of deCONZ are you running?

    Wim
    -- Wim

    Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

    1210 devices/features ---- 392 events ----- 40 scripts

    Comment


      #3
      Originally posted by w.vuyk View Post
      Jeubanks,

      is this with the 2.0.2.3 or the 2.0.2.4 version? Is this scanning for the deCONZ gateway? Is the Philips still working?

      It looks like the plugin is trying to get the port part, but fails doing this? Which version of deCONZ are you running?

      Wim
      Late reply.

      This is Philips Bridge only. No deCONZ at that point in time. Since then I have re-installed with the latest version from the store.

      Philips Only -- Same in the log
      Philips And deCONZ -- Same in the logs

      Error: (UDPListener)::Conversion from string "8080/api/discovery.xml" to type 'Integer' is not valid.

      Things are working. I think... I'm going to post another thread with some questions in regards to working

      Comment


        #4
        Could you send me a detailed trace with this error in it? As I am seeing 8080, I think this is not about the Philips bridge. Can it 'see' the deCONZ gateway on the same network maybe?

        Wim
        -- Wim

        Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

        1210 devices/features ---- 392 events ----- 40 scripts

        Comment


          #5
          I have the same issue.

          I am trying to utilise Windows deCONZ installed on the same system as homeseer.

          I have specified the startup port of deConz to be 8080 also. this is what i get and cannot register the hub. it is unlocked

          so yes mine is on the same network

          jowiehue is 2.0.2.4

          here is the trace, IP address obfuscated but is the correct address

          (BridgeApi.GetJsonCommand) Sendrequest took 154 millisconds Thread: 0
          17:53:14.3837878 -- (BridgeApi.GetJsonCommand) Sendrequest took 99 millisconds Thread: 0
          17:53:16.3962357 -- (BridgeApi.GetJsonCommand) Sendrequest took 99 millisconds Thread: 0
          17:53:18.4511047 -- (BridgeApi.GetJsonCommand) Sendrequest took 116 millisconds Thread: 0
          17:53:19.2853042 -- (UPNP.UDPListener) 811 blocks found to process
          17:53:19.2853042 -- (UPNP.UDPListener) UPNP: Unknown Bridge found on IP 192.168.10.144
          17:53:19.3009208 -- (MyBridges.BridgeFound) Checking url:http://xxx.xxx.xxx.xxx:8080/api/config bridgeip:xxx.xxx.xxx.xxx port: 8080
          17:53:19.3165480 -- (BridgeApi.GetJsonCommand) Sendrequest took 21 millisconds Thread: 0
          17:53:19.3322169 -- (MyBridges.BridgeCheckIP) called for xxx.xxx.xxx.xxx:8080
          17:53:19.3322169 -- (MyBridges.BridgeFound) Checking yet unknown bridge with ip xxx.xxx.xxx.xxx:8080
          17:53:19.3322169 -- (MyBridges.BridgeFound) adding new bridge, with serial=0000000000000000
          17:53:19.3477968 -- (MyBridges.BridgeFound) Found new bridge Fuzzy-ZIGBEE IP xxx.xxx.xxx.xxx registered True
          17:53:19.3477968 -- (UPNP.UDPListener) Error: :Conversion from string "8080/api/discovery.xml" to type 'Integer' is not valid.
          17:53:19.5299112 -- (UPNP.Bridgescan) UPNP deCONZ []
          17:53:19.5299112 -- (UPNP.Bridgescan) Debug: End search for bridges
          17:53:20.4049129 -- (BridgeApi.GetJsonCommand) Sendrequest took 99 millisconds Thread: 0
          17:53:22.4598379 -- (BridgeApi.GetJsonCommand) Sendrequest took 115 millisconds Thread: 0
          17:53:24.5630655 -- (BridgeApi.GetJsonCommand) Sendrequest took 204 millisconds Thread: 0
          17:53:26.5555104 -- (BridgeApi.GetJsonCommand) Sendrequest took 99 millisconds Thread: 0
          17:53:28.5783053 -- (BridgeApi.GetJsonCommand) Sendrequest took 96 millisconds Thread: 0

          Comment


            #6
            I am checking for this issue, trying to copy it. But time is not really my friend in the past few weeks. I will be back on this!

            Wim
            -- Wim

            Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

            1210 devices/features ---- 392 events ----- 40 scripts

            Comment


              #7
              It seems dresden has changed the UPNP result for newer versions. As I am having older version of Raspbee and Conbee I seem not to be able to check if my resolotions work.

              I think I should have solved the issue for now, but maybe one of you can test this?

              Attached is the excutable in a zip file. All needed is to stop the plugin, download the new executable, place it in the installation directory of HS3 and restart the plugin.

              Let me know if this solves the issue?

              Wim
              Attached Files
              -- Wim

              Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

              1210 devices/features ---- 392 events ----- 40 scripts

              Comment


                #8
                I was having the same log issue and tried the new exe file. I am now getting thi message:

                Error: (GetJsonCommand)::Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'HSPI_JowiHue.Hue+BridgeConfig' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

                Any ideas?

                Comment


                  #9
                  Sorry I've been busy the last few days. I've tried the new exe, for me though it seems to be working ok now

                  Sent from my SM-G950F using Tapatalk

                  Comment


                    #10
                    Originally posted by blairv View Post
                    I was having the same log issue and tried the new exe file. I am now getting thi message:

                    Error: (GetJsonCommand)::Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'HSPI_JowiHue.Hue+BridgeConfig' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

                    Any ideas?
                    Blair,

                    Could you send me a detailed trace for this? I think you are seeing a different issue. Maybe the trace will help me find it? I beleive you have my emai address already isn't it?

                    Wim
                    -- Wim

                    Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

                    1210 devices/features ---- 392 events ----- 40 scripts

                    Comment

                    Working...
                    X