Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chromecast "StartApplicationRequest failed with status: -4"

Tags:

google-cast

I've set up the Chromecast SDK, whitelisted my device, and am running web servers at the URLs I provided in the whitelist request.

The chromecast tic tac toe app works fine with the default app id "TicTacToe", however changing it to my own: "1813060e-33c5-41dc-b356-0d2bad12497f" or "1813060e-33c5-41dc-b356-0d2bad12497f_1" does not work.

The server url is up and running at http://chromecast.clockworkmod.com/, but no requests are being made to it by Chromecast. The chromecast doesn't display anything. However I get a few errors in the log.

Here is the logcat.

W/StartSessionTask(15590): StartApplicationRequest failed with status: -4 E/ApplicationSession(15590): StartSessionTask failed with error: failed to start application: request failed D/GameActivity(15590): start session failed: failed to start application: request failed

I've also tried using the internal app id with the dev url I had provided, http://192.168.1.2:3000/

like image 645
koush Avatar asked Jul 29 '13 01:07

koush


1 Answers

I found the answer here:

unable to cast to personal whitelisted receiver app

Using the Chromecast app on my Macbook, I went into Settings.

  • Send serial number when Checking for updates
  • Reboot device the device using the Mac update app

This resolved the error for me. The chromecast doesn't know if it is whitelisted unless you send the serial during update checks.

like image 98
koush Avatar answered Jan 01 '23 11:01

koush