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: Launch failed. Reason: CAST_INIT_TIMEOUT" #233

Open
sanderjo opened this issue Dec 4, 2018 · 2 comments
Open

"Error: Launch failed. Reason: CAST_INIT_TIMEOUT" #233

sanderjo opened this issue Dec 4, 2018 · 2 comments

Comments

@sanderjo
Copy link

sanderjo commented Dec 4, 2018

Short

I have a Philips Android TV. From my Chrome (on Ubuntu 18.10), I can cast to that TV.

However, castnow results in 'Error: Launch failed. Reason: CAST_INIT_TIMEOUT`

Tips?

Long

On Ubuntu 18.10, I start

castnow 'Setup Quecha 2-second tent --- 2013-08.mp4'

My Android TV responds by switching from TV to a black screen. So my Android TV

In the meantime, my Ubuntu says

State     : Launching...

for a minute or so.

Finally, my Ubuntu says

Error: Launch failed. Reason: CAST_INIT_TIMEOUT

without showing anything on the TV. At that moment, my TV switches back to broadcast-TV.

Tips?

@hemanth
Copy link
Collaborator

hemanth commented Dec 5, 2018

Can you try:

sudo /sbin/iptables -A INPUT -p udp --dport 5353 -j ACCEPT
sudo /sbin/iptables -A INPUT -p tcp --match multiport --dports 4100:41050 -j ACCEPT

@sanderjo
Copy link
Author

sanderjo commented Dec 5, 2018

Certainly, although I have no firewall active:

$ sudo /sbin/iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination   

Your commands:

$ sudo /sbin/iptables -A INPUT -p udp --dport 5353 -j ACCEPT
$ sudo /sbin/iptables -A INPUT -p tcp --match multiport --dports 4100:41050 -j ACCEPT

result

$ sudo /sbin/iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     udp  --  anywhere             anywhere             udp dpt:mdns
ACCEPT     tcp  --  anywhere             anywhere             multiport dports 4100:41050

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination 

Try again

 castnow 'Setup Quecha 2-second tent --- 2013-08.mp4'
                                                                                                                                              
  State     : Launching....                                                                                                                   
                            

and after a minute

Error: Launch failed. Reason: CAST_INIT_TIMEOUT

So no change.

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