Jump to content

Recommended Posts

Posted

Logged into Emby Web.  Running version 4.6.7.0.  Said that Port Mapper 1.1.1 was installed and to restart Emby.  So thru the GUI I clilcked Restart.  Been spinning for about 10 minutes now.  Tried opening a new browser and going to the site but not connecting.  Any thoughts?

Happy2Play
Posted

Server logs?  But sounds like something happened during the restart process and failed.

Posted

Rebooting so see what happens.  Server so takes a bit.

Posted

OK rebooted and came back but oddly now showing Port Mapper 1.1.8 was installed restart.  So restarted and same deal.

embylogs.txt

Happy2Play
Posted

To me it looks like something on the system is preventing it. (target machine actively refused it.)

2022-06-13 18:22:50.370 Error HttpClient: Error getting response from http://127.0.0.1:8024/exit
	*** Error Report ***
	Version: 4.6.7.0
	Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.14393
	Framework: .NET Core 3.1.21
	OS/Process: x64/x64
	Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 24
	Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\jriker\AppData\Roaming\Emby-Server\system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
	 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
	   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: No connection could be made because the target machine actively refused it.
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
2022-06-13 18:22:50.371 Error Main: Error attempting to close tray icon
	*** Error Report ***
	Version: 4.6.7.0
	Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.14393
	Framework: .NET Core 3.1.21
	OS/Process: x64/x64
	Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 24
	Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\jriker\AppData\Roaming\Emby-Server\system
	System.AggregateException: System.AggregateException: One or more errors occurred. (No connection could be made because the target machine actively refused it.)
	 ---> System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
	 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
	   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)
	   --- End of inner exception stack trace ---
	   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
	   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
	   at System.Threading.Tasks.Task`1.get_Result()
	   at EmbyServer.TrayApp.CloseTrayIcon()
	Source: System.Private.CoreLib
	TargetSite: Void ThrowIfExceptional(Boolean)
	InnerException: System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	InnerException: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it.
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)

 

Posted

First error could be because I tried accessing the site and said it couldn't respond but not sure.  Second one not sure as I have no tray icon.

Posted

Rebooted again and now saying there is an update to 4.7.2.0 of Emby that it wasn't mentioning before.  So doing it again.  Now those errors, looks to me like it gets past them.  If you look at the next block references 2022-06-13 18:43:05.661 Info Main: tray icon exited.

 

Last entry is: 2022-06-13 18:43:05.720 Info App: Disposing WindowsSystemEvents  whatever that is doing.

 

2022-06-13 18:43:05.660 Error HttpClient: Error getting response from http://127.0.0.1:8024/exit
    *** Error Report ***
    Version: 4.6.7.0
    Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows 10.0.14393
    Framework: .NET Core 3.1.21
    OS/Process: x64/x64
    Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 24
    Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\jriker\AppData\Roaming\Emby-Server\system
    System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
     ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
       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: No connection could be made because the target machine actively refused it.
    Source: System.Private.CoreLib
    TargetSite: Void Throw()
       at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
    
2022-06-13 18:43:05.661 Error Main: Error attempting to close tray icon
    *** Error Report ***
    Version: 4.6.7.0
    Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows 10.0.14393
    Framework: .NET Core 3.1.21
    OS/Process: x64/x64
    Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 24
    Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\jriker\AppData\Roaming\Emby-Server\system
    System.AggregateException: System.AggregateException: One or more errors occurred. (No connection could be made because the target machine actively refused it.)
     ---> System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
     ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
       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)
       --- End of inner exception stack trace ---
       at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
       at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
       at System.Threading.Tasks.Task`1.get_Result()
       at EmbyServer.TrayApp.CloseTrayIcon()
    Source: System.Private.CoreLib
    TargetSite: Void ThrowIfExceptional(Boolean)
    InnerException: System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
    Source: System.Net.Http
    TargetSite: Void MoveNext()
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
    InnerException: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it.
    Source: System.Private.CoreLib
    TargetSite: Void Throw()
       at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
    
2022-06-13 18:43:05.661 Info Main: tray icon WaitForExit
2022-06-13 18:43:05.661 Info Main: tray icon exited
2022-06-13 18:43:05.664 Info Server: Stopping HttpListener...
2022-06-13 18:43:05.670 Info Server: HttpListener stopped
2022-06-13 18:43:05.670 Info App: Disposing CoreAppHost
2022-06-13 18:43:05.670 Info App: Disposing LoopUtilEntryPoint
2022-06-13 18:43:05.670 Info App: Disposing SyncNotificationEntryPoint
2022-06-13 18:43:05.670 Info App: Disposing SyncManagerEntryPoint
2022-06-13 18:43:05.670 Info App: DisposeConnection
2022-06-13 18:43:05.670 Info App: Disposing ConnectEntryPoint
2022-06-13 18:43:05.670 Info App: Disposing Notifications
2022-06-13 18:43:05.670 Info App: Disposing EncodingManagerEntryPoint
2022-06-13 18:43:05.670 Info App: Disposing ActivityLogEntryPoint
2022-06-13 18:43:05.671 Info App: Disposing RecordingNotifier
2022-06-13 18:43:05.671 Info App: Disposing UpgradeChannelOptionsEntryPoint
2022-06-13 18:43:05.671 Info App: Disposing EntryPoint
2022-06-13 18:43:05.671 Info App: Disposing ChannelsEntryPoint
2022-06-13 18:43:05.671 Info App: Disposing UserDataChangeNotifier
2022-06-13 18:43:05.671 Info App: Disposing SystemEvents
2022-06-13 18:43:05.671 Info App: Disposing StartupWizard
2022-06-13 18:43:05.671 Info App: Disposing ServerEventNotifier
2022-06-13 18:43:05.671 Info App: Disposing LibraryChangedNotifier
2022-06-13 18:43:05.671 Info App: Disposing KeepServerAwake
2022-06-13 18:43:05.671 Info App: Disposing AutomaticRestartEntryPoint
2022-06-13 18:43:05.671 Info App: Disposing LibraryMonitorStartup
2022-06-13 18:43:05.671 Info App: Disposing DeviceAccessEntryPoint
2022-06-13 18:43:05.671 Info App: Disposing NewsEntryPoint
2022-06-13 18:43:05.671 Info App: Disposing UdpServerEntryPoint
2022-06-13 18:43:05.671 Info App: Disposing ApiEntryPoint
2022-06-13 18:43:05.671 Info App: Disposing EntryPoint
2022-06-13 18:43:05.671 Info App: Disposing WebhooksEntryPoint
2022-06-13 18:43:05.672 Info App: Disposing IntrosEntryPoint
2022-06-13 18:43:05.672 Info App: Disposing PluginSecurityManager
2022-06-13 18:43:05.672 Info App: Disposing ExternalPortForwarding
2022-06-13 18:43:05.672 Info App: Disposing DlnaEntryPoint
2022-06-13 18:43:05.672 Info App: Disposing StrmMounter
2022-06-13 18:43:05.672 Info App: Disposing DvdMounter
2022-06-13 18:43:05.672 Info App: Disposing BlurayMounter
2022-06-13 18:43:05.672 Info App: Disposing OpenSubtitleDownloader
2022-06-13 18:43:05.672 Info App: Disposing HauppaugeTunerWindows
2022-06-13 18:43:05.672 Info App: Disposing EmbyTV
2022-06-13 18:43:05.672 Info App: Disposing WMCService
2022-06-13 18:43:05.675 Info App: Disposing ActivityLogWebSocketListener
2022-06-13 18:43:05.675 Info App: Disposing SessionWebSocketListener
2022-06-13 18:43:05.675 Info App: Disposing ScheduledTasksWebSocketListener
2022-06-13 18:43:05.675 Info App: Disposing SessionInfoWebSocketListener
2022-06-13 18:43:05.675 Info App: Disposing SessionInfosWebSocketListener
2022-06-13 18:43:05.675 Info App: Disposing SessionEventsWebSocketListener
2022-06-13 18:43:05.675 Info App: Disposing EncodingManager
2022-06-13 18:43:05.675 Info App: Disposing ActivityRepository
2022-06-13 18:43:05.675 Info ActivityRepository: DisposeConnection
2022-06-13 18:43:05.675 Info ActivityRepository: Closing sqlite connection
2022-06-13 18:43:05.677 Info App: Disposing MediaEncoder
2022-06-13 18:43:05.677 Info App: Disposing SsdpDevicePublisher
2022-06-13 18:43:05.678 Info App: Disposing SsdpCommunicationsServer
2022-06-13 18:43:05.678 Info App: Disposing LiveTvManager
2022-06-13 18:43:05.678 Info App: Disposing SessionManager
2022-06-13 18:43:05.678 Info App: Disposing ProviderManager
2022-06-13 18:43:05.678 Info App: Disposing MediaSourceManager
2022-06-13 18:43:05.678 Info App: Disposing ImageProcessor
2022-06-13 18:43:05.678 Info App: Disposing ProcessManager
2022-06-13 18:43:05.679 Info App: Disposing HttpListenerHost
2022-06-13 18:43:05.679 Info Server: Stopping HttpListener...
2022-06-13 18:43:05.679 Info Server: HttpListener stopped
2022-06-13 18:43:05.679 Info App: Disposing LibraryMonitor
2022-06-13 18:43:05.679 Info LibraryMonitor: Stopping directory watching for path \\mce\d$\DuckieTVShows
2022-06-13 18:43:05.681 Info LibraryMonitor: Stopping directory watching for path \\homeserver\Music
2022-06-13 18:43:05.683 Info LibraryMonitor: Stopping directory watching for path \\mce\d$\Recorded TV
2022-06-13 18:43:05.685 Info LibraryMonitor: Stopping directory watching for path \\homeserver\Videos\Movies
2022-06-13 18:43:05.687 Info LibraryMonitor: Stopping directory watching for path \\homeserver\Videos\TV Shows
2022-06-13 18:43:05.689 Info App: Disposing AuthenticationRepository
2022-06-13 18:43:05.689 Info AuthenticationRepository: DisposeConnection
2022-06-13 18:43:05.689 Info AuthenticationRepository: Closing sqlite connection
2022-06-13 18:43:05.691 Info App: Disposing SqliteUserDataRepository
2022-06-13 18:43:05.691 Info SqliteUserDataRepository: DisposeConnection
2022-06-13 18:43:05.691 Info App: Disposing SqliteItemRepository
2022-06-13 18:43:05.691 Info SqliteItemRepository: DisposeConnection
2022-06-13 18:43:05.691 Info SqliteItemRepository: Closing sqlite connection
2022-06-13 18:43:05.717 Info App: Disposing SqliteDisplayPreferencesRepository
2022-06-13 18:43:05.718 Info SqliteDisplayPreferencesRepository: DisposeConnection
2022-06-13 18:43:05.718 Info SqliteDisplayPreferencesRepository: Closing sqlite connection
2022-06-13 18:43:05.718 Info App: Disposing SqliteUserRepository
2022-06-13 18:43:05.718 Info SqliteUserRepository: DisposeConnection
2022-06-13 18:43:05.718 Info SqliteUserRepository: Closing sqlite connection
2022-06-13 18:43:05.720 Info App: Disposing InstallationManager
2022-06-13 18:43:05.720 Info App: Disposing TaskManager
2022-06-13 18:43:05.720 Info App: Disposing MediaMountManager
2022-06-13 18:43:05.720 Info App: Disposing WindowsSystemEvents
 

Happy2Play
Posted
7 minutes ago, jriker1 said:

First error could be because I tried accessing the site and said it couldn't respond but not sure.

First on I don't believe is Emby as it is telling something on port 8024 to exit.

8 minutes ago, jriker1 said:

Second one not sure as I have no tray icon.

But the second one for tray icon appears to successed even though started with and error.

2022-06-13 18:22:50.371 Info Main: tray icon WaitForExit
2022-06-13 18:22:50.371 Info Main: tray icon exited

Can only guess something in the process is failing and Emby shuts down but does not restart.

Doesn't manually relaunch Emby work?

Posted

OK took some time to update something and running again and wants to restart again.  That won't happen right now.

Posted

I would just shut down the server and install the 4.7.2 update from the website. Please see if that helps. Thanks.

Posted (edited)

So the update is there, real pain.  Can't seem to shut down Emby anymore or restart it.  Have to manually kill it each time I want to update.  Anyway, saw after the next restart that there was a ServerWMC update with a compatibility fix which was surprised to see.  After restarting ServerWMC is gone from my main end user GUI.  Looks like it was totally stripped out.  Can't find it on the config screen either now.  Is still "installed" if I look at My Plugins.

Edited by jriker1
Posted
5 minutes ago, jriker1 said:

So the update is there, real pain.  Can't seem to shut down Emby anymore or restart it.  Have to manually kill it each time I want to update.  Anyway, saw after the next restart that there was a ServerWMC update with a compatibility fix which was surprised to see.  After restarting ServerWMC is gone from my main end user GUI.  Looks like it was totally stripped out.  Can't find it on the config screen either now.  Is still "installed" if I look at My Plugins.

If you're just updating to 4.7 now then please see this:

Thanks.

Posted

Thanks that seems odd in my brain for ServerWMC.  Isn't that plugin supposed to get everything from Windows Media Center?  So not a separate guide but everything is just talking to Windows MCE?  So when I'm looking at the guide it's the Windows guide.  When I pick a show to watch it's pulling it up from Windows MCE, when I click to record it's telling Windows MCE to record it from it's guide?

Happy2Play
Posted

Well as Luke commented 4.7, so it will not apply to you as you have not updated.  You are still on 4.6.7.0.

As WMC sunsetted in 4.7

 

Posted

It can get everything, yes, but Emby will do the recording work now. There is an issue with guide data with the plugin but we'll get a plugin update out to address that.

Posted (edited)
28 minutes ago, Happy2Play said:

Well as Luke commented 4.7, so it will not apply to you as you have not updated.  You are still on 4.6.7.0.

As WMC sunsetted in 4.7

 

I am on 4.7.2.0 and we are talking about ServerWMC not Emby for WMC.

Edited by jriker1
Posted (edited)
14 minutes ago, Luke said:

Emby will do the recording work now

Can you explain this a bit?  If I click into ServerWMC in the client when I actually can see a guide, and pick a show and click record, that recording will happen with the Emby engine and not WMC?  So then basically that show recording won't show up in WMC correct like thru my XBox 360 as an extender (not referring to the Emby addon for XBox 360)?

 

And by the way, so do I not pick anything in the highlighted area below?

 

image.png.56643c70a4abe7c3930b10dca6fb9f1c.png

Edited by jriker1
Posted
13 hours ago, jriker1 said:

If I click into ServerWMC in the client when I actually can see a guide, and pick a show and click record, that recording will happen with the Emby engine and not WMC?

No, if you do this directly in ServerWMC, then WMC will still do that recording.  But, if you schedule a recording in Emby, then Emby will be the one recording.

Basically, the ServerWMC system is just seen as another tuner to Emby now.

Posted

If you want to use guide data from ServerWMC, I've restored that in this build of the plugin here if you'd like to try it out and provide feedback:

Thanks.

Posted

Let me give it a try in the morning.

 

ebr, I have never seen in ServerWMC the ability to record.  Just seems like a desktop app that runs and provides a gateway to MCE to see what's recording and schedule stuff and pull data.

Posted

Let us know how you get on. Thanks.

Posted
10 hours ago, jriker1 said:

ebr, I have never seen in ServerWMC the ability to record. ...and schedule stuff

Right - so if you schedule stuff using ServerWMC (or WMC) then WMC will do the recording.  If, instead, you use any Emby app, Emby will do the recording (just using WMC as a "tuner").

Posted

That works!!  Thank you!!  Recorded some shows as well.  Haven't tried to play them yet.  Issue I see, at least so far thru the web interface is the guide display is slow.  Numbers don't show on the left side but think they are there as they show in the iPhone app.  So I pull up the Guide in my browser and it's blank.  Then a bit shows.  If I scroll down I get like this:

 

image.thumb.png.50209ed512d52263d3c94e9821eed86f.png

So only a bit has populated the screen.  Then wait a few more seconds and more displays under that

image.thumb.png.3ebee7839efb776ea4ac5e90af59b3c8.png

Channels and Programs tabs are similar but works.

Posted

That's odd. What browser and browser version is that?

Posted (edited)

Microsoft EdgeVersion 102.0.1245.41 (Official build) (64-bit)

 

Another example, I just clicked on Recordings which there is one.  Took a count of 20 seconds on a blank screen before the thumbnail showed.

 

Edited by jriker1

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