Jump to content


Photo

Emby Server Connection and Restart Failure After Media Library Browsing

Connection Failure Cant Restart Server Windows Server 2016 Emby Theater Windows 7 Android app

  • Please log in to reply
43 replies to this topic

#1 larsonDigital OFFLINE  

larsonDigital

    Advanced Member

  • Members
  • 74 posts
  • Local time: 01:04 PM

Posted 06 August 2018 - 07:52 PM

Suddenly the Emby Media Server seems to have a problem.  Both my Emby apps (Windows 7 Emby Theater and Android app) say,

 

"Connection Failure: We're unable to connect to the selected server right now.  Please ensure it is running and try again."

 

On the server (Windows Server 2016 Standard), I right-click on Emby Server in the task tray and click "Restart Emby Server," but Emby Tray says,

 

"Unable to restart server."

 

In the Task Manager on the server, I can kill the Electron processes (two of them) or embytray.exe [Details tab] (two of them), and start the server again from the Start Menu > Emby > Emby Server.  This works temporarily, but now we get to the where the problem started I think,  If I launch Emby Theater (Windows 7) again and start scrolling down through Albums (as I was doing to see if all the album covers artwork was there), I get about half way through my Albums and suddenly no more album artwork is displayed, only titles/artists.  I click on one to see if it will bring up the album, and suddenly Emby Theater can't connect again.  This seems to start the whole process over.  I go back to the server and can't restart it; I have to kill it, and then restart it.  I'm not sure what's going on now.  Can anybody help please?

 

I have attached the server log, if that helps.

 

Thanks,

James

Attached Files



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131593 posts
  • Local time: 04:04 PM

Posted 06 August 2018 - 11:38 PM

Is EmbyServer.exe still running?



#3 larsonDigital OFFLINE  

larsonDigital

    Advanced Member

  • Members
  • 74 posts
  • Local time: 01:04 PM

Posted 07 August 2018 - 10:15 AM

Hi Luke, thanks for getting back to me!

 

When the connection failure first starts, EmbyServer.exe is running.  After a couple of minutes or so, it seems to crash.  Restarting it does not solve the problem.  I still have to kill the two tray processes in order to get the connection back.  I also noticed that I can't kill the EmbyServer.exe task.  I get "Unable to terminate process.  The operation could not be completed.  Access is denied."  I have to wait until it crashes itself in order to restart the server.  Attached are logs from when I tested this out this morning.

 

Thanks Luke!

James

Attached Files



#4 JoeWar OFFLINE  

JoeWar

    Member

  • Members
  • 14 posts
  • Local time: 10:04 PM

Posted 07 August 2018 - 04:18 PM

Hello,

I’m running the Emby server on Win10 and experience the same problem as described above. It has likely started with some of the last builds including last beta. Some libraries do not include all the artworks and displaying those results in a server crash. I tried to rebuild affected libraries without success as the server seems to have troubles appending artworks. See my log attached.

 

Thx for any advise

Josef

Attached Files


Edited by JoeWar, 07 August 2018 - 04:21 PM.


#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131593 posts
  • Local time: 04:04 PM

Posted 07 August 2018 - 09:02 PM

Thank you for the report and for being a part of the testing team.

#6 larsonDigital OFFLINE  

larsonDigital

    Advanced Member

  • Members
  • 74 posts
  • Local time: 01:04 PM

Posted 10 August 2018 - 01:32 PM

Hey Luke, just touching base with you, is this still something you're working on?

 

Thanks,

James



#7 larsonDigital OFFLINE  

larsonDigital

    Advanced Member

  • Members
  • 74 posts
  • Local time: 01:04 PM

Posted 14 August 2018 - 01:54 PM

Just an update here ...

 

I'm not 100% positive, but I think this might be okay now!  :)   Some of my album artwork is coming up as just a black square, but it seems to be a minute few now.  And more importantly, Emby Server doesn't seem to be hanging and crashing when scrolling through or clicking on albums in the app.  My Emby Server is still on version 3.5.2.0, which I think is what it was when I started having the issue, but I'm not 100% on that either.  If there was not an update, then I don't know what changed.

 

Thanks,

James



#8 larsonDigital OFFLINE  

larsonDigital

    Advanced Member

  • Members
  • 74 posts
  • Local time: 01:04 PM

Posted 14 August 2018 - 08:22 PM

Shoot!  I may have spoken too soon.  Not long after I seemed to be navigating through my entire Music Library with ease, the Emby app hung up, just spinning and spinning, trying to connect to the server it seemed.  I finally restarted the Emby Server, but the Emby apps (both Android, and Windows 7 Emby Theater) are running quite slow; takes a while to do anything.  I did copy over more music (about 200GB worth), so maybe that is slowing it down today.  Luke, does it take a couple of days before adding that much media becomes readily accessable via the apps?

 

Thanks again,

James



#9 farsayl OFFLINE  

farsayl

    Newbie

  • Members
  • 1 posts
  • Local time: 04:04 PM

Posted 15 August 2018 - 03:37 PM

I'd like to add my two cents to this.

 

Recently had to set up my server again due to a system failure a couple months ago. Reinstalled Emby Server on Windows 10 and set it up to point to my libraries.

Library scan took a while and seemed to complete successfully. However not even two minutes after, the server was inaccessible and I couldn't restart it without stopping "electron.exe" from task manager. Even after restarting the server, I was unable to access the interface for more than about 30 seconds.

Tried this process multiple times, with several different configurations, with a full reinstall of Emby Server on the latest stable release (3.5.2) and also with the latest beta release (3.6.0.2).

 

I finally have the server working currently on the 3.6.0.2 beta with seemingly no issues by not adding my music library at all. Not sure what's going on, and unfortunately don't have log files after the full reinstall, just thought I'd offer up my experience here as well. Hope it helps!



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131593 posts
  • Local time: 04:04 PM

Posted 18 August 2018 - 01:20 AM

Is windows fully up to date?



#11 larsonDigital OFFLINE  

larsonDigital

    Advanced Member

  • Members
  • 74 posts
  • Local time: 01:04 PM

Posted 19 August 2018 - 09:21 AM

I'm running Windows Server 2016 Standard, which is on version 1607 (as opposed to Windows 10 which is currently on version 1803), so it's as up to date as it can get, except for this month's cumulative update (2018-08 Cumulative Update for Windows Server 2016 for x64-based Systems (KB4343887)) because I usually hold off a few weeks to install the very latest update.

 

Hope that helps,

James



#12 Crestj OFFLINE  

Crestj

    Advanced Member

  • Members
  • 589 posts
  • Local time: 09:04 PM
  • LocationColchester, England

Posted 05 September 2018 - 11:31 AM

+1 here.

 

Running Server 2016 on Emby 3.5.20. WIndows fully up to date.

 

Embyserver.exe seems to die and leave embytray.exe (x2) running.

 

Kill them off and restart and the server stay running for anything from 5 mins to a day (can't seem to tell what triggers it) then it happens again.

 

Can pass logs over if required.

 

Thought it might have something to do with enabling Intel Quick Sync for transcoding but I've gone back to "None" and it's still happening.


Edited by Crestj, 05 September 2018 - 11:33 AM.


#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131593 posts
  • Local time: 04:04 PM

Posted 05 September 2018 - 11:46 AM

Hi there, did you forget to attach the server log? thanks.



#14 Crestj OFFLINE  

Crestj

    Advanced Member

  • Members
  • 589 posts
  • Local time: 09:04 PM
  • LocationColchester, England

Posted 05 September 2018 - 11:53 AM

No, I didn't want to just spam logs at you if you had all you needed.

 

Here they are.

Attached Files

  • Attached File  Log.zip   9.24KB   5 downloads


#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131593 posts
  • Local time: 04:04 PM

Posted 05 September 2018 - 02:40 PM

You could try removing the Cover Art plugin and see if that has any impact. Thanks.



#16 JoeWar OFFLINE  

JoeWar

    Member

  • Members
  • 14 posts
  • Local time: 10:04 PM

Posted 12 September 2018 - 04:30 PM

Hi,

are there any chances that above described issue will be resolved any soon? My server has been offline due this problem for pretty long. In the meantime, I tried to reinstall the Emby server, but it seems to crash even faster now (see last log attached). First, I performed uninstall with deleting all preferences. I just kept the original nfo and artwork files inside the media folders…would deleting these help? I was considering purchasing a lifetime license but this long term outage makes me to tend give Plex a try. I like Emby and would appreciate any help.

 

Thx

Josef

 

Attached Files



#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131593 posts
  • Local time: 04:04 PM

Posted 12 September 2018 - 04:32 PM

I would try again with the next release of the server as there was one image-related crash i was able to reproduce and solve. Thanks.



#18 larsonDigital OFFLINE  

larsonDigital

    Advanced Member

  • Members
  • 74 posts
  • Local time: 01:04 PM

Posted 12 September 2018 - 05:42 PM

Hey Luke, do you know when that will be by chance?  Just curious.

 

Thanks,

James



#19 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131593 posts
  • Local time: 04:04 PM

Posted 12 September 2018 - 10:25 PM

I can't offer an ETA, sorry.



#20 JoeWar OFFLINE  

JoeWar

    Member

  • Members
  • 14 posts
  • Local time: 10:04 PM

Posted 20 September 2018 - 03:54 PM

Hi Luke,

I have just updated to 3.5.3.0. and still experience the same issue. Log attached. Josef

Attached Files







Also tagged with one or more of these keywords: Connection Failure, Cant Restart Server, Windows Server 2016, Emby Theater, Windows 7, Android app

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users