Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome Cast Sender "session_error" NOT_FOUND

Tags:

chromecast

I can't get a basic sender app set up. I've tried the CastHelloText sender example, put in my own AppId and get an error immediately after chrome.cast.requestSession() is called when I select my device from the top-right Google Cast extension button. My receiver is based off of Cast-Simple-Receiver. I've done the whole unplugging power/plugging back in thing to restart ChromeCast, but that doesn't resolve my issue.

Resources out there seem kind of slim at the moment, but is there a place that explains everything in-depth without having to jump from site to site? Also, take a look at the image I've attached. I can't figure out what that other URL is supposed to be.

My specific error from the requestSession() looks like this:

{code: "session_error", description: "NOT_FOUND", details: null}

EDIT: I've verified that I can connect to the default chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID but my receiver app can't be connected to. I've registered my device and restarted it multiple times. I've now removed it and am trying to re-register it to see if that helps (even though it said it was ready for dev).

Chrome Cast Developer Console

like image 577
daleyjem Avatar asked Feb 07 '14 02:02

daleyjem


1 Answers

Check these; hopefully they get things sorted out:

  • Make sure you have registered your chromecast device on the developer console. Double check the serial number since sometimes it is hard to read it.

  • During the chromecast setup, there was a box stating something like "Send the serial number ..", make sure that is checked

  • Wait 1/2 hour or so and reboot your chromecast

  • Check whether you can access http://<chromecast-ip>:9222 from a chrome browser on the same wifi network; if you can, then your device is ready for development

As for the area on the image that you have pointed to, that is more for informational purposes at this point

like image 83
Ali Naddaf Avatar answered Oct 19 '22 11:10

Ali Naddaf