catt scan failed
jayhohoho2019 opened this issue · 5 comments
Describe the bug
Enabled cast media and web browser returned a message saying it installed casting dependencies. But then it showed CATT SCAN FAILED. The rest like broadcast is working fine.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
catt scan should return a list of devices capable of being cast to.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- Platform Ubuntu 20.04 DT
- Browser Chrome
- Version latest. V3.3b
Additional context
Not sure if the dependency install should be done with sudo, in advance.
Tried to replicate it and got the same message. In my case disabling&re-enabling the casting feature brought it back to life - it now works as expected.
Maybe it's just a hiccup and it helps:
- Tab
Configuration
-> SettingCasting Enabled
-> Disable+Save&Enable+Save - Tab
Cast Sandbox
-> Wait 10 sec. - there should be a loading indicator in theDevice
field - then the indicator is gone, the devices should be in the drop-down
There is nothing weird in the logs - installed the dependencies months ago:
POST /server/getConfig 19.889 ms
POST /server/updateConfig 52.042 ms
POST /server/updateConfig 51.499 ms
Checking dependencies for casting...
Dependencies OK
POST /server/installCast 42.614 ms
POST /cast/search 7554.955 ms
If not, maybe check the following commands for hints:
(change user root to the user you're running assistant relay with)
pip3 show catt
should show the package
pip3 show catt
Name: catt
Version: 0.12.2
catt scan
on the server should list the devices as well
root@DietPi:~# catt scan
Scanning Chromecasts...
192.168.0.250 - XX- Google Inc. Google Nest Mini
you can replicate the POST /cast/search 7554.955 ms
with curl:
curl --show-error --silent --header "Content-Type: application/json" --request POST http://<IP>:3000/cast/search
output:
{"success":true,"devices":[{"name":"XX","model":"Google Nest Mini","uuid":
I am able to see my devices when I just run "catt scan" but when I use curl to POST or if I use the sandbox, it says "CATT scan failed"
Please help.
I see this error:
0|www | POST /cast/search 500 528.181 ms - 44
disable/save/enable/save on the web UI didn't fix this for me. UI shows catt failed, loading devices was taking forever.
On the server, pip3 show catt
works. catt scan
works by returning a list of my chromecast devices - 17 of them. So it looks like the issue is with the front end code.
Was anyone able to get to the bottom of this issue?
I get the message POST /server/installCast 200 when enabling it in settings, but... no devices ever show in sandbox.
Dependencies seem to be properly installed. Running catt scan shows all my cast devices.
Running
{
"device": "Office Chromecast",
"source": "https://www.youtube.com/watch?v=CUc6NEEbbeo",
"type": "remote"
}
works properly.
Bumping this.
I also have troubles with /cast/search