Jump to content

Lentidão no carregamento do emby


Recommended Posts

marcuslima11
Posted

Olá pessoal. Gostaria de saber se alguem aqui está passando ou já passou por isso. A dias atrás o emby funcionava normal. Agora está muito lento para carregar metadados e a loja de plugins. Quando reinicio o roteador ele volta a funcionar normalmente por alguns minutos e depois volta a ficar lento novamente. tenho uma internet fibra ótica de 200 mbps. e tudo funciona muito bem. Alguém tem ideia do que pode ser?

Posted

Is EMBY the only thing that is being effected?

I would try a reset of your router, like you mentioned above restart EMBY.. The browse EMBY until this starts to happen. Next grab a copy of your current log file ( The one without numbers ) and upload it here. This should show if anything is going on in particular with the server.

Further investigation could render some other things.. I would look at this first.

marcuslima11
Posted (edited)

Esse é o Log, não entendo porque começou isso, espero que possa me ajudar 

Sem título.png

embyserver.txt

Edited by marcuslima11
Posted

According to your logs.. you actually loose internet connection before you log a PortMapping Error..

You haven't just lost connection to EMBY. You have lost all internet connection.

Spoiler


LOST INTERNET


2021-04-24 08:45:28.637 Info HttpClient: GET https://www.mb3admin.com/admin/service/EmbyPackages.json
2021-04-24 08:45:30.877 Error HttpClient: Error getting response from https://emby.media/community/index.php?/blog/rss/1-media-browser-developers-blog
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\Emby\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/Emby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Emby\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Emby\AppData\Roaming\Emby-Server\system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Este host não é conhecido.
	 ---> System.Net.Sockets.SocketException (11001): Este host não é conhecido.
	   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.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   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)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	InnerException: System.Net.Sockets.SocketException: Este host não é conhecido.
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
2021-04-24 08:45:30.880 Error App: Error downloading news
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\Emby\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/Emby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Emby\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Emby\AppData\Roaming\Emby-Server\system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Este host não é conhecido.
	 ---> System.Net.Sockets.SocketException (11001): Este host não é conhecido.
	   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.News.NewsEntryPoint.DownloadNews(String path)
	   at Emby.Server.Implementations.News.NewsEntryPoint.OnTimerFired(Object state)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	InnerException: System.Net.Sockets.SocketException: Este host não é conhecido.
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
2021-04-24 08:45:33.116 Error HttpClient: Error getting response from https://www.mb3admin.com/admin/service/EmbyPackages.json
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\Emby\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/Emby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Emby\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Emby\AppData\Roaming\Emby-Server\system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Este host não é conhecido.
	 ---> System.Net.Sockets.SocketException (11001): Este host não é conhecido.
	   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.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   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)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	InnerException: System.Net.Sockets.SocketException: Este host não é conhecido.
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
2021-04-24 08:45:33.117 Error HttpClient: Error getting response from https://www.mb3admin.com/admin/service/EmbyPackages.json
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\Emby\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/Emby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Emby\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Emby\AppData\Roaming\Emby-Server\system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Este host não é conhecido.
	 ---> System.Net.Sockets.SocketException (11001): Este host não é conhecido.
	   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.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   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.DiagnosticsHandler.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)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	InnerException: System.Net.Sockets.SocketException: Este host não é conhecido.
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
2021-04-24 08:45:33.122 Error App: Error getting available plguin updates
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\Emby\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/Emby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Emby\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Emby\AppData\Roaming\Emby-Server\system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Este host não é conhecido.
	 ---> System.Net.Sockets.SocketException (11001): Este host não é conhecido.
	   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(Boolean enableCache, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePluginUpdates(Version applicationVersion, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	InnerException: System.Net.Sockets.SocketException: Este host não é conhecido.
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
2021-04-24 08:45:33.148 Error Server: Error processing request
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\Emby\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/Emby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Emby\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Emby\AppData\Roaming\Emby-Server\system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Este host não é conhecido.
	 ---> System.Net.Sockets.SocketException (11001): Este host não é conhecido.
	   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(Boolean enableCache, 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.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	InnerException: System.Net.Sockets.SocketException: Este host não é conhecido.
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
2021-04-24 08:45:33.149 Info Server: http/1.1 Response 500 to ::1. Time: 4517ms. http://localhost:8096/emby/Packages?TargetSystems=Server&IsAdult=false&PackageType=UserInstalled&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=e2fcdc77-50b0-4bc7-b3d9-ac0a6f6430db&X-Emby-Client-Version=4.5.4.0
2021-04-24 08:45:35.308 Error App: Error getting connection info
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\Emby\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/Emby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Emby\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Emby\AppData\Roaming\Emby-Server\system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Este host não é conhecido.
	 ---> System.Net.Sockets.SocketException (11001): Este host não é conhecido.
	   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.Connect.ConnectEntryPoint.GetIpAddress(String lookupUrl)
	   at Emby.Server.Connect.ConnectEntryPoint.TimerCallback(Object state)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	InnerException: System.Net.Sockets.SocketException: Este host não é conhecido.
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	

PORTMAPPING ERROR


2021-04-24 08:48:06.411 Info Server: http/1.1 GET http://localhost:8096/emby/System/Logs/embyserver.txt. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36 Edg/90.0.818.46
2021-04-24 08:48:06.414 Info Server: http/1.1 Response 200 to ::1. Time: 3ms. http://localhost:8096/emby/System/Logs/embyserver.txt
2021-04-24 08:50:12.890 Error HttpClient: <html><body><h1>500 Internal Server Error</h1></body></html>
2021-04-24 08:50:12.895 Error HttpClient: <html><body><h1>500 Internal Server Error</h1></body></html>
2021-04-24 08:50:12.898 Error PortMapper: Error creating port map
	*** Error Report ***
	Version: 4.5.4.0
	Command line: C:\Users\Emby\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.19043
	Framework: .NET Core 3.1.9
	OS/Process: x64/x64
	Runtime: C:/Users/Emby/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Emby\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Emby\AppData\Roaming\Emby-Server\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: <html><body><h1>500 Internal Server Error</h1></body></html>
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Mono.Nat.Upnp.UpnpNatDevice.GetSpecificMappingAsync(Protocol protocol, Int32 publicPort, CancellationToken cancellationToken)
	   at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping, CancellationToken cancellationToken)
	   at Emby.PortMapper.ExternalPortForwarding.CreateRules(INatDevice device, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
    


 

The first question I would ask is if you need PortMapping? If not I would turn that off.. and see if it helps.. and double check your Network settings. Make sure they are simple as they can be and you don't have anything turned on or filled in that you don't really need for your configuration. I would also take a look at your logs in your router.. and see if there is anything be logged in the way of attacks or nefarious activity or problems there.

IF you have router security, it may be cutting your connection to the network because it is registering something going on that should not or it is being detected as an attack. There are several methods of circumvention that are protected against, including a Port Triggering/Port Forwarding vulnerability or Attack that can be mounted using information that is leaked... Anything that seems odd to your router would mean shutting down all network activity to protect you.

The next thing would be for you to comb through your router settings and make sure there is not a problem in the configuration. Even though you are restarting, a RESET to defaults takes something else to do..  So it could still be a configuration problem.

Make sure security software is not logging something.

SO check EMBY first.. If your not being accessed from the WWW as a website and all use is local IP... turn those options off, Don't worry about configuring local IP ranges... One other thing is I would start trying to use the local Home network address instead of localhost.. see if that helps... Just in case a loopback error is triggering something.. 

Other download software can also bring a lot of traffic and issues... Attacks can come in that way..

marcuslima11
Posted

Consegui resolver. O problema era o meu IPV6 que estava habitado. Agora tudo está normal.

 

Posted

Good to know.. Can't do without IPv4 just yet... 👍

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...