10

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

1
  • 1
    I believe the website URL is just a website address that provides your end users with information about the app after it has been published.
    – Johan
    Commented Feb 10, 2014 at 11:46

1 Answer 1

14

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

9
  • Oy! I had a digit wrong in the serial number incorrect! Hopefully that'll help. So did I register someone else's serial number then?
    – daleyjem
    Commented Feb 7, 2014 at 4:52
  • Note, the serial number is NOT the MAC address... despite both being 12 digits long and alphanumeric.
    – Ray Foss
    Commented Feb 10, 2014 at 6:50
  • It doesn't seem to be sufficient to only boot the Chromecast device by unplugging it – or it was just a coincidence that the Web contents seemed instantly available on 192.168.1.20:9222 (in my case) after the reboot.
    – Johan
    Commented Feb 10, 2014 at 11:45
  • @Gatada, I wasn't sure how to reboot, actually, without unplugging. Is there a "Reboot" option somewhere?
    – daleyjem
    Commented Feb 11, 2014 at 2:25
  • Easiest is to just unplug and plug it back in.
    – Ali Naddaf
    Commented Feb 11, 2014 at 3:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.