Jump to content

Android device(s) can't find Chromecast(s) test with 3.0.6060


lal

Recommended Posts

Hi - I upgraded to the latest version today 3.0.6060 from (3.0.5972.0) and lost chromecast connectivity from the chrome mobile browser on android devices.

 

I tried the following on 5 android devices with 6 chromecast (gen 1 and gen 2) in 3 different houses.

 

Tried:

-Android phone (Moto X), loaded Emby locally in Chrome browser, clicked the cast icon, select Chromecast - nothing. It wouldn't present the "cast to: my chromecast name" pop up.

-Tried Nexus 7 tablet and Nexus 4 phone, both same result.

-Turned on the other 2 chromecasts in the house, same result. None of my devices could see the chromecast through the chrome browser emby.

-Tried Chrome DEV browser, same problem

-Tried remote connection to my server through the browser, same problem.

-Called brother, he to got the same problem. Again android phone, on both Chrome & Chrome DEV browsers with a Chromecast, he would never be presented the "cast to" popup.

-Called mother, same issue / result (same setup, android phone with Chrome & Chrome DEV browser with a Chromecast)

 

Fired up the android emby application, it had no problems seeing my Chromecast, connected to it and proceeded with a stream.

 

I rolled my PC back to my last disk backup from 2 days ago, everything is now working again on 3.0.5972.0 - also confirmed with mom and brother, they can now connect again and stream.

Silly me, I forgot to grab the logs before doing a drive recovery, sorry but I have nothing to show :(

 

So I guess my question is, anyone else running into the same issue?

 

Link to comment
Share on other sites

I saw it a couple days ago in the web app and it looked to me like an issue in chrome. I'll try out again later. The native app s are fine

Link to comment
Share on other sites

xbrentx

Hey,

 

I'm also having the exact same issue.  Everything was working fine, and then I updated to the same version mentioned above, and now I can't cast to chromecast devices from mobile site on my android devices.  The chromecast works fine with other apps like Youtube.

 

I will try tonight and provide logs.

Link to comment
Share on other sites

I can reproduce in the web browser but it is the Google Cast libraries throwing an error. This happened a couple months ago right after a Chrome update and within a few days it was fixed. We might just have to wait it out again.

Link to comment
Share on other sites

feerlessleadr

Hi Luke - I'm having a similar problem in that none of the web browsers I have tried, be it Chrome, internet explorer or edge ( on either main server, laptop, nexus 6p) will not connect to my chromecast audio. My android app works fine though.

 

Chrome on all of them will say 'Chromecast' when I click on the chromecast button, but nothing happens when I do. On Internet explorer and Edge, when I click on the chromecast icon, the chromecast option isn't even there. 

 

I'm running the latest server beta.

Link to comment
Share on other sites

Hi Luke - I'm having a similar problem in that none of the web browsers I have tried, be it Chrome, internet explorer or edge ( on either main server, laptop, nexus 6p) will not connect to my chromecast audio. My android app works fine though.

 

Chrome on all of them will say 'Chromecast' when I click on the chromecast button, but nothing happens when I do. On Internet explorer and Edge, when I click on the chromecast icon, the chromecast option isn't even there. 

 

I'm running the latest server beta.

 

Chrome is the only browser that can connect to Chromecast, and that requires the Google Cast extension to be installed.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

I still seem to still be having this issue. Trying from multiple devices (Nexus 6P, Pixel C, Nexus 7 (2013), and Chrome for Windows), I can't seem to get the web interface to connect to the Chromecast. None of the devices show a list of eligible Chromecasts after selecting the "Chromecast" option from the casting menu. On Android it seems to be even worse than desktop -- about 75% of the time, just loading the Emby web interface after logging in will crash the Chrome app completely. I've included my phone's Chrome console output below -- not sure if that's helpful at all, but I can gather other logs too if you need them. The behavior captured in the log is as follows:
 
- Already having logged in, load /web/home.html
- Click the "Cast" icon
- Select the "Chromecast" option
 

Manifest: one of 'url' or 'id' is required, related application ignored.
connectionmanager.js?v=3.0.6400.0:37 Begin ConnectionManager constructor
site.js?v=3.0.6400.0:55 loading ApiClient singleton
site.js?v=3.0.6400.0:55 creating ApiClient singleton
apiclient.js?v=3.0.6400.0:15 ApiClient serverAddress: https://emby.mydomain.com
apiclient.js?v=3.0.6400.0:16 ApiClient clientName: Emby Mobile
apiclient.js?v=3.0.6400.0:17 ApiClient applicationVersion: 3.0.6400.0
apiclient.js?v=3.0.6400.0:18 ApiClient deviceName: Chrome 52.0.2743.98 Android
apiclient.js?v=3.0.6400.0:19 ApiClient deviceId: 9be4b44639726670a0d86e730861fe2e3edc4590
credentials.js?v=3.0.6400.0:15 credentials initialized with: {"Servers":[{"DateLastAccessed":1472815820069,"LastConnectionMode":2,"ManualAddress":"https://emby.mydomain.com","Id":"ccf1797b8e2f46b7a97f18b06284a699","Name":"Hyperion","LocalAddress":"http://192.168.1.224:8096","RemoteAddress":"https://emby.mydomain.com:8920","UserId":"217832b23b30424a801f075b432bfeb6","AccessToken":"43be1b36ab2a441dae6ba658794a65a8","Users":[{"Id":"217832b23b30424a801f075b432bfeb6","IsSignedInOffline":true}]}]}
site.js?v=3.0.6400.0:55 loaded ApiClient singleton
site.js?v=3.0.6400.0:105 initAfterDependencies promises resolved
mediacontroller.js?v=3.0.6400.0:75 Beginning MediaController.init
site.js?v=3.0.6400.0:111 Begin onAppReady
site.js?v=3.0.6400.0:114 onAppReady - loading dependencies
mediacontroller.js?v=3.0.6400.0:22 Active player: {"name":"My Device","id":"9be4b44639726670a0d86e730861fe2e3edc4590","playerName":"Html5 Player","playableMediaTypes":["Audio","Video"],"isLocalPlayer":true,"supportedCommands":["GoHome","GoToSettings","VolumeUp","VolumeDown","Mute","Unmute","ToggleMute","SetVolume","SetAudioStreamIndex","SetSubtitleStreamIndex","DisplayContent","GoToSearch","DisplayMessage","SetRepeatMode"]}
router.js?v=3.0.6400.0:588 Setting page base to /web
site.js?v=3.0.6400.0:114 Loaded dependencies in onAppReady
site.js?v=3.0.6400.0:110 Defining core routes
site.js?v=3.0.6400.0:109 Defining route: /about.html
site.js?v=3.0.6400.0:109 Defining route: /addplugin.html
site.js?v=3.0.6400.0:109 Defining route: /appservices.html
site.js?v=3.0.6400.0:109 Defining route: /autoorganizelog.html
site.js?v=3.0.6400.0:109 Defining route: /autoorganizesmart.html
site.js?v=3.0.6400.0:109 Defining route: /autoorganizetv.html
site.js?v=3.0.6400.0:109 Defining route: /channelitems.html
site.js?v=3.0.6400.0:109 Defining route: /channels.html
site.js?v=3.0.6400.0:109 Defining route: /channelsettings.html
site.js?v=3.0.6400.0:109 Defining route: /cinemamodeconfiguration.html
site.js?v=3.0.6400.0:109 Defining route: /connectlogin.html
site.js?v=3.0.6400.0:109 Defining route: /dashboard.html
site.js?v=3.0.6400.0:109 Defining route: /dashboardgeneral.html
site.js?v=3.0.6400.0:109 Defining route: /dashboardhosting.html
site.js?v=3.0.6400.0:109 Defining route: /device.html
site.js?v=3.0.6400.0:109 Defining route: /devices.html
site.js?v=3.0.6400.0:109 Defining route: /devicesupload.html
site.js?v=3.0.6400.0:109 Defining route: /dlnaprofile.html
site.js?v=3.0.6400.0:109 Defining route: /dlnaprofiles.html
site.js?v=3.0.6400.0:109 Defining route: /dlnaserversettings.html
site.js?v=3.0.6400.0:109 Defining route: /dlnasettings.html
site.js?v=3.0.6400.0:109 Defining route: /edititemmetadata.html
site.js?v=3.0.6400.0:109 Defining route: /encodingsettings.html
site.js?v=3.0.6400.0:109 Defining route: /favorites.html
site.js?v=3.0.6400.0:109 Defining route: /forgotpassword.html
site.js?v=3.0.6400.0:109 Defining route: /forgotpasswordpin.html
site.js?v=3.0.6400.0:109 Defining route: /gamegenres.html
site.js?v=3.0.6400.0:109 Defining route: /games.html
site.js?v=3.0.6400.0:109 Defining route: /gamesrecommended.html
site.js?v=3.0.6400.0:109 Defining route: /gamestudios.html
site.js?v=3.0.6400.0:109 Defining route: /gamesystems.html
site.js?v=3.0.6400.0:109 Defining route: /home.html
site.js?v=3.0.6400.0:109 Defining route: /index.html
site.js?v=3.0.6400.0:109 Defining route: /itemdetails.html
site.js?v=3.0.6400.0:109 Defining route: /itemlist.html
site.js?v=3.0.6400.0:109 Defining route: /kids.html
site.js?v=3.0.6400.0:109 Defining route: /library.html
site.js?v=3.0.6400.0:109 Defining route: /librarydisplay.html
site.js?v=3.0.6400.0:109 Defining route: /librarypathmapping.html
site.js?v=3.0.6400.0:109 Defining route: /librarysettings.html
site.js?v=3.0.6400.0:109 Defining route: /livetv.html
site.js?v=3.0.6400.0:109 Defining route: /livetvguideprovider.html
site.js?v=3.0.6400.0:109 Defining route: /livetvitems.html
site.js?v=3.0.6400.0:109 Defining route: /livetvrecordinglist.html
site.js?v=3.0.6400.0:109 Defining route: /livetvseriestimer.html
site.js?v=3.0.6400.0:109 Defining route: /livetvsettings.html
site.js?v=3.0.6400.0:109 Defining route: /livetvstatus.html
site.js?v=3.0.6400.0:109 Defining route: /livetvtunerprovider-hdhomerun.html
site.js?v=3.0.6400.0:109 Defining route: /livetvtunerprovider-m3u.html
site.js?v=3.0.6400.0:109 Defining route: /livetvtunerprovider-satip.html
site.js?v=3.0.6400.0:109 Defining route: /log.html
site.js?v=3.0.6400.0:109 Defining route: /login.html
site.js?v=3.0.6400.0:109 Defining route: /metadata.html
site.js?v=3.0.6400.0:109 Defining route: /metadataadvanced.html
site.js?v=3.0.6400.0:109 Defining route: /metadataimages.html
site.js?v=3.0.6400.0:109 Defining route: /metadatanfo.html
site.js?v=3.0.6400.0:109 Defining route: /metadatasubtitles.html
site.js?v=3.0.6400.0:109 Defining route: /movies.html
site.js?v=3.0.6400.0:109 Defining route: /music.html
site.js?v=3.0.6400.0:109 Defining route: /mypreferencesdisplay.html
site.js?v=3.0.6400.0:109 Defining route: /mypreferenceshome.html
site.js?v=3.0.6400.0:109 Defining route: /mypreferenceslanguages.html
site.js?v=3.0.6400.0:109 Defining route: /mypreferencesmenu.html
site.js?v=3.0.6400.0:109 Defining route: /myprofile.html
site.js?v=3.0.6400.0:109 Defining route: /mysync.html
site.js?v=3.0.6400.0:109 Defining route: /camerauploadsettings.html
site.js?v=3.0.6400.0:109 Defining route: /mysyncjob.html
site.js?v=3.0.6400.0:109 Defining route: /mysyncsettings.html
site.js?v=3.0.6400.0:109 Defining route: /notificationlist.html
site.js?v=3.0.6400.0:109 Defining route: /notificationsetting.html
site.js?v=3.0.6400.0:109 Defining route: /notificationsettings.html
site.js?v=3.0.6400.0:109 Defining route: /nowplaying.html
site.js?v=3.0.6400.0:109 Defining route: /photos.html
site.js?v=3.0.6400.0:109 Defining route: /playbackconfiguration.html
site.js?v=3.0.6400.0:109 Defining route: /playlists.html
site.js?v=3.0.6400.0:109 Defining route: /plugincatalog.html
site.js?v=3.0.6400.0:109 Defining route: /plugins.html
site.js?v=3.0.6400.0:109 Defining route: /reports.html
site.js?v=3.0.6400.0:109 Defining route: /scheduledtask.html
site.js?v=3.0.6400.0:109 Defining route: /scheduledtasks.html
site.js?v=3.0.6400.0:109 Defining route: /search.html
site.js?v=3.0.6400.0:109 Defining route: /secondaryitems.html
site.js?v=3.0.6400.0:109 Defining route: /selectserver.html
site.js?v=3.0.6400.0:109 Defining route: /serversecurity.html
site.js?v=3.0.6400.0:109 Defining route: /shared.html
site.js?v=3.0.6400.0:109 Defining route: /streamingsettings.html
site.js?v=3.0.6400.0:109 Defining route: /support.html
site.js?v=3.0.6400.0:109 Defining route: /supporterkey.html
site.js?v=3.0.6400.0:109 Defining route: /syncactivity.html
site.js?v=3.0.6400.0:109 Defining route: /syncjob.html
site.js?v=3.0.6400.0:109 Defining route: /syncsettings.html
site.js?v=3.0.6400.0:109 Defining route: /tv.html
site.js?v=3.0.6400.0:109 Defining route: /useredit.html
site.js?v=3.0.6400.0:109 Defining route: /userlibraryaccess.html
site.js?v=3.0.6400.0:109 Defining route: /usernew.html
site.js?v=3.0.6400.0:109 Defining route: /userparentalcontrol.html
site.js?v=3.0.6400.0:109 Defining route: /userpassword.html
site.js?v=3.0.6400.0:109 Defining route: /userprofiles.html
site.js?v=3.0.6400.0:109 Defining route: /wizardagreement.html
site.js?v=3.0.6400.0:109 Defining route: /wizardcomponents.html
site.js?v=3.0.6400.0:109 Defining route: /wizardfinish.html
site.js?v=3.0.6400.0:109 Defining route: /wizardlibrary.html
site.js?v=3.0.6400.0:109 Defining route: /wizardlivetvguide.html
site.js?v=3.0.6400.0:109 Defining route: /wizardlivetvtuner.html
site.js?v=3.0.6400.0:109 Defining route: /wizardservice.html
site.js?v=3.0.6400.0:109 Defining route: /wizardsettings.html
site.js?v=3.0.6400.0:109 Defining route: /wizardstart.html
site.js?v=3.0.6400.0:109 Defining route: /wizarduser.html
site.js?v=3.0.6400.0:109 Defining route: /configurationpage
site.js?v=3.0.6400.0:109 Defining route: /
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/Plugins/SecurityInfo
connectionmanager.js?v=3.0.6400.0:905 Begin connect
connectionmanager.js?v=3.0.6400.0:808 Begin getAvailableServers
connectionmanager.js?v=3.0.6400.0:756 Begin getConnectServers
connectionmanager.js?v=3.0.6400.0:920 Begin connectToServers, with 1 servers
connectionmanager.js?v=3.0.6400.0:981 begin connectToServer
connectionmanager.js?v=3.0.6400.0:998 beginning connection tests
connectionmanager.js?v=3.0.6400.0:1072 testing connection mode 2 with server Hyperion
connectionmanager.js?v=3.0.6400.0:200 tryConnect url: https://emby.mydomain.com/emby/system/info/public
connectionmanager.js?v=3.0.6400.0:172 ConnectionManager requesting url: https://emby.mydomain.com/emby/system/info/public
connectionmanager.js?v=3.0.6400.0:123 fetchWithTimeout: timeoutMs: 20000, url: https://emby.mydomain.com/emby/system/info/public
connectionmanager.js?v=3.0.6400.0:135 fetchWithTimeout: succeeded connecting to url: https://emby.mydomain.com/emby/system/info/public
connectionmanager.js?v=3.0.6400.0:176 ConnectionManager response status: 200, url: https://emby.mydomain.com/emby/system/info/public
connectionmanager.js?v=3.0.6400.0:1085 calling onSuccessfulConnection with connection mode 2 with server Hyperion
connectionmanager.js?v=3.0.6400.0:172 ConnectionManager requesting url: https://emby.mydomain.com/emby/System/Info
connectionmanager.js?v=3.0.6400.0:176 ConnectionManager response status: 200, url: https://emby.mydomain.com/emby/System/Info
connectionmanager.js?v=3.0.6400.0:172 ConnectionManager requesting url: https://emby.mydomain.com/emby/users/217832b23b30424a801f075b432bfeb6
connectionmanager.js?v=3.0.6400.0:176 ConnectionManager response status: 200, url: https://emby.mydomain.com/emby/users/217832b23b30424a801f075b432bfeb6
connectionmanager.js?v=3.0.6400.0:380 returning instance from getOrAddApiClient
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/Users/217832b23b30424a801f075b432bfeb6
connectionmanager.js?v=3.0.6400.0:380 returning instance from getOrAddApiClient
apiclient.js?v=3.0.6400.0:511 Begin updateServerInfo. connectionMode: 2
apiclient.js?v=3.0.6400.0:520 Setting server address to https://emby.mydomain.com
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/Sessions/Capabilities/Full
connectionmanager.js?v=3.0.6400.0:453 calling apiClient.openWebSocket
connectionmanager.js?v=3.0.6400.0:933 resolving connectToServers with result.State: 3
router.js?v=3.0.6400.0:277 embyRouter - processing path request /web/home.html
router.js?v=3.0.6400.0:298 embyRouter - user is authenticated
router.js?v=3.0.6400.0:319 embyRouter - proceeding to /web/home.html
apiclient.js?v=3.0.6400.0:562 WebSocket connection to 'wss://emby.mydomain.com/socket?api_key=43be1b36ab2a441dae6ba658794a65a8&deviceId=9be4b44639726670a0d86e730861fe2e3edc4590' failed: Error during WebSocket handshake: Unexpected response code: 404
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/Users/217832b23b30424a801f075b432bfeb6/Views
serviceworker.js:1 service worker location: https://emby.mydomain.com/web/serviceworker.js
serviceworker.js:1 service worker base url: https://emby.mydomain.com/web
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/DisplayPreferences/home?userId=217832b23b30424a801f075b432bfeb6&client=webclient
chromecast.js?v=3.0.6400.0:4 chromecast.initialize
chromecast.js?v=3.0.6400.0:4 chromecast init success
chromecast.js?v=3.0.6400.0:9 chromecast receiver list empty
undefined:1 Uncaught (in promise) TypeError: Failed to fetch(…)
bower_components/emby-webcomponents/strings/ko.json?v=3.0.6400.0:1 GET https://emby.mydomain.com/web/bower_components/emby-webcomponents/strings/ko.json?v=3.0.6400.0 net::ERR_INSUFFICIENT_RESOURCES
bower_components/emby-webcomponents/strings/nl.json?v=3.0.6400.0:1 GET https://emby.mydomain.com/web/bower_components/emby-webcomponents/strings/nl.json?v=3.0.6400.0 net::ERR_INSUFFICIENT_RESOURCES
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/Users/217832b23b30424a801f075b432bfeb6/Views
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/Users/217832b23b30424a801f075b432bfeb6/Items?SortBy…mageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/Users/217832b23b30424a801f075b432bfeb6/Items/Latest…BasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/LiveTv/Recordings?userId=217832b23b30424a801f075b43…spectRatio%2CBasicSyncInfo&IsInProgress=false&EnableTotalRecordCount=false
chromecast.js?v=3.0.6400.0:8 chromecast receiver found
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/Sessions?ControllableByUserId=217832b23b30424a801f075b432bfeb6
chromecast.js?v=3.0.6400.0:10 chromecast launching app...
chromecast.js?v=3.0.6400.0:10 chromecast launch error
undefined:1 Uncaught (in promise) undefined

For reference, my server is configured as follows (could help explain some of the things that may seem odd in the console output)

  • Emby is running on ports 8096 (HTTP) and 8920 (HTTPS). Both of these are port-forwarded in my router.
  • I'm reverse proxying ports 80 and 443 for my domain's "emby" subdomain to ports 8096 and 8920 respectively. 80 and 443 are also port-forwarded in my router.
  • Emby is pointing to my server's valid Let's Encrypt SSL certificate (converted to PFX). The reverse proxy uses the same cert (non-PFX).
Link to comment
Share on other sites

@@mbn110 if you're seeing this in the web app then it's out of Emby's control. The Chromecast UI in the web app is coming from Google Cast itself. If it's not showing you any Chromecast devices to connect to, then there's nothing Emby can do to change that. It is probably some kind of networking configuration that is preventing Google Cast from discovering your Chromecast.

Link to comment
Share on other sites

@@mbn110 if you're seeing this in the web app then it's out of Emby's control. The Chromecast UI in the web app is coming from Google Cast itself. If it's not showing you any Chromecast devices to connect to, then there's nothing Emby can do to change that. It is probably some kind of networking configuration that is preventing Google Cast from discovering your Chromecast.

 

Perhaps I didn't explain well enough -- the problem is that the Google Cast "Cast to" dialog never even shows up. For example, If I go to YouTube and click the cast button in the video player, the Google Cast dialog appears listing both of my chromecasts and allows me to connect to either of them. If I click the "Chromecast" casting option in Emby, that Google Cast dialog never appears. It seems like an unhandled error is being thrown somewhere before the Google Cast dialog even has a chance to appear:

chromecast.js?v=3.0.6400.0:4 chromecast.initialize
chromecast.js?v=3.0.6400.0:4 chromecast init success
chromecast.js?v=3.0.6400.0:8 chromecast receiver found
apiclient.js?v=3.0.6400.0:278 Requesting url without automatic networking: https://emby.mydomain.com/Sessions?ControllableByUserId=217832b23b30424a801f075b432bfeb6
chromecast.js?v=3.0.6400.0:10 chromecast launching app...
chromecast.js?v=3.0.6400.0:10 chromecast launch error
home.html:1 Uncaught (in promise) undefined
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...