I have a custom Chromecast receiver that isn't working and I'm trying to figure out why. When I cast to it from Chrome on my desktop my app starts up on the Chromecast but the Chromecast dialog just says Connecting...
And although my app does start up on my TV correctly, it seems like the sender eventually times out and kills it. I receive the following error message:
chrome.cast.Error {code: "session_error", description: null, details: null}
So I decided I'd try to debug it by going to http://192.168.x.x:9222
. That page loads up fine, but when I click the Remote Debugging (AppEngine)
link, I get sent to a blank white page at https://chrome-devtools-frontend.appspot.com/serve_rev/........
. In the Chrome dev tools I can see the following errors:
shell.js:3123 Uncaught TypeError: document.registerElement is not a function
at Object.UI.registerCustomElement (shell.js:3123)
at shell.js:3135
at shell.js:3137
UI.registerCustomElement @ shell.js:3123
(anonymous) @ shell.js:3135
(anonymous) @ shell.js:3137
devtools_app.js:2 Uncaught ReferenceError: SDK is not defined
at devtools_app.js:2
(anonymous) @ devtools_app.js:2
inspector.js:2 Uncaught ReferenceError: SDK is not defined
at inspector.js:2
I'm using a 1st Gen Chromecast with firmware version 1.36.159268
.
The error seems to be the same as described here: Unable to Open Chrome Inspector & Debug Chromecast Custom Receiver