Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while connecting to device (Chromecast with Google TV) #29

Open
tsunamaru opened this issue Oct 3, 2021 · 1 comment
Open

Error while connecting to device (Chromecast with Google TV) #29

tsunamaru opened this issue Oct 3, 2021 · 1 comment

Comments

@tsunamaru
Copy link

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!

@RemcoSchrijver
Copy link
Contributor

Connecting to android TV devices is problematic at the moment, even when it works you cannot skip sponsor blocks as seen in #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants