BeNe 1 Posted June 6, 2019 Posted June 6, 2019 Hello Emby Community, the Android Mobile App doesn´t work from external in my case. The App Emby for Android works fine at home in my local wifi network. If i disable my wifi on the smartphone and connect over 4G to my emby Server - i can connect successfully and see all media files. But the music doesn´t play. The Tracks are skipped all very fast. If i use instead my browser on the smartphone (also from external over 4G) - all works as expected and i can hear music. Seems there is something different with the app. I have a HAProxy in Front of Emby that handle the SSLCetificate. Switched over to Port 443 from external. I would to check the Logs on the smartphone - but there exist no log directory. Do i need to enable that option ? Here is the Server Log: 2019-06-06 11:50:02.451 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=00e6b1ff67d0cfb65ba8825631fe1b94. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-06 11:50:02.452 Info HttpServer: HTTP Response 200 to 109.41.192.228. Time: 1ms. http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=00e6b1ff67d0cfb65ba8825631fe1b94 2019-06-06 11:50:02.527 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=f137a2dd21bbc1b99aa5c0f6bf02a805. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-06 11:50:02.529 Info HttpServer: HTTP Response 200 to 109.41.192.228. Time: 2ms. http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=f137a2dd21bbc1b99aa5c0f6bf02a805 2019-06-06 11:50:02.530 Info HttpServer: HTTP GET http://172.16.17.24:8096/emby/ScheduledTasks?IsEnabled=true. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36 2019-06-06 11:50:02.533 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=30&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=7e64e319657a9516ec78490da03edccb. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-06 11:50:02.566 Info HttpServer: HTTP Response 200 to 109.41.192.228. Time: 33ms. http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=30&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=7e64e319657a9516ec78490da03edccb 2019-06-06 11:50:02.568 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=c5e7eb27cf7d2b500e9eac8e08b771bb. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-06 11:50:02.569 Info HttpServer: HTTP Response 200 to 109.41.192.228. Time: 1ms. http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=c5e7eb27cf7d2b500e9eac8e08b771bb 2019-06-06 11:50:02.610 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=4f68b8a11a0f4cf15ef47beaadf02650. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-06 11:50:02.611 Info HttpServer: HTTP Response 200 to 109.41.192.228. Time: 1ms. http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=4f68b8a11a0f4cf15ef47beaadf02650 2019-06-06 11:50:05.055 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/System/Endpoint. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-06 11:50:05.055 Info HttpServer: HTTP Response 200 to 109.41.192.228. Time: 0ms. http://media.my-domain.tld:8096/emby/System/Endpoint 2019-06-06 11:50:05.131 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Playback/BitrateTest?Size=500000. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-06 11:50:05.184 Info HttpServer: HTTP Response 200 to 109.41.192.228. Time: 53ms. http://media.my-domain.tld:8096/emby/Playback/BitrateTest?Size=500000 2019-06-06 11:50:05.220 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Playback/BitrateTest?Size=1000000. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 The HTTP Respone from http://media.my-domain.tld:8096 is correct ? Without https and port 443 instead in my case ? I´m on Emby Version 4.1.1.0 on Linux Debian 9. Smartphone is a Google Pixel 2 with Emby for Android 3.0.48 Is there anything else that i can provide ? Thank you!
BeNe 1 Posted June 8, 2019 Author Posted June 8, 2019 No, video does also not work. Here is the Log for the last video test. 2019-06-08 12:06:00.312 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Items/54430/Images/Primary?maxWidth=410&tag=89b4676f4a49a507a56cc61f68231fb7&quality=40. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-08 12:06:00.313 Info HttpClient: GET https://image.tmdb.org/t/p/original/kfPRkNXKhcD3ufp0XMrjkQONFoT.jpg 2019-06-08 12:06:00.406 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 258ms. http://media.my-domain.tld:8096/emby/Items/24/Images/Backdrop/0?maxWidth=1922&tag=f5f9263eb1a9618f8cbb9a919000a5ed&quality=50 2019-06-08 12:06:00.508 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 269ms. http://media.my-domain.tld:8096/emby/Items/54429/Images/Primary?maxWidth=410&tag=1869cbcaa4bc20f7ad32f8bae32edfed&quality=40 2019-06-08 12:06:00.683 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 430ms. http://media.my-domain.tld:8096/emby/Items/54431/Images/Primary?maxWidth=410&tag=f00399280aae7db9159c17da8e01a9aa&quality=40 2019-06-08 12:06:00.688 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 376ms. http://media.my-domain.tld:8096/emby/Items/54430/Images/Primary?maxWidth=410&tag=89b4676f4a49a507a56cc61f68231fb7&quality=40 2019-06-08 12:06:00.738 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 526ms. http://media.my-domain.tld:8096/emby/Items/54428/Images/Primary?maxWidth=410&tag=1dbeb2e3f4ddbd1c3637ba2292ea4db8&quality=40 2019-06-08 12:06:00.906 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Items/54432/Images/Primary?maxWidth=410&tag=a0222edd9e4d365b59e17dd755ee11f2&quality=40. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-08 12:06:00.907 Info HttpClient: GET https://image.tmdb.org/t/p/original/8BABD0pjhefIFpKEZwNnLrkn0wl.jpg 2019-06-08 12:06:01.044 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 138ms. http://media.my-domain.tld:8096/emby/Items/54432/Images/Primary?maxWidth=410&tag=a0222edd9e4d365b59e17dd755ee11f2&quality=40 2019-06-08 12:06:04.025 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/24/Intros. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-08 12:06:04.026 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 0ms. http://media.my-domain.tld:8096/emby/Users/924496f6e6b549bd813a68e6d611c59d/Items/24/Intros 2019-06-08 12:06:04.098 Info HttpServer: HTTP POST http://media.my-domain.tld:8096/emby/Items/24/PlaybackInfo?UserId=924496f6e6b549bd813a68e6d611c59d&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=2&MediaSourceId=8d67ef913888f6b25f53ed4c1566106a&MaxStreamingBitrate=105117. UserAgent: Mozilla/5.0 (Linux; Android 9; Pixel 2 Build/PQ3A.190605.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.67 Mobile Safari/537.36 2019-06-08 12:06:04.112 Info App: User policy for BeNe. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2019-06-08 12:06:04.112 Info App: Bitrate exceeds DirectStream limit: media bitrate: 5506654, max bitrate: 105117 2019-06-08 12:06:04.112 Info App: Profile: Unnamed, Path: /mnt/Video/one-of-my-movies/my-movie.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False 2019-06-08 12:06:04.112 Info App: Bitrate exceeds DirectStream limit: media bitrate: 5506654, max bitrate: 105117 2019-06-08 12:06:04.112 Info App: Profile: Unnamed, Path: /mnt/Video/one-of-my-movies/my-movie.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False 2019-06-08 12:06:04.112 Info App: Bitrate exceeds DirectStream limit: media bitrate: 5506654, max bitrate: 105117 2019-06-08 12:06:04.112 Info App: Profile: Unnamed, Path: /mnt/Video/one-of-my-movies/my-movie.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False 2019-06-08 12:06:04.112 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 14ms. http://media.my-domain.tld:8096/emby/Items/24/PlaybackInfo?UserId=924496f6e6b549bd813a68e6d611c59d&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=2&MediaSourceId=8d67ef913888f6b25f53ed4c1566106a&MaxStreamingBitrate=105117 2019-06-08 12:06:04.326 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Items/24/Images/Primary?tag=9e25476e1605ea38c647861295666d24&quality=90. UserAgent: Dalvik/2.1.0 (Linux; U; Android 9; Pixel 2 Build/PQ3A.190605.003) 2019-06-08 12:06:04.328 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 1ms. http://media.my-domain.tld:8096/emby/Items/24/Images/Primary?tag=9e25476e1605ea38c647861295666d24&quality=90 2019-06-08 12:06:04.858 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Items/24/Images/Primary?tag=9e25476e1605ea38c647861295666d24&quality=90. UserAgent: Dalvik/2.1.0 (Linux; U; Android 9; Pixel 2 Build/PQ3A.190605.003) 2019-06-08 12:06:04.859 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 0ms. http://media.my-domain.tld:8096/emby/Items/24/Images/Primary?tag=9e25476e1605ea38c647861295666d24&quality=90 2019-06-08 12:06:05.441 Info HttpServer: HTTP GET http://media.my-domain.tld:8096/emby/Items/24/Images/Primary?tag=9e25476e1605ea38c647861295666d24&quality=90. UserAgent: Dalvik/2.1.0 (Linux; U; Android 9; Pixel 2 Build/PQ3A.190605.003) 2019-06-08 12:06:05.442 Info HttpServer: HTTP Response 200 to 109.41.193.191. Time: 0ms. http://media.my-domain.tld:8096/emby/Items/24/Images/Primary?tag=9e25476e1605ea38c647861295666d24&quality=90 2019-06-08 12:06:09.113 Info HttpServer: HTTP GET http://172.16.17.24:8096/emby/System/Logs/Log?name=embyserver.txt. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Luke 40065 Posted June 13, 2019 Posted June 13, 2019 Can you please try this version: https://www.dropbox.com/s/9am2hgfcj403j8d/MediaBrowser.Mobile-googlearmv7-release.apk?dl=0 And then provide a log from the app: https://emby.media/community/index.php?/topic/15638-how-to-report-an-android-problem/ Thanks.
Solution BeNe 1 Posted June 14, 2019 Author Solution Posted June 14, 2019 I got it! The HAProxy in front does only work fine with HTTP packets and send the external source ip. If no http package - the proxy does a NAT and send the internal IP-Adresse (172.16.17.254) from the HAProxy to the Emby Server. Of course, the emby mean's it is a internal Client. So the way back doesn't work. Seems i have to forward the Port 8096 directly. Thanks for your help! 1
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