rodainas 191 Posted September 3, 2021 Posted September 3, 2021 I use a remote server, one problem with the androidtv/firetv app, is that it wont load the fanart, thumbs (as background images), sometimes it loads one or two and thats all, on the these client, I think the problem is that the timeout for loading the images it too low. The images loads perfectly on all other apps, emby for ios, emby android mobile, emby samsung tv, emby theater, emby web, kodi embycon/embynext gen. Could you turn up the timeout setting for image loading on emby for androidtv/firetv app, or maybe using the same timeout amount as the other clients? 1
ebr 16169 Posted September 4, 2021 Posted September 4, 2021 Hi. Can you please reproduce and then send a log from the app? Thanks.
rodainas 191 Posted September 4, 2021 Author Posted September 4, 2021 3 hours ago, ebr said: Hi. Can you please reproduce and then send a log from the app? Thanks. Log send 11:52 AM utc - 5 user: Eduardo
ebr 16169 Posted September 4, 2021 Posted September 4, 2021 Hi. The image loads are timing out. Are you on an extremely slow connection?
rodainas 191 Posted September 4, 2021 Author Posted September 4, 2021 (edited) 38 minutes ago, ebr said: Hi. The image loads are timing out. Are you on an extremely slow connection? No, my connection is 250mbit and I can stream 4k files with no buffer interruption from my server, the app is just too strict/intolerant with the timeout limit for loading images on a remote server with certain latency. The problem is the timeout limit on the android/firetv app, the limit is too low. I know this because all the images loads correctly on all the other apps I mentioned (emby for ios, emby android mobile, emby samsung tv, emby theater, emby web, kodi embycon/embynext gen). You can try the exercise I suggested, compare the timeout limit on androidtv/fire app with any of the other apps I mentioned, those app should have a higher timeout limit. Edited September 4, 2021 by rodainas
Luke 42077 Posted September 5, 2021 Posted September 5, 2021 @rodainas can you please attach the emby server log as well? Is the connection over https? 1
rodainas 191 Posted September 5, 2021 Author Posted September 5, 2021 1 hour ago, Luke said: @rodainas can you please attach the emby server log as well? Is the connection over https? Thanks Yes its over https. I will attach it as soon as I reproduce the problem.
rodainas 191 Posted September 6, 2021 Author Posted September 6, 2021 @Luke As I was going to reproduce, the app is now showing all the fanart background images, that’s good news, but it is confusing because nor the apps nor the server was updated.
ebr 16169 Posted September 6, 2021 Posted September 6, 2021 Perhaps it was taking a really long time to cache these images on your server... BTW - we don't specify any specific timeout for the image loads. The Android image library we use is just using its default there which seems to be reasonable for the majority of situations. 1
rodainas 191 Posted September 6, 2021 Author Posted September 6, 2021 3 minutes ago, ebr said: Perhaps it was taking a really long time to cache these images on your server... BTW - we don't specify any specific timeout for the image loads. The Android image library we use is just using its default there which seems to be reasonable for the majority of situations. Thank you ebr for the explanation, it makes sense.
rodainas 191 Posted September 18, 2021 Author Posted September 18, 2021 @ebr @Luke Problem returned to the client. Attaching server log. I navigated through some items and for the majority of fanart I get a 500 response on the firetv client. And then navigated with the emby for ios (using same wifi connection) all images showed up, response 200, 204. I repeat this only happens with the firetv/adnroidtv clients. All the other clients shows the images perfectly. embyserver.txt
ebr 16169 Posted September 18, 2021 Posted September 18, 2021 You get a 500 where? I don't see one in your log - except for the smart playlists plug-in. Probably unrelated, but just to eliminate, can you uninstall smart playlists, dvd folder and bd folder plug-ins?
rodainas 191 Posted September 18, 2021 Author Posted September 18, 2021 1 hour ago, ebr said: You get a 500 where? I don't see one in your log - except for the smart playlists plug-in. Probably unrelated, but just to eliminate, can you uninstall smart playlists, dvd folder and bd folder plug-ins? Sure Will do and report back. 500 here, the latest on the log are 200 because after trying the firetv I tried the ios app just to make the contrast between the 2 responses, but here is an example of the 500 one: 2021-09-18 00:33:24.277 Info Server: http/1.1 Response 500 to client. Time: 2435ms. http://server/emby/Items/10870492/Images/Backdrop/0?MaxWidth=1920&Tag=a78c376666edf8512bf606db49fc2fd4&EnableImageEnhancers=true&Accept=webp 2021-09-18 00:34:10.383 Info Server: http/1.1 GET http://server/emby/Items/9165367/Images/Backdrop/0?MaxWidth=1920&Tag=05f1f01f25787bed51f2b85ef3811e70&EnableImageEnhancers=true&Accept=webp. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.1.2; AFTMM Build/NS6271)
ebr 16169 Posted September 18, 2021 Posted September 18, 2021 That's pretty strange. It is returning a 500 but there is no error preceding that (which is why I didn't see them in the log).
rodainas 191 Posted September 18, 2021 Author Posted September 18, 2021 Ok I uninstalled the plugins, restarted the server. Same resultts the majority of fanart doesn't load and a couple of landscape posters on the home page. Checking the logs after that the server is reporting 200 response. But when cheking the access logs of nginx is reporting error 499 with the fanart that doesn't load up. 186.72.211.21 - - [18/Sep/2021:12:48:21 -0500] "GET /emby/Items/10870247/Images/Backdrop/0?MaxWidth=1920&Tag=208318b844b479b4d7f6f3fbf05b3124&EnableImageEnhancers=true&Accept=webp HTTP/1.1" 499 0 "-" "Dalvik/2.1.0 (Linux; U; Android 7.1.2; AFTMM Build/NS6271)" About 499 error code: 499 is just an internal server code that indicates that before processing the request and receiving the reply, the client closed the connection. Attaching the new embyserver log here. I don't understand is why this only happens with the androidtv/firetv client. embyserver.txt
ebr 16169 Posted September 18, 2021 Posted September 18, 2021 3 minutes ago, rodainas said: I don't understand is why this only happens with the androidtv/firetv client Well, at this time, it is the only one using that specific Android image loading library but that may or may not be why.
ebr 16169 Posted September 18, 2021 Posted September 18, 2021 If you eliminate the reverse proxy, is there still an issue?
rodainas 191 Posted September 18, 2021 Author Posted September 18, 2021 5 minutes ago, ebr said: If you eliminate the reverse proxy, is there still an issue? Yes I tried without nginx, same results. Another log here are some mixed 200 and 500 responses. embyserver (1).txt
ebr 16169 Posted September 18, 2021 Posted September 18, 2021 We'll need Luke's help to determine how the server is throwing a 500 with no further information.
rodainas 191 Posted September 18, 2021 Author Posted September 18, 2021 35 minutes ago, ebr said: We'll need Luke's help to determine how the server is throwing a 500 with no further information. Thank you. I kept watching the nginx access logs, and with all the other apps it gets 200 response code for the images. The only one giving the 499 response code (client closed connection) is the androidtv client.
rodainas 191 Posted September 20, 2021 Author Posted September 20, 2021 @Luke Any ideas, maybe something I can try with this?
Luke 42077 Posted September 20, 2021 Posted September 20, 2021 Can you try sideloading our standard android app on the same device and see how that compares? https://emby.media/emby-for-android.html Thanks.
rodainas 191 Posted September 20, 2021 Author Posted September 20, 2021 1 hour ago, Luke said: Can you try sideloading our standard android app on the same device and see how that compares? https://emby.media/emby-for-android.html Thanks. Works perfectly, every image loads correctly on this one.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now