# Disconnecting issues with Emby server behind reverse proxy

**URL:** <http://support.symfonium.app/t/disconnecting-issues-with-emby-server-behind-reverse-proxy/410>\
**Category:** Support\
**Tags:** handled\
**Created:** [May 9, 2022, 9:35am UTC](http://support.symfonium.app/t/disconnecting-issues-with-emby-server-behind-reverse-proxy/410 "2022-05-09T09:35:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wedgekc](http://support.symfonium.app/letter_avatar_proxy/v4/letter/w/82dd89/32.png) [@wedgekc](http://support.symfonium.app/u/wedgekc)\
**Post date:** [May 9, 2022, 9:35am UTC](http://support.symfonium.app/t/disconnecting-issues-with-emby-server-behind-reverse-proxy/410/1 "2022-05-09T09:35:03Z")

</div>

## Issue description:

Initially, the links to artists and albums work from the now playing screen and menu items to artists and albums also work. The problem occurs after playing music and the phone screen turns off, approximately 10 minutes (The app has no battery restrictions in Android) The issue produces one of the three included screenshots. I believe it also prevents more tracks from being added to the queue automatically.

Reverse proxy is traefik (2.5.6) and I haven’t had any issues with the Emby app.

 ![disconnected and shortcut does not show tracks or albums](http://support.symfonium.app/uploads/default/original/1X/e9f5acab2e05acbb8f3ec6eb43a555fe247b3303.jpeg)  
 ![dissconected with option to reconnect](http://support.symfonium.app/uploads/default/original/1X/c2fbc2a12259f4637873733c8da741aec894b958.jpeg)  
 ![When disconnected goto Artist and Album not shown in menu](http://support.symfonium.app/uploads/default/original/1X/79b22ef4cbe229e7214ba802ab843d7253e4a5e8.jpeg)

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [May 9, 2022, 10:00am UTC](http://support.symfonium.app/t/disconnecting-issues-with-emby-server-behind-reverse-proxy/410/2 "2022-05-09T10:00:41Z")

</div>

The received logs does not show anything it’s just a few seconds here and there.

But 10 mins offscreen issue is very certainly something like [https://www.quora.com/How-do-I-solve-the-issue-of-mobile-data-turning-off-10-minutes-after-the-Redmi-4A’s-screen-locks](https://www.quora.com/How-do-I-solve-the-issue-of-mobile-data-turning-off-10-minutes-after-the-Redmi-4A%E2%80%99s-screen-locks)

In all cases I need logs when this happen to be able to see anything.

---

<div class="post-metadata">

**Author:** ![wedgekc](http://support.symfonium.app/letter_avatar_proxy/v4/letter/w/82dd89/32.png) [@wedgekc](http://support.symfonium.app/u/wedgekc)\
**Post date:** [May 9, 2022, 3:12pm UTC](http://support.symfonium.app/t/disconnecting-issues-with-emby-server-behind-reverse-proxy/410/3 "2022-05-09T15:12:14Z")

</div>

Sent a link with the entire log. I don’t think it is the screen off issue as the app has no battery restrictions and music continues to play/download. I also don’t have issues with playing music with the same settings on the Emby app.

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [May 9, 2022, 3:51pm UTC](http://support.symfonium.app/t/disconnecting-issues-with-emby-server-behind-reverse-proxy/410/4 "2022-05-09T15:51:35Z")

</div>

The logs are strange

```auto
2022-05-09 20:18:06.070 Verbose/EmbyLogger: --> [673] GET https://REDACTED/Users/33fa9957c8d442669a97202ba398ce9c/Items?Recursive=true&IncludeItemTypes=Audio,AudioBook&ParentId=7e64e319657a9516ec78490da03edccb&ExcludeLocationTypes=Virtual&Fields=Genres,SortName,Path,RunTimeTicks,DateCreated,ProductionYear,CommunityRating&startIndex=6000&limit=2000&UserId=33fa9957c8d442669a97202ba398ce9c
2022-05-09 20:18:06.119 Verbose/EmbyLogger: <-- [673] 200 https://REDACTED/Users/33fa9957c8d442669a97202ba398ce9c/Items?Recursive=true&IncludeItemTypes=Audio,AudioBook&ParentId=7e64e319657a9516ec78490da03edccb&ExcludeLocationTypes=Virtual&Fields=Genres,SortName,Path,RunTimeTicks,DateCreated,ProductionYear,CommunityRating&startIndex=6000&limit=2000&UserId=33fa9957c8d442669a97202ba398ce9c (547ms, unknown-length body)
2022-05-09 20:25:50.892 Verbose/Emby: Settings: REDACTED@443 true (0/1/0/0)
2022-05-09 20:25:50.901 Verbose/Logger: Information: surya_tr/surya/30/11/M2007J20CG/POCO/0/true/92/126/70
2022-05-09 20:25:50.903 Verbose/Emby: Check if Music needs sync
2022-05-09 20:25:50.904 Verbose/Logger: Information: 1.2.0 (604[arm64-v8a,armeabi-v7a,armeabi]) - DisplayMetrics{density=2.75, width=1080, height=2265, scaledDensity=2.75, xdpi=391.885, ydpi=395.844} - 1.0 (en_US)  
2022-05-09 20:25:50.913 Verbose/Logger: Previous exit reason: 13/300 - SwipeUpClean [2022-05-09 20:25:28.134]

```

The sync is stopped in the middle without anything going on for 7 minutes this can’t happen unless the points I pointed you earlier on don’t kill my app are in cause.

But the logs also says that you swipe up the app to kill it. Why? Is the app no more responsive what is happening at that time?

At the same time there seems to be an issue with the auto sync that want to sync due to mismatching data while it should not. It’s caused by Emby having multiple media created at the exact same time due to your server not taking milliseconds on account for whatever reason.

Do you think you can give me an access to your server and the library part that contains " /mnt/Data/Music/Flac/Cannons/" ? That would help to figure out how to properly fix that detection problem and probably to reproduce the other issue you have with time report.
