--- client: Jellyfin for Android TV client_version: 0.18.8 client_repository: https://github.com/jellyfin/jellyfin-androidtv type: crash_report format: markdown --- ### Logs ***Stack Trace***: ```log org.jellyfin.sdk.api.client.exception.InvalidStatusException: Invalid HTTP status in response: 502 at org.jellyfin.sdk.api.ktor.KtorClient.request(KtorClient.kt:146) at org.jellyfin.sdk.api.ktor.KtorClient$request$1.invokeSuspend(Unknown Source:19) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@ddfa89e, Dispatchers.IO] ``` ***Logcat***: ```log 06-23 21:02:48.531 D/ACRA (17317): onActivityDestroyed class org.jellyfin.androidtv.ui.browsing.MainActivity 06-23 21:02:48.567 W/libEGL (17317): EGLNativeWindowType 0xb96660a8 disconnect failed 06-23 21:02:55.805 W/ActivityThread(17317): handleWindowVisibility: no activity for token android.os.BinderProxy@b91bcee 06-23 21:02:55.848 I/ActivityThemeExtensionsKt(17317): Applying theme EMERALD 06-23 21:02:55.849 D/ACRA (17317): onActivityCreated class org.jellyfin.androidtv.ui.startup.StartupActivity 06-23 21:02:55.866 D/ACRA (17317): onActivityStarted class org.jellyfin.androidtv.ui.startup.StartupActivity 06-23 21:02:55.868 D/ACRA (17317): onActivityResumed class org.jellyfin.androidtv.ui.startup.StartupActivity 06-23 21:02:55.883 I/StartupActivity$onPermissionsGranted(17317): Found a session in the session repository, waiting for the currentUser in the application class. 06-23 21:02:55.884 I/StartupActivity$onPermissionsGranted(17317): CurrentUser changed to c3495d3e-17ae-429d-a650-cf1d2e04f3cc while waiting for startup. 06-23 21:02:55.885 D/StartupActivity(17317): Determining next activity (action=android.intent.action.MAIN, itemId=null, itemIsUserView=false) 06-23 21:02:55.887 I/org.jellyfin.sdk.api.ktor.KtorClient(17317): POST https://mydomain.net/Sessions/Capabilities?playableMediaTypes=Video&playableMediaTypes=Audio&supportedCommands=DisplayContent&supportedCommands=SetSubtitleStreamIndex&supportedCommands=SetAudioStreamIndex&supportedCommands=DisplayMessage&supportedCommands=SendString&supportedCommands=VolumeUp&supportedCommands=VolumeDown&supportedCommands=SetVolume&supportedCommands=Mute&supportedCommands=Unmute&supportedCommands=ToggleMute&supportsMediaControl=true&supportsPersistentIdentifier=true 06-23 21:02:55.889 V/io.ktor.client.plugins.HttpPlainText(17317): Adding Accept-Charset=UTF-8 to https://mydomain.net/Sessions/Capabilities?playableMediaTypes=Video&playableMediaTypes=Audio&supportedCommands=DisplayContent&supportedCommands=SetSubtitleStreamIndex&supportedCommands=SetAudioStreamIndex&supportedCommands=DisplayMessage&supportedCommands=SendString&supportedCommands=VolumeUp&supportedCommands=VolumeDown&supportedCommands=SetVolume&supportedCommands=Mute&supportedCommands=Unmute&supportedCommands=ToggleMute&supportsMediaControl=true&supportsPersistentIdentifier=true 06-23 21:02:55.899 D/WM-Processor(17317): Processor cancelling 975af1a7-46b9-47b3-a218-96df7234af15 06-23 21:02:55.899 D/WM-Processor(17317): WorkerWrapper could not be found for 975af1a7-46b9-47b3-a218-96df7234af15 06-23 21:02:55.907 D/WM-GreedyScheduler(17317): Cancelling work ID 975af1a7-46b9-47b3-a218-96df7234af15 06-23 21:02:55.926 D/mali_winsys(17317): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 06-23 21:02:55.946 D/gralloc (17317): mali_gralloc_select_format: req_format=0x00000001, usage=0x20000b00, req_base_format=0x1, alloc_format=0x8700000001, internal_format=0x8700000001 06-23 21:02:55.964 D/WM-SystemJobScheduler(17317): Scheduling work ID d742e2ce-3265-42a8-a284-45a1ac767762Job ID 5833 06-23 21:02:55.986 V/io.ktor.client.plugins.HttpCallValidator(17317): Validating response for request https://mydomain.net/Sessions/Capabilities?playableMediaTypes=Video&playableMediaTypes=Audio&supportedCommands=DisplayContent&supportedCommands=SetSubtitleStreamIndex&supportedCommands=SetAudioStreamIndex&supportedCommands=DisplayMessage&supportedCommands=SendString&supportedCommands=VolumeUp&supportedCommands=VolumeDown&supportedCommands=SetVolume&supportedCommands=Mute&supportedCommands=Unmute&supportedCommands=ToggleMute&supportsMediaControl=true&supportsPersistentIdentifier=true 06-23 21:02:55.990 V/io.ktor.client.plugins.DefaultResponseValidation(17317): Skipping default response validation for https://mydomain.net/Sessions/Capabilities?playableMediaTypes=Video&playableMediaTypes=Audio&supportedCommands=DisplayContent&supportedCommands=SetSubtitleStreamIndex&supportedCommands=SetAudioStreamIndex&supportedCommands=DisplayMessage&supportedCommands=SendString&supportedCommands=VolumeUp&supportedCommands=VolumeDown&supportedCommands=SetVolume&supportedCommands=Mute&supportedCommands=Unmute&supportedCommands=ToggleMute&supportsMediaControl=true&supportsPersistentIdentifier=true 06-23 21:02:55.998 E/SocketHandler(17317): Unable to update capabilities 06-23 21:02:55.998 E/SocketHandler(17317): org.jellyfin.sdk.api.client.exception.InvalidStatusException: Invalid HTTP status in response: 502 06-23 21:02:55.998 E/SocketHandler(17317): at org.jellyfin.sdk.api.ktor.KtorClient.request(KtorClient.kt:146) 06-23 21:02:55.998 E/SocketHandler(17317): at org.jellyfin.sdk.api.ktor.KtorClient$request$1.invokeSuspend(Unknown Source:19) 06-23 21:02:55.998 E/SocketHandler(17317): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 06-23 21:02:55.998 E/SocketHandler(17317): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) 06-23 21:02:55.998 E/SocketHandler(17317): at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113) 06-23 21:02:55.998 E/SocketHandler(17317): at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89) 06-23 21:02:55.998 E/SocketHandler(17317): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586) 06-23 21:02:55.998 E/SocketHandler(17317): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820) 06-23 21:02:55.998 E/SocketHandler(17317): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717) 06-23 21:02:55.998 E/SocketHandler(17317): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704) 06-23 21:02:56.010 D/gralloc (17317): mali_gralloc_select_format: req_format=0x00000001, usage=0x20000b00, req_base_format=0x1, alloc_format=0x8700000001, internal_format=0x8700000001 06-23 21:02:56.015 D/WM-GreedyScheduler(17317): Starting work for d742e2ce-3265-42a8-a284-45a1ac767762 06-23 21:02:56.018 D/WM-SystemJobService(17317): onStartJob for WorkGenerationalId(workSpecId=d742e2ce-3265-42a8-a284-45a1ac767762, generation=0) 06-23 21:02:56.019 D/NavigationRepositoryImpl(17317): Navigating to Fragment(fragment=class org.jellyfin.androidtv.ui.home.HomeFragment (Kotlin reflection is not available), arguments=Bundle[{}]) (via reset, clearHistory=true) 06-23 21:02:56.019 D/StartupActivity(17317): Opening next activity Intent { flg=0x10004000 cmp=org.jellyfin.androidtv/.ui.browsing.MainActivity } 06-23 21:02:56.026 D/WM-Processor(17317): Processor: processing WorkGenerationalId(workSpecId=d742e2ce-3265-42a8-a284-45a1ac767762, generation=0) 06-23 21:02:56.029 D/WM-Processor(17317): Work WorkGenerationalId(workSpecId=d742e2ce-3265-42a8-a284-45a1ac767762, generation=0) is already enqueued for processing 06-23 21:02:56.058 D/WM-WorkerWrapper(17317): Starting work for org.jellyfin.androidtv.integration.LeanbackChannelWorker 06-23 21:02:56.060 I/org.jellyfin.sdk.api.ktor.KtorClient(17317): GET https://mydomain.net/Shows/NextUp?limit=10&fields=DateCreated&imageTypeLimit=1&enableTotalRecordCount=true&disableFirstEpisode=false&enableResumable=false&enableRewatching=false 06-23 21:02:56.060 I/org.jellyfin.sdk.api.ktor.KtorClient(17317): GET https://mydomain.net/UserItems/Resume?limit=10&fields=DateCreated&mediaTypes=Video&imageTypeLimit=1&includeItemTypes=Episode&includeItemTypes=Movie&enableTotalRecordCount=true&enableImages=true&excludeActiveSessions=true 06-23 21:02:56.061 D/ACRA (17317): onActivityPaused class org.jellyfin.androidtv.ui.startup.StartupActivity 06-23 21:02:56.061 V/io.ktor.client.plugins.HttpPlainText(17317): Adding Accept-Charset=UTF-8 to https://mydomain.net/Shows/NextUp?limit=10&fields=DateCreated&imageTypeLimit=1&enableTotalRecordCount=true&disableFirstEpisode=false&enableResumable=false&enableRewatching=false 06-23 21:02:56.061 V/io.ktor.client.plugins.HttpPlainText(17317): Adding Accept-Charset=UTF-8 to https://mydomain.net/UserItems/Resume?limit=10&fields=DateCreated&mediaTypes=Video&imageTypeLimit=1&includeItemTypes=Episode&includeItemTypes=Movie&enableTotalRecordCount=true&enableImages=true&excludeActiveSessions=true 06-23 21:02:56.073 V/io.ktor.client.plugins.HttpCallValidator(17317): Validating response for request https://mydomain.net/UserItems/Resume?limit=10&fields=DateCreated&mediaTypes=Video&imageTypeLimit=1&includeItemTypes=Episode&includeItemTypes=Movie&enableTotalRecordCount=true&enableImages=true&excludeActiveSessions=true 06-23 21:02:56.073 V/io.ktor.client.plugins.DefaultResponseValidation(17317): Skipping default response validation for https://mydomain.net/UserItems/Resume?limit=10&fields=DateCreated&mediaTypes=Video&imageTypeLimit=1&includeItemTypes=Episode&includeItemTypes=Movie&enableTotalRecordCount=true&enableImages=true&excludeActiveSessions=true 06-23 21:02:56.076 W/ActivityThread(17317): handleWindowVisibility: no activity for token android.os.BinderProxy@c451cfb 06-23 21:02:56.078 V/io.ktor.client.plugins.HttpCallValidator(17317): Processing exception java.util.concurrent.CancellationException: Parent job is Cancelling for request https://mydomain.net/Shows/NextUp?limit=10&fields=DateCreated&imageTypeLimit=1&enableTotalRecordCount=true&disableFirstEpisode=false&enableResumable=false&enableRewatching=false 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): SDK error, trying again later 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): org.jellyfin.sdk.api.client.exception.InvalidStatusException: Invalid HTTP status in response: 502 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at org.jellyfin.sdk.api.ktor.KtorClient.request(KtorClient.kt:146) 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at org.jellyfin.sdk.api.ktor.KtorClient$request$1.invokeSuspend(Unknown Source:19) 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113) 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89) 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586) 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820) 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717) 06-23 21:02:56.081 E/LeanbackChannelWorker(17317): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704) 06-23 21:02:56.082 I/ActivityThemeExtensionsKt(17317): Applying theme EMERALD 06-23 21:02:56.083 D/ACRA (17317): onActivityCreated class org.jellyfin.androidtv.ui.browsing.MainActivity 06-23 21:02:56.093 D/ACRA (17317): onActivityStarted class org.jellyfin.androidtv.ui.browsing.MainActivity 06-23 21:02:56.106 I/org.jellyfin.sdk.api.ktor.KtorClient(17317): GET https://mydomain.net/UserViews?includeHidden=false 06-23 21:02:56.108 V/io.ktor.client.plugins.HttpPlainText(17317): Adding Accept-Charset=UTF-8 to https://mydomain.net/UserViews?includeHidden=false 06-23 21:02:56.111 I/HomeRowsFragment(17317): Updating audio queue in HomeFragment (onQueueStatusChanged) 06-23 21:02:56.114 I/org.jellyfin.sdk.api.ktor.KtorClient(17317): GET https://mydomain.net/Branding/Configuration 06-23 21:02:56.115 V/io.ktor.client.plugins.HttpPlainText(17317): Adding Accept-Charset=UTF-8 to https://mydomain.net/Branding/Configuration 06-23 21:02:56.116 D/ACRA (17317): onActivityResumed class org.jellyfin.androidtv.ui.browsing.MainActivity 06-23 21:02:56.121 I/HomeRowsFragment(17317): Updating audio queue in HomeFragment (onResume) 06-23 21:02:56.122 D/org.jellyfin.sdk.api.sockets.DefaultSocketApi(17317): Subscription count changed to 14 06-23 21:02:56.122 V/io.ktor.client.plugins.HttpCallValidator(17317): Validating response for request https://mydomain.net/UserViews?includeHidden=false 06-23 21:02:56.123 V/io.ktor.client.plugins.DefaultResponseValidation(17317): Skipping default response validation for https://mydomain.net/UserViews?includeHidden=false 06-23 21:02:56.123 D/org.jellyfin.sdk.api.sockets.DefaultSocketApi(17317): Subscription count changed to 15 06-23 21:02:56.135 E/ACRA (17317): ACRA caught a InvalidStatusException for org.jellyfin.androidtv 06-23 21:02:56.135 E/ACRA (17317): org.jellyfin.sdk.api.client.exception.InvalidStatusException: Invalid HTTP status in response: 502 06-23 21:02:56.135 E/ACRA (17317): at org.jellyfin.sdk.api.ktor.KtorClient.request(KtorClient.kt:146) 06-23 21:02:56.135 E/ACRA (17317): at org.jellyfin.sdk.api.ktor.KtorClient$request$1.invokeSuspend(Unknown Source:19) 06-23 21:02:56.135 E/ACRA (17317): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 06-23 21:02:56.135 E/ACRA (17317): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) 06-23 21:02:56.135 E/ACRA (17317): at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113) 06-23 21:02:56.135 E/ACRA (17317): at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89) 06-23 21:02:56.135 E/ACRA (17317): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586) 06-23 21:02:56.135 E/ACRA (17317): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820) 06-23 21:02:56.135 E/ACRA (17317): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717) 06-23 21:02:56.135 E/ACRA (17317): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704) 06-23 21:02:56.135 E/ACRA (17317): Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@ddfa89e, Dispatchers.IO] 06-23 21:02:56.140 D/ACRA (17317): Building report 06-23 21:02:56.143 I/WM-WorkerWrapper(17317): Worker result RETRY for Work [ id=d742e2ce-3265-42a8-a284-45a1ac767762, tags={ org.jellyfin.androidtv.integration.LeanbackChannelWorker } ] 06-23 21:02:56.149 D/ACRA (17317): Starting collectors with priority FIRST 06-23 21:02:56.154 D/ACRA (17317): Calling collector org.acra.collector.DropBoxCollector 06-23 21:02:56.154 D/ACRA (17317): Collector org.acra.collector.DropBoxCollector completed 06-23 21:02:56.156 D/ACRA (17317): Calling collector org.acra.collector.LogCatCollector 06-23 21:02:56.160 D/ACRA (17317): Calling collector org.acra.collector.StacktraceCollector 06-23 21:02:56.161 D/ACRA (17317): Collector org.acra.collector.StacktraceCollector completed 06-23 21:02:56.179 D/ACRA (17317): Retrieving logcat output (buffer:default)... 06-23 21:02:56.193 D/mali_winsys(17317): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 06-23 21:02:56.236 E/libc (18118): Access denied finding property "persist.vendor.system.svp.dbg.loglevel" ``` ### App information ***App version***: `0.18.8` (`180899`) ***Package name***: `org.jellyfin.androidtv` ***Build***: ```json {"BOARD":"mt5893","BOOTLOADER":"unknown","BRAND":"Sony","CPU_ABI":"armeabi-v7a","CPU_ABI2":"armeabi","DEVICE":"BRAVIA_UR3","DISPLAY":"BRAVIA_UR3_EU-user 10 QTG3.200305.006.S73 661801 release-keys","FINGERPRINT":"Sony\/BRAVIA_UR3_EU\/BRAVIA_UR3:10\/QTG3.200305.006.S73\/661801:user\/release-keys","HARDWARE":"mt5893","HOST":"BuildHost710","ID":"QTG3.200305.006.S73","IS_DEBUGGABLE":false,"IS_EMULATOR":false,"MANUFACTURER":"Sony","MODEL":"BRAVIA 4K UR3","PERMISSIONS_REVIEW_REQUIRED":true,"PRODUCT":"BRAVIA_UR3_EU","RADIO":"unknown","SUPPORTED_32_BIT_ABIS":["armeabi-v7a","armeabi"],"SUPPORTED_64_BIT_ABIS":[],"SUPPORTED_ABIS":["armeabi-v7a","armeabi"],"TAGS":"release-keys","TIME":1734470276000,"TYPE":"user","UNKNOWN":"unknown","USER":"root","VERSION":{"ACTIVE_CODENAMES":[],"BASE_OS":"","CODENAME":"REL","FIRST_SDK_INT":28,"INCREMENTAL":"661801","PREVIEW_SDK_FINGERPRINT":"REL","PREVIEW_SDK_INT":0,"RELEASE":"10","RESOURCES_SDK_INT":29,"SDK":"29","SDK_INT":29,"SECURITY_PATCH":"2024-12-01"}} ``` ***Build config***: ```json {"APPLICATION_ID":"org.jellyfin.androidtv","BUILD_TYPE":"release","DEBUG":false,"DEVELOPMENT":false,"VERSION_CODE":180899,"VERSION_NAME":"0.18.8"} ``` ### Device information ***Android version***: `10` ***Device brand***: `Sony` ***Device product***: `BRAVIA_UR3_EU` ***Device model***: `BRAVIA 4K UR3` ### Crash information ***Start time***: `2025-06-23T20:13:54.563+02:00` ***Crash time***: `2025-06-23T21:02:56.362+02:00`