castblock
castblock copied to clipboard
Error while connecting to device (Chromecast with Google TV)
Hi there!
I have a Chromecast with Google TV and encountering errors when castblock trying to connect:
$ docker run --rm --network host erdnaxeli/castblock --debug
2021-10-03T18:11:10.837517Z INFO - castblock.chromecast: Found go-chromecast at /usr/bin/go-chromecast.
2021-10-03T18:11:10.840001Z INFO - castblock.chromecast: Starting the go-chromecast server.
2021-10-03T18:11:10.841673Z DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/"
2021-10-03T18:11:11.340612Z DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/"
2021-10-03T18:11:11.345441Z INFO - castblock.chromecast: The go-chromecast server is up
2021-10-03T18:11:11.843229Z DEBUG - castblock.blocker: Checking for new devices
2021-10-03T18:11:11.843234Z DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2021-10-03T18:11:14.854489Z INFO - castblock.blocker: New device found -- name: "Chromecast LG TV", uuid: "5f28da17d5c93111ec4b8aca70c6de21"
2021-10-03T18:11:14.854490Z INFO - castblock.blocker: Connect to device -- name: "Chromecast LG TV", uuid: "5f28da17d5c93111ec4b8aca70c6de21"
2021-10-03T18:11:14.854493Z DEBUG - http.client: Performing request -- method: "POST", host: "127.0.0.1", port: 8011, resource: "/connect?uuid=5f28da17d5c93111ec4b8aca70c6de21"
2021-10-03T18:11:17.860145Z DEBUG - castblock.chromecast: Error while connecting to device -- name: "Chromecast LG TV", uuid: "5f28da17d5c93111ec4b8aca70c6de21", status_code: 400, error: "'port' and 'addr' missing from query params and uuid device lookup returned no results"
2021-10-03T18:11:17.860168Z ERROR - castblock.blocker: Error while connecting -- name: "Chromecast LG TV", uuid: "5f28da17d5c93111ec4b8aca70c6de21"
2021-10-03T18:11:47.863855Z DEBUG - castblock.blocker: Checking for new devices
2021-10-03T18:11:47.863858Z DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2021-10-03T18:11:50.866541Z INFO - castblock.blocker: New device found -- name: "Chromecast LG TV", uuid: "5f28da17d5c93111ec4b8aca70c6de21"
2021-10-03T18:11:50.866542Z INFO - castblock.blocker: Connect to device -- name: "Chromecast LG TV", uuid: "5f28da17d5c93111ec4b8aca70c6de21"
2021-10-03T18:11:50.866545Z DEBUG - http.client: Performing request -- method: "POST", host: "127.0.0.1", port: 8011, resource: "/connect?uuid=5f28da17d5c93111ec4b8aca70c6de21"
2021-10-03T18:11:53.869772Z DEBUG - castblock.chromecast: Error while connecting to device -- name: "Chromecast LG TV", uuid: "5f28da17d5c93111ec4b8aca70c6de21", status_code: 400, error: "'port' and 'addr' missing from query params and uuid device lookup returned no results"
2021-10-03T18:11:53.869794Z ERROR - castblock.blocker: Error while connecting -- name: "Chromecast LG TV", uuid: "5f28da17d5c93111ec4b8aca70c6de21"
Any chance you can take a look at this? Thank you for such awesome project!
Connecting to android TV devices is problematic at the moment, even when it works you cannot skip sponsor blocks as seen in #24