throgmorton 96 Posted July 30, 2018 Share Posted July 30, 2018 I'm getting a performance hit when running Emby WMC offline (no internet connection). I've basically gone through all the settings I can think of so it doesn't try to connect to the internet but there still seems to be some errors forming. Looking at the log on the WMC side of things the stall basically happens after I select the user profile I want from the Emby splash screen. You can see there is a delay of about 12 seconds: 2018-07-30 17:12:18.5052,Info,,Information DisplayText: Welcome to Emby for WMC,1,Application 2018-07-30 17:12:20.0061,Debug,,Sending Http Post to http://127.0.0.1:8096/emby/Users/4a4e75acb02245eb87aaf14febd94892/Authenticate?format=Json,21,Worker thread for Common 2018-07-30 17:12:20.0441,Info,,Sending Http Get to http://127.0.0.1:8096/emby/System/Configuration?format=Json,21,Worker thread for Common 2018-07-30 17:12:20.0681,Info,,Sending Http Get to http://127.0.0.1:8096/emby/System/Info?format=Json,21,Worker thread for Common 2018-07-30 17:12:20.0906,Info,,Sending Http Get to http://127.0.0.1:8096/emby/Plugins?format=Json,21,Worker thread for Common 2018-07-30 17:12:32.1124,Info,,*** Theme in use is: Destiny,21,Worker thread for Common 2018-07-30 17:12:32.1154,Info,,Sending Http Get to http://127.0.0.1:8096/emby/Packages?packagetype=UserInstalled&targetsystems=MBClassic&format=Json,18,Worker thread for Common 2018-07-30 17:12:32.1314,Debug,,=========System looking for assembly: MediaBrowser,, Version=3.0.302.0,, Culture=neutral,, PublicKeyToken=59fc04479785fd64,1,Application 2018-07-30 17:12:32.1314,Info,,Plug-in reference to MediaBrowser,, Version=3.0.302.0,, Culture=neutral,, PublicKeyToken=59fc04479785fd64 is being linked to version 3.0.314.0,1,Application Looking at the same time on the server side logs is where there seems to be some http requests which bomb and I guess is causing my delay. It seems to be making a request to https://www.mb3admin.com/admin/service/EmbyPackages.json which I guess timesout after 12 seconds and errors. I'm guessing this request is checking license packages? If so is there a way to localize this so that it doesn't require access to the net only to the Emby server to check which plugins work? 2018-07-30 17:12:20.022 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Users/4a4e75acb02245eb87aaf14febd94892/Authenticate?format=Json. UserAgent: 2018-07-30 17:12:20.023 Info UserManager: Authentication request for Rob has succeeded. 2018-07-30 17:12:20.023 Info SessionManager: Reissuing access token: fd04be1e1d254a7c90e571ef1f91356d 2018-07-30 17:12:20.023 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 2ms. http://127.0.0.1:8096/emby/Users/4a4e75acb02245eb87aaf14febd94892/Authenticate?format=Json 2018-07-30 17:12:20.044 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/System/Configuration?format=Json. UserAgent: 2018-07-30 17:12:20.045 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/System/Configuration?format=Json 2018-07-30 17:12:20.069 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/System/Info?format=Json. UserAgent: 2018-07-30 17:12:20.069 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/System/Info?format=Json 2018-07-30 17:12:20.091 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Plugins?format=Json. UserAgent: 2018-07-30 17:12:20.091 Info HttpClient: GET https://www.mb3admin.com/admin/service/EmbyPackages.json 2018-07-30 17:12:32.105 Error HttpClient: Error getting response from https://www.mb3admin.com/admin/service/EmbyPackages.json *** Error Report *** Version: 3.5.1.0 Command line: C:\Users\MediaCentre\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: C:\Users\MediaCentre\AppData\Roaming\Emby-Server\programdata Application directory: C:\Users\MediaCentre\AppData\Roaming\Emby-Server\system System.Net.Http.HttpRequestException: No such host is known ---> System.Net.Sockets.SocketException: No such host is known at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) System.Net.Http.HttpRequestException at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) InnerException: System.Net.Sockets.SocketException System.Net.Sockets.SocketException (11001): No such host is known at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) 2018-07-30 17:12:32.106 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 12015ms (slow). http://127.0.0.1:8096/emby/Plugins?format=Json 2018-07-30 17:12:32.116 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Packages?packagetype=UserInstalled&targetsystems=MBClassic&format=Json. UserAgent: 2018-07-30 17:12:32.117 Info HttpClient: GET https://www.mb3admin.com/admin/service/EmbyPackages.json 2018-07-30 17:12:32.122 Error HttpClient: Error getting response from https://www.mb3admin.com/admin/service/EmbyPackages.json *** Error Report *** Version: 3.5.1.0 Command line: C:\Users\MediaCentre\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: C:\Users\MediaCentre\AppData\Roaming\Emby-Server\programdata Application directory: C:\Users\MediaCentre\AppData\Roaming\Emby-Server\system System.Net.Http.HttpRequestException: No such host is known ---> System.Net.Sockets.SocketException: No such host is known at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) System.Net.Http.HttpRequestException at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask) at System.Threading.Tasks.ValueTask`1.get_Result() at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) InnerException: System.Net.Sockets.SocketException System.Net.Sockets.SocketException (11001): No such host is known at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) 2018-07-30 17:12:32.125 Error HttpServer: Error processing request *** Error Report *** Version: 3.5.1.0 Command line: C:\Users\MediaCentre\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: C:\Users\MediaCentre\AppData\Roaming\Emby-Server\programdata Application directory: C:\Users\MediaCentre\AppData\Roaming\Emby-Server\system System.Net.Http.HttpRequestException: No such host is known ---> System.Net.Sockets.SocketException: No such host is known at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackagesWithoutRegistrationInfo(CancellationToken cancellationToken) at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackages(CancellationToken cancellationToken, Boolean withRegistration, String packageType, Version applicationVersion) at MediaBrowser.Api.PackageService.Get(GetPackages request) at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) System.Net.Http.HttpRequestException at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackagesWithoutRegistrationInfo(CancellationToken cancellationToken) at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackages(CancellationToken cancellationToken, Boolean withRegistration, String packageType, Version applicationVersion) at MediaBrowser.Api.PackageService.Get(GetPackages request) at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) InnerException: System.Net.Sockets.SocketException System.Net.Sockets.SocketException (11001): No such host is known at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) 2018-07-30 17:12:32.125 Info HttpServer: HTTP Response 500 to 127.0.0.1. Time: 9ms. http://127.0.0.1:8096/emby/Packages?packagetype=UserInstalled&targetsystems=MBClassic&format=Json 2018-07-30 17:12:32.351 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/Plugins/RegistrationRecords/gamebrowser-classic?Mb2Equivalent=gamebrowser-classic&format=Json. UserAgent: 2018-07-30 17:12:32.352 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 1ms. http://127.0.0.1:8096/emby/Plugins/RegistrationRecords/gamebrowser-classic?Mb2Equivalent=gamebrowser-classic&format=Json Link to comment Share on other sites More sharing options...
Luke 36997 Posted July 30, 2018 Share Posted July 30, 2018 The packages json is just trying to get a list of available plugins. I'm guessing Emby for WMC needs that for some reason and when it fails it just keeps retrying over and over. Link to comment Share on other sites More sharing options...
ebr 14902 Posted July 30, 2018 Share Posted July 30, 2018 Yes that is getting the available EMC plug-ins. Link to comment Share on other sites More sharing options...
throgmorton 96 Posted July 31, 2018 Author Share Posted July 31, 2018 Is it possible to not have it do that? Or is there away to turn it off, maybe through a switch in the XML? Link to comment Share on other sites More sharing options...
ebr 14902 Posted July 31, 2018 Share Posted July 31, 2018 There isn't that I can think of at this moment and I cannot promise when I might have time to look at such a thing. Sorry... Link to comment Share on other sites More sharing options...
throgmorton 96 Posted July 31, 2018 Author Share Posted July 31, 2018 There isn't that I can think of at this moment and I cannot promise when I might have time to look at such a thing. Sorry... No worries its more of an annoyance and only happens at startup, once i'm in Emby it seems pretty smooth. I will still continue testing to see if there are any gotcha's without internet. Link to comment Share on other sites More sharing options...
ebr 14902 Posted July 31, 2018 Share Posted July 31, 2018 Okay, thanks. Link to comment Share on other sites More sharing options...
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