Server Version#: 1.41.7.9823 (running on unraid NAS)
Player Version#: 10.28.0.3441 (968939281)
Hi, when starting the app the initial loading of the home screen is very slow. Additionally, loading the “Activity”, “Find Friends”, and “My Profile” pages is also very slow. All of these actions take ~30 seconds to complete. This issue only affects Plex on my Nvidia Shield, other clients can load everything right away.
I enabled network logging on the shield and see the following printing out every ~12 seconds, all the time (not just when this problem presents itself).
06-02 09:45:04.773 e: [EventSource (PlexTV)] Error detected: Failed to connect to https://pubsub.plex.tv/sub/eventsource/5468718/4f11eda86b13d6fc-com-plexapp-android?X-Plex-Token=...xxx.
06-02 09:45:16.871 e: [EventSource (PlexTV)] Error detected: Failed to connect to https://pubsub.plex.tv/sub/eventsource/5468718/4f11eda86b13d6fc-com-plexapp-android?X-Plex-Token=...xxx.
06-02 09:45:28.970 e: [EventSource (PlexTV)] Error detected: Failed to connect to https://pubsub.plex.tv/sub/eventsource/5468718/4f11eda86b13d6fc-com-plexapp-android?X-Plex-Token=...xxx.
I’m not sure if these prints are related to the issue or not.
Below are debug logs showing everything that happened as soon as I started the Plex app from the Nvidia Shield home screen:
06-02 09:51:12.271 i: [AppEventMonitor] Focused +2797.65s
06-02 09:51:12.277 i: [SplashActivity] Proceeding to route: o
06-02 09:51:12.326 i: [User] Application focused, refreshing feature flags.
06-02 09:51:12.332 i: [WebSocketApplicationBehaviour] Focus change detected. Focused: true
06-02 09:51:12.334 i: [User] Updating feature flags.
06-02 09:51:12.345 i: Fetching [method:GET] https://clients.plex.tv/api/v2/features?X-Plex-Token=...SKha&X-Plex-Language=en-us
06-02 09:51:12.363 i: [TVODPurchaseRepository] Checking for unverified purchases
06-02 09:51:12.445 i: Creating PickUserActivity.
06-02 09:51:12.446 i: [Boot] PickUserActivity took 1ms to run create behaviours.
06-02 09:51:12.462 i: [ResetCustomizationBrain] Check if we should show the server selector, is server already selected: (true) user has gone through onboarding: (true)
06-02 09:51:12.474 i: [ActivityBackgroundBehaviour] Canceling Playback: Starting new playback from onStart.
06-02 09:51:12.486 i: Resuming PickUserActivity.
06-02 09:51:12.490 i: [AccountApplicationBehaviour] Fetching preferred platforms
06-02 09:51:12.491 i: [PreferredPlatformsRepository] Fetching preferred availability platforms
06-02 09:51:12.763 i: [Metrics] Correctly fetched privacy map from plex.tv (128 keys)
06-02 09:51:22.780 e: [EventSource (PlexTV)] Error detected: Failed to connect to https://pubsub.plex.tv/sub/eventsource/5468718/4f11eda86b13d6fc-com-plexapp-android?X-Plex-Token=...xxx.
06-02 09:51:34.870 e: [EventSource (PlexTV)] Error detected: Failed to connect to https://pubsub.plex.tv/sub/eventsource/5468718/4f11eda86b13d6fc-com-plexapp-android?X-Plex-Token=...xxx.
06-02 09:51:43.036 i: [AccountApplicationBehaviour] Community onboarding set: null
06-02 09:51:43.037 i: [CommunitySinglePaneOnboardingActivity] Should show onboarding flow: false
06-02 09:51:43.268 i: Creating HomeActivityTV.
06-02 09:51:43.269 i: [Activity] Resuming the application, attempting to download item and children.
06-02 09:51:43.274 i: [Boot] HomeActivityTV took 5ms to run create behaviours.
06-02 09:51:43.277 i: [HomeActivity] Adding home fragment
06-02 09:51:43.279 i: [Boot] g took 0ms to run create behaviours.
06-02 09:51:43.282 w: [PlexActivity] Not adding behaviour TitleViewBehaviour because it was already present.
06-02 09:51:43.296 i: [Boot] g took 0ms to run create behaviours.
06-02 09:51:43.298 i: [Boot] g took 0ms to run create behaviours.
06-02 09:51:43.306 i: [ActivityBackgroundBehaviour] Canceling Playback: Source changed
06-02 09:51:43.307 i: [ActivityBackgroundBehaviour] Canceling Playback: Starting new playback from onStart.
06-02 09:51:43.316 i: [ContentSectionNavigation] Opening user profile of <removed>
06-02 09:51:43.316 i: [ServerClaimingHelper] Server Discover cannot be claimed: it doesn't allow claiming
06-02 09:51:43.321 i: Resuming HomeActivityTV.
The main thing I notice is a nearly 30 second delay from when the privacy map is fetched from plex.tv to the next log entry (excluding the once every 12 seconds error logs).
Any ideas of what could be happening?