Jump to content

Emby Server 4x Troubles


kaynemo

Recommended Posts

kaynemo

Hi all, I tried to upgrade to Emby 4x and got many troubles:

 

1. Multiple instances of Emby (3 to be exact) in the Activity Monitor

2. Plugins failed to check for update:

No route to host at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFileResponse(HttpRequestOptions options) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFile(HttpRequestOptions options) at Emby.Server.Implementations.Updates.InstallationManager.PerformPackageInstallation(IProgress`1 progress, String target, PackageVersionInfo package, CancellationToken cancellationToken) at Emby.Server.Implementations.Updates.InstallationManager.InstallPackageInternal(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.Updates.InstallationManager.InstallPackage(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

3. IMVDB (no route to host error, failed to install

4. Videos will not play, only music (decoding issues??)

5. See the log attached.

6. For now I rolled back to the previous version (thank God, that worked - I desperately need the system to function for the next few days at least)

 

Hope the log helps. Please tell me what is wrong.

 

Much thanks,

 

Embyserver4Log.rtf

Link to comment
Share on other sites

Hi there, can you try rebooting your machine? I would suggest completing a library scan following the upgrade.

Link to comment
Share on other sites

kaynemo

Well I did all of that, no luck. 

On my older setup (3.5.3.0) no hardware acceleration is turned on (I tried it and it just doesnt seem to work) if that matters. I do hope that at some point I'd be able to do so. It should playback better encoding with hardware, right ?

Another thing I just noticed that it (the video) plays back differently on different broswers. Opera stutters, so does Chrome, but Safari and Firefox and IOS Safari and Chrome play well (go figure) 

Edited by kaynemo
Link to comment
Share on other sites

The same  place where you got the server log. These would be ffmpeg log examples of playback transcoding sessions.

Link to comment
Share on other sites

I think this is it. See attached. Thanks.

 

The log shows no obvious problem. What exactly happened in this session? I notice you customized the transcoding CRF. Can you try setting that back to default? Thanks !

Link to comment
Share on other sites

  • 3 weeks later...
kaynemo

Sorry, I couldn't deal with this earlier - I need the server working. Now that I have a bit of time to fool around with it, I am trying out the new version again.

 

UPD. Ok. After setting CRF to 23 videos started working and all is well. The only issue is that the plugins fail to upgrade/install (No route to host error) - I did check and the Firewall is turned OFF. The most pressing issue are the plugins - I would like to have BackUpServer back at least. Can we fix that ?

 

This is what happens updating/installing plugins:

2019-02-06 14:04:24.426 Error HttpClient: Error getting response from 
	*** Error Report ***
	Version: 4.0.1.0
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll
	Operating system: Unix 16.7.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: /Users/emby/.config/emby-server
	Application directory: /Applications/EmbyServer.app/Contents/MacOS
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: No route to host ---> System.Net.Sockets.SocketException: No route to host
	   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.GetTempFileResponse(HttpRequestOptions options)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	   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.GetTempFileResponse(HttpRequestOptions options)
	InnerException: System.Net.Sockets.SocketException: No route to host
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
2019-02-06 14:04:24.432 Error InstallationManager: Package installation failed
	*** Error Report ***
	Version: 4.0.1.0
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll
	Operating system: Unix 16.7.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: /Users/emby/.config/emby-server
	Application directory: /Applications/EmbyServer.app/Contents/MacOS
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: No route to host ---> System.Net.Sockets.SocketException: No route to host
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFileResponse(HttpRequestOptions options)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFile(HttpRequestOptions options)
	   at Emby.Server.Implementations.Updates.InstallationManager.PerformPackageInstallation(IProgress`1 progress, String target, PackageVersionInfo package, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackageInternal(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackage(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFileResponse(HttpRequestOptions options)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFile(HttpRequestOptions options)
	   at Emby.Server.Implementations.Updates.InstallationManager.PerformPackageInstallation(IProgress`1 progress, String target, PackageVersionInfo package, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackageInternal(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackage(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	InnerException: System.Net.Sockets.SocketException: No route to host
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
2019-02-06 14:04:24.451 Debug XmlSerializer: Deserializing file /Users/emby/.config/emby-server/config/notifications.xml
2019-02-06 14:04:24.484 Error TaskManager: Error
	*** Error Report ***
	Version: 4.0.1.0
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll
	Operating system: Unix 16.7.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: /Users/emby/.config/emby-server
	Application directory: /Applications/EmbyServer.app/Contents/MacOS
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: No route to host ---> System.Net.Sockets.SocketException: No route to host
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFileResponse(HttpRequestOptions options)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFile(HttpRequestOptions options)
	   at Emby.Server.Implementations.Updates.InstallationManager.PerformPackageInstallation(IProgress`1 progress, String target, PackageVersionInfo package, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackageInternal(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackage(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFileResponse(HttpRequestOptions options)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.GetTempFile(HttpRequestOptions options)
	   at Emby.Server.Implementations.Updates.InstallationManager.PerformPackageInstallation(IProgress`1 progress, String target, PackageVersionInfo package, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackageInternal(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Updates.InstallationManager.InstallPackage(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
	InnerException: System.Net.Sockets.SocketException: No route to host
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)

Thanks

Edited by kaynemo
Link to comment
Share on other sites

The connection to https://embydata.com is failing. Perhaps you have something on the machine blocking access to it?

2019-02-06 20:36:19.916 Info HttpClient: GetTempFileResponse url: https://embydata.com/admin/service/packageFiles/OMDb.dll_1.0.4.exe\
2019-02-06 20:36:19.971 Error HttpClient: Error getting response from \
	*** Error Report ***\
	Version: 4.0.1.0\
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll\
	Operating system: Unix 16.7.0.0\
	64-Bit OS: True\
	64-Bit Process: True\
	User Interactive: True\
	Processor count: 8\
	Program data path: /Users/emby/.config/emby-server\
	Application directory: /Applications/EmbyServer.app/Contents/MacOS\
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: No route to host ---> System.Net.Sockets.SocketException: No route to host\
	   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.GetTempFileResponse(HttpRequestOptions options)\
	Source: System.Net.Http\
	TargetSite: Void MoveNext()\
	   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.GetTempFileResponse(HttpRequestOptions options)\
	InnerException: System.Net.Sockets.SocketException: No route to host\
	Source: System.Private.CoreLib\
	TargetSite: Void Throw()\
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)\

Link to comment
Share on other sites

kaynemo

Damn. It is strange, but through the browser the connection to https://embydata.com/ works only through VPN, which is probably why Emby can't connect to the plugins and such. Somehow the provider seems to be blocking it, I guess, for non apparent reason. I have no idea what to do now, strange even more, that hasn't been happening before.

 

Kirill

Edited by kaynemo
Link to comment
Share on other sites

kaynemo

Strange enough - the site will load if accessed with http:// not https:// - any thoughts ?

Edited by kaynemo
Link to comment
Share on other sites

kaynemo

The first (erroneous screenshot) is when I attempt to connect with https://

The second (successful screenshot) is when I attempt to connect with http://

It seems I get an error trying to establish a secure connection (it does work if VPN is used though)

 

Thanks

 

post-184688-0-73641300-1550130738_thumb.png

post-184688-0-54250600-1550130749_thumb.png

Link to comment
Share on other sites

kaynemo

That is true, However, when I do the same on a different machine (at home), both addresses work fine in the browser. Therefore, it is either an ISP block, or my IT Department block in this particular connection. I will try to summon the people from the IT Dpt and figure this conundrum. If I do, I’ll post the results. For now you t is VPN.

Link to comment
Share on other sites

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...