rubenRP / homebridge-chromecast-google-tv

Chromecast with Google TV integration for Homebridge
Apache License 2.0
1 stars 2 forks source link

Newly installed plugin won’t start #4

Open wilk3ns opened 1 week ago

wilk3ns commented 1 week ago

Describe The Bug: Plugin fails to initiate after clean install

To Reproduce: Install plugin and run for the first time

Expected behavior: Plugin runs and starts discovering chromecast devices

Logs:


11/3/2024, 2:23:35 AM] [Google TV] Loaded homebridge-chromecast-google-tv v1.0.32-beta.0 child bridge successfully
[11/3/2024, 2:23:35 AM] [Google TV] Searching for Chromecast devices...
[11/3/2024, 2:23:35 AM] Homebridge v1.8.5 (HAP v0.12.3) (Google TV) is running on port 58185.
[11/3/2024, 2:23:35 AM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

  #  homebridge: homebridge-chromecast-google-tv[10409]: void node::cares_wrap::{anonymous}::GetAddrInfo(const v8::FunctionCallbackInfo<v8::Value>&) at ../src/cares_wrap.cc:1575
  #  Assertion failed: args[4]->IsUint32()
----- Native stack trace -----
 1: 0xca9094 node::Assert(node::AssertionInfo const&) [homebridge: homebridge-chromecast-google-tv]
 2: 0xbe45d0  [homebridge: homebridge-chromecast-google-tv]
 3: 0xf35188 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [homebridge: homebridge-chromecast-google-tv]
 4: 0xf35948  [homebridge: homebridge-chromecast-google-tv]
 5: 0xf35d60 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [homebridge: homebridge-chromecast-google-tv]
 6: 0x18b3964  [homebridge: homebridge-chromecast-google-tv]
----- JavaScript stack trace -----
1: getaddrinfo_0_11 (/homebridge/node_modules/homebridge-chromecast-google-tv/node_modules/mdns/lib/resolver_sequence_tasks.js:117:21)
2: /homebridge/node_modules/homebridge-chromecast-google-tv/node_modules/mdns/lib/resolver_sequence_tasks.js:153:7
3: getaddrinfo (/homebridge/node_modules/homebridge-chromecast-google-tv/node_modules/mdns/lib/resolver_sequence_tasks.js:152:14)
4: next (/homebridge/node_modules/homebridge-chromecast-google-tv/node_modules/mdns/lib/browser.js:109:21)
5: on_resolver_done (/homebridge/node_modules/homebridge-chromecast-google-tv/node_modules/mdns/lib/resolver_sequence_tasks.js:33:11)
6: MDNSService.self.watcher.callback (/homebridge/node_modules/homebridge-chromecast-google-tv/node_modules/mdns/lib/mdns_service.js:18:40)
[11/3/2024, 2:23:37 AM] [Google TV] Child bridge process ended
[11/3/2024, 2:23:37 AM] [Google TV] Process Ended. Code: null, Signal: SIGABRT

Plugin Config:

{
            "name": "Google TV",
            "category": "TELEVISION",
            "_bridge": {
                "username": "0E:45:86:A3:87:68",
                "port": 58185
            },
            "platform": "HomebridgeChromecastGoogleTV"
}

Environment: