Cirdecus 3 Posted November 7, 2015 Posted November 7, 2015 (edited) I have an Emby server that was running on Server 2008 R2 and I have 2 media center PC's and an xbox extender. Out of the blue, Emby Server would crash when one of the WMC clients launched the Emby Classic program. I reinstalled the server software, reinstalled all classic software on the media centers and the problem persisted. So I then completely reformatted the server, installed Server 2012 R2 and then installed Emby and configured it from scratch. Sure enough, it continues to crash when a WMC client connects Help! UPDATE: It appears to crash regardless of whether a client attempts to connect. When watching the scheduled tasks, I notice that Emby crashes as soon as the "Clean Database" task initiates. Before removing all library items and adding only the: Movies, TV Series, Games and Books, Emby would crash when a "Scan Media Library" scheduled task was initiated. Now the library scan completes without a crash but the clean database task will not. server-63582491528.txt Edited November 9, 2015 by Cirdecus
KnowEyeDear 1 Posted November 8, 2015 Posted November 8, 2015 Gidday, Mine has been sort of doing this for ~ the past week, however mine does not stop responding, it just stops and unloads itself from memory with no notification at all. This happens whenever ANY client or using config after it performs its first library scan. I have received no responses as yet, but if anything is forthcomming, will pass it on to you also. Cheers mate
Cirdecus 3 Posted November 8, 2015 Author Posted November 8, 2015 Thanks KnowEyeDear! I'll keep working on mine. I noticed Luke responded and asked to clear plugins and such. I mentioned in my article that a complete reformat of the server was done which would have effectively cleared the plugins. I'm going to do some work on the client machines now and see what I can do. Definitely looks like a bug to me.
Cirdecus 3 Posted November 8, 2015 Author Posted November 8, 2015 Ok it appears that the Server also crashes when attempting to scan my media library from within the Scheduled Tasks section
Cirdecus 3 Posted November 8, 2015 Author Posted November 8, 2015 I'm going delete all possible local client items for MB Classic and reinstall them. I haven't touched any plugins yet, so i'll leave those empty. I'm then going to add one small piece of my library at a time to emby and run that scheduled media library scan and see if it crashes, which should help me narrow this down to some kind of library related thing.
Cirdecus 3 Posted November 8, 2015 Author Posted November 8, 2015 Ok i did further testing. While trying to remove each library one by one, Emby continued to crash each time i tried to remove the library. Eventually I got them all removed, but the problem certainly appears to be related to how Emby handles the library
Cirdecus 3 Posted November 9, 2015 Author Posted November 9, 2015 Ok after adding the Movies and TV Series Libraries everything seemed to work well. i decided to just leave the server libraries with only these two. I then added the MB Classic clients to each media center PC and added all plugins that I would need, including the Books/Gamebrowser plugins that i do not yet have configured on the server. After a night of working well, the next morning, Emby is chain-crashing again and is completely useless. I have no idea what is going on. Can someone give some assistance?
ebr 16187 Posted November 9, 2015 Posted November 9, 2015 We would need a detailed description of what "chain crashing" means and a new server log and any crash log generated at the time.
Cirdecus 3 Posted November 12, 2015 Author Posted November 12, 2015 Thanks ebr. Basically as soon as a MB Classic client connects (opens emby from within WMC), the server software crashes. After a reformat of the server and a reinstall of all client software Emby would simply crash on its own after so many minutes (10-15 minutes). After continued troubleshooting, I decided to watch the scheduled tasks and noticed that as soon as Emby started "Clean Database" it would crash. I have since completely stopped the "Clean Database" scheduled task and Emby has been ok. I started the clean database task just now and watched it crash. I attached the log above, hope this helps. Thanks!
Cirdecus 3 Posted November 12, 2015 Author Posted November 12, 2015 I can't seen to figure out how to attach a new document... Here's the bottom section of the latest log after i forced to crash by running "clean database" 2015-11-12 06:37:03.9176 Info - App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate 2015-11-12 06:37:03.9326 Info - HttpServer: HTTP GET http://localhost:8096/web/css/fonts/roboto/RxZJdnzeo3R5zSexge8UUVtXRa8TVwTICgirnJhmVJw.woff2 Ip: 127.0.0.1:50208. Headers: Host=localhost:8096,Connection=keep-alive,User-Agent=Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36,Origin=http://localhost:8096,Accept=*/*,Accept-Encoding=gzip, deflate, sdch,Accept-Language=en-US,en;q=0.8,If-None-Match=99459fc7849149dc4535606b532f4205 2015-11-12 06:37:03.9326 Info - HttpServer: HTTP Response 304 to 127.0.0.1. Time: 1ms. http://localhost:8096/web/css/fonts/roboto/RxZJdnzeo3R5zSexge8UUVtXRa8TVwTICgirnJhmVJw.woff2 2015-11-12 06:37:03.9326 Info - HttpServer: HTTP GET http://localhost:8096/web/css/fonts/roboto/Hgo13k-tfSpn0qi1SFdUfVtXRa8TVwTICgirnJhmVJw.woff2 Ip: 127.0.0.1:50208. Headers: Host=localhost:8096,Connection=keep-alive,User-Agent=Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36,Origin=http://localhost:8096,Accept=*/*,Accept-Encoding=gzip, deflate, sdch,Accept-Language=en-US,en;q=0.8,If-None-Match=ff018600703ac7f1ab1ed39f6c6d9271 2015-11-12 06:37:03.9326 Info - HttpServer: HTTP Response 304 to 127.0.0.1. Time: 1ms. http://localhost:8096/web/css/fonts/roboto/Hgo13k-tfSpn0qi1SFdUfVtXRa8TVwTICgirnJhmVJw.woff2 2015-11-12 06:37:03.9326 Info - HttpServer: HTTP GET http://localhost:8096/web/css/fonts/roboto/d-6IYplOFocCacKzxwXSOFtXRa8TVwTICgirnJhmVJw.woff2 Ip: 127.0.0.1:50208. Headers: Host=localhost:8096,Connection=keep-alive,User-Agent=Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36,Origin=http://localhost:8096,Accept=*/*,Accept-Encoding=gzip, deflate, sdch,Accept-Language=en-US,en;q=0.8,If-None-Match=bdb87af4e48ae5bab56f1e2935b5a25f 2015-11-12 06:37:03.9326 Info - HttpServer: HTTP Response 304 to 127.0.0.1. Time: 1ms. http://localhost:8096/web/css/fonts/roboto/d-6IYplOFocCacKzxwXSOFtXRa8TVwTICgirnJhmVJw.woff2 2015-11-12 06:37:04.1357 Info - HttpServer: HTTP Response 200 to 127.0.0.1. Time: 313ms. http://localhost:8096/emby/Plugins/SecurityInfo 2015-11-12 06:37:04.3028 Info - HttpServer: HTTP GET http://localhost:8096/emby/Packages/Updates?PackageType=UserInstalled Ip: 127.0.0.1:50209. Headers: Host=localhost:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=1883423532fa48d29a900e4fc2490caa,User-Agent=Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36,X-Emby-Authorization=MediaBrowser Client="Emby Web Client", Device="Chrome 46.0.2490.80", DeviceId="66bbe9030370054e9af682317d4d4c2f257f1d03", Version="3.0.5781.1", UserId="df6194df1fa3440ca14c375d237ee477",Accept-Encoding=gzip, deflate, sdch,Accept-Language=en-US,en;q=0.8 2015-11-12 06:37:04.3048 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json 2015-11-12 06:37:04.4019 Info - HttpServer: HTTP POST http://localhost:8096/emby/Sessions/Capabilities/Full Ip: 127.0.0.1:50208. Headers: Host=localhost:8096,Connection=keep-alive,Content-Length=370,Accept=*/*,X-MediaBrowser-Token=1883423532fa48d29a900e4fc2490caa,User-Agent=Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36,X-Emby-Authorization=MediaBrowser Client="Emby Web Client", Device="Chrome 46.0.2490.80", DeviceId="66bbe9030370054e9af682317d4d4c2f257f1d03", Version="3.0.5781.1", UserId="df6194df1fa3440ca14c375d237ee477",Origin=http://localhost:8096,Content-Type=application/json,Accept-Encoding=gzip, deflate,Accept-Language=en-US,en;q=0.8 2015-11-12 06:37:04.4019 Info - HttpServer: HTTP Response 204 to 127.0.0.1. Time: 7ms. http://localhost:8096/emby/Sessions/Capabilities/Full 2015-11-12 06:37:04.4139 Info - HttpServer: HTTP GET http://localhost:8096/emby/Packages/Updates?PackageType=System Ip: 127.0.0.1:50208. Headers: Host=localhost:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=1883423532fa48d29a900e4fc2490caa,User-Agent=Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36,X-Emby-Authorization=MediaBrowser Client="Emby Web Client", Device="Chrome 46.0.2490.80", DeviceId="66bbe9030370054e9af682317d4d4c2f257f1d03", Version="3.0.5781.1", UserId="df6194df1fa3440ca14c375d237ee477",Accept-Encoding=gzip, deflate, sdch,Accept-Language=en-US,en;q=0.8 2015-11-12 06:37:04.4599 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json 2015-11-12 06:37:04.5710 Info - HttpServer: HTTP Response 200 to 127.0.0.1. Time: 268ms. http://localhost:8096/emby/Packages/Updates?PackageType=UserInstalled 2015-11-12 06:37:04.7001 Info - HttpServer: Web Socket ws://localhost:8096/emby?api_key=1883423532fa48d29a900e4fc2490caa&deviceId=66bbe9030370054e9af682317d4d4c2f257f1d03 Ip: 127.0.0.1:50214. Headers: Host=localhost:8096,Connection=Upgrade,Pragma=no-cache,Cache-Control=no-cache,Upgrade=websocket,Origin=http://localhost:8096,Sec-WebSocket-Version=13,User-Agent=Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36,Accept-Encoding=gzip, deflate, sdch,Accept-Language=en-US,en;q=0.8,Sec-WebSocket-Key=TRiJt7BrZmAaRxN3iG9kkg==,Sec-WebSocket-Extensions=permessage-deflate; client_max_window_bits 2015-11-12 06:37:04.7761 Error - HttpServer: Error in HttpConnection.BeginReadRequest. ConnectionId: d377ec99b7364ac1a6e3314904510c2c *** Error Report *** Version: 3.0.5781.1 Command line: C:\Users\Cirdecus\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 8 64-Bit OS: True 64-Bit Process: False Program data path: C:\Users\Cirdecus\AppData\Roaming\Emby-Server Application Path: C:\Users\Cirdecus\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. System.IO.IOException at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at SocketHttpListener.Net.HttpConnection.BeginReadRequest() InnerException: System.Net.Sockets.SocketException An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state) at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) 2015-11-12 06:37:04.7761 Info - HttpServer: HTTP Response 200 to 127.0.0.1. Time: 362ms. http://localhost:8096/emby/Packages/Updates?PackageType=System 2015-11-12 06:37:16.2683 Info - HttpServer: HTTP POST http://localhost:8096/emby/ScheduledTasks/Running/4f927d7d25b32efe94f3f1beb0043883 Ip: 127.0.0.1:50209. Headers: Host=localhost:8096,Connection=keep-alive,Content-Length=0,Accept=*/*,X-MediaBrowser-Token=1883423532fa48d29a900e4fc2490caa,User-Agent=Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36,X-Emby-Authorization=MediaBrowser Client="Emby Web Client", Device="Chrome 46.0.2490.80", DeviceId="66bbe9030370054e9af682317d4d4c2f257f1d03", Version="3.0.5781.1", UserId="df6194df1fa3440ca14c375d237ee477",Origin=http://localhost:8096,Accept-Encoding=gzip, deflate,Accept-Language=en-US,en;q=0.8 2015-11-12 06:37:16.2683 Info - App: Executing Clean Database
ebr 16187 Posted November 12, 2015 Posted November 12, 2015 What, exactly, happens? "Crash" can mean a lot of different things to different people. Is there an unhandled... log created?
Cirdecus 3 Posted November 12, 2015 Author Posted November 12, 2015 I get a windows error and then the program shuts down. I posted a screenshot above of the error.
Cirdecus 3 Posted November 12, 2015 Author Posted November 12, 2015 I can dig in event viewer also and see if something jumps out at me.
ebr 16187 Posted November 12, 2015 Posted November 12, 2015 It looks like a failure at a very low level because the server traps normal exceptions and would give you a different kind of message and write out an "unhandled" log of the exception. Is it possible that you have a hardware driver issue or actual issue with either a network or hard drive? If you can add in your library in small pieces and narrow down when it fails that might give some clues.
KnowEyeDear 1 Posted November 13, 2015 Posted November 13, 2015 Gidday Cirdecus, As I mentioned elsewhere, mine was doing the same thing. I did a comple clean install of Windows, which I thought had fixed it. after a day however, back to the same thing. What I then tried was to perform a fresh install of Emby server, however instead of performing a complete library setup initially, I setup the library with only one folder at a time. What I found was, that where in my library I had duplicate collections ie: Clint Eastwood Collection in my HD Movies library with only HD rips included, then in the SD Movies library, I had the remaining DVD rip movies. Now with it all setup, without the dual collections(even though there were no duplication of titles), the crashes have ceased. I do not know if your library setup is similar, but you may need to check this. If my setup begins playing up again, I will let you know Cheers
Cirdecus 3 Posted November 18, 2015 Author Posted November 18, 2015 Alright i'll try adding a piece at a time and then running the "clean database" job to give me a few more clues. My library is pretty large, especially with the games and roms from GameBrowser. Thanks everyone!
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