Jump to content

Messages plugin causing SessionManager errors


Smaky

Recommended Posts

Whenever I start the server (portable Version 3.2.70.17 beta). I am getting an the following error. Not sure what to make out of it.

2018-02-21 17:18:37.067 Info Main: Application path: H:\Emby-Server\system\EmbyServer.dll
2018-02-21 17:18:37.071 Info Main: Emby
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
2018-02-21 17:18:38.759 Info Main: Tray icon path: H:\Emby-Server\system\electron\embytray
2018-02-21 17:18:39.334 Info App: Application version: 3.2.70.17
2018-02-21 17:18:39.336 Info App: Loading assemblies
2018-02-21 17:18:41.099 Info App: Loading AutoBoxSets, Version=1.1.2.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading CoverArt, Version=4.0.70.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Emby.AutoOrganize, Version=1.1.6.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Emby.Kodi.SyncQueue, Version=2.0.1.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading EmbyReports, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading FolderSync, Version=3.1.2.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading GenreCleaner, Version=1.0.5.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MBBackup, Version=1.1.9.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Plugins.Anime, Version=1.2.3.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Plugins.SmtpNotifications, Version=3.1.3.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Plugins.Trailers, Version=1.1.6.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Plugins.TuneIn, Version=1.1.9.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Messages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading RokuMetadata, Version=3.1.3.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading statistics, Version=2.0.4.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Plugins.StudioCleaner, Version=3.1.4.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.WebDashboard, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Controller, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Emby.Photos, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Emby.Server.Implementations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Emby.Server.MediaEncoding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Emby.Dlna, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.LocalMetadata, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading MediaBrowser.XbmcMetadata, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Emby.Server.CinemaMode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Emby.Server.Connect, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:41.099 Info App: Loading Emby.Server.Sync, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2018-02-21 17:18:42.115 Info SqliteUserRepository: Sqlite version: 3.22.0
2018-02-21 17:18:42.117 Info SqliteUserRepository: Sqlite compiler options: COMPILER=msvc-1500,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3,ENABLE_FTS4,ENABLE_FTS5,ENABLE_JSON1,ENABLE_RTREE,MAX_TRIGGER_DEPTH=100,TEMP_STORE=1,THREADSAFE=1
2018-02-21 17:18:42.159 Info SqliteUserRepository: Default journal_mode for H:\Emby-Server\programdata\data\users.db is wal
2018-02-21 17:18:42.163 Info SqliteUserRepository: PRAGMA synchronous=1
2018-02-21 17:18:42.217 Info AuthenticationRepository: Default journal_mode for H:\Emby-Server\programdata\data\authentication.db is wal
2018-02-21 17:18:42.218 Info AuthenticationRepository: PRAGMA synchronous=1
2018-02-21 17:18:42.497 Info DeviceManager: Default journal_mode for H:\Emby-Server\programdata\data\devices.db is wal
2018-02-21 17:18:42.497 Info DeviceManager: PRAGMA synchronous=1
2018-02-21 17:18:42.558 Info ActivityRepository: Default journal_mode for H:\Emby-Server\programdata\data\activitylog.db is wal
2018-02-21 17:18:42.558 Info ActivityRepository: PRAGMA synchronous=1
2018-02-21 17:18:42.562 Info SqliteDisplayPreferencesRepository: Default journal_mode for H:\Emby-Server\programdata\data\displaypreferences.db is wal
2018-02-21 17:18:42.562 Info SqliteDisplayPreferencesRepository: PRAGMA synchronous=1
2018-02-21 17:18:42.572 Info SqliteItemRepository: Default journal_mode for H:\Emby-Server\programdata\data\library.db is wal
2018-02-21 17:18:42.572 Info SqliteItemRepository: PRAGMA synchronous=1
2018-02-21 17:18:43.633 Error SqliteUserDataRepository: Error in ImportUserDataIfNeeded
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	Constraint: NOT NULL constraint failed: userdata.key
	SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at SQLitePCL.pretty.DatabaseConnection.Execute(IDatabaseConnection This, String sql)
	   at Emby.Server.Implementations.Data.SqliteUserDataRepository.<>c__DisplayClass9_0.<ImportUserData>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at Emby.Server.Implementations.Data.ManagedConnection.RunInTransaction(Action`1 action, TransactionMode mode)
	   at Emby.Server.Implementations.Data.SqliteUserDataRepository.ImportUserData(ManagedConnection connection, String file)
	   at Emby.Server.Implementations.Data.SqliteUserDataRepository.ImportUserDataIfNeeded(ManagedConnection connection)
	   at Emby.Server.Implementations.Data.SqliteUserDataRepository.Initialize(ReaderWriterLockSlim writeLock, ManagedConnection managedConnection)
	SQLitePCL.pretty.SQLiteException
	   at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
	   at SQLitePCL.pretty.StatementImpl.MoveNext()
	   at SQLitePCL.pretty.DatabaseConnection.Execute(IDatabaseConnection This, String sql)
	   at Emby.Server.Implementations.Data.SqliteUserDataRepository.<>c__DisplayClass9_0.<ImportUserData>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode)
	   at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode)
	   at Emby.Server.Implementations.Data.ManagedConnection.RunInTransaction(Action`1 action, TransactionMode mode)
	   at Emby.Server.Implementations.Data.SqliteUserDataRepository.ImportUserData(ManagedConnection connection, String file)
	   at Emby.Server.Implementations.Data.SqliteUserDataRepository.ImportUserDataIfNeeded(ManagedConnection connection)
	   at Emby.Server.Implementations.Data.SqliteUserDataRepository.Initialize(ReaderWriterLockSlim writeLock, ManagedConnection managedConnection)
	
2018-02-21 17:18:43.689 Info SqliteNotificationsRepository: Default journal_mode for H:\Emby-Server\programdata\data\notifications.db is wal
2018-02-21 17:18:43.689 Info SqliteNotificationsRepository: PRAGMA synchronous=1
2018-02-21 17:18:44.207 Info App: Emby.Kodi.SyncQueue IS NOW STARTING!!!
Link to comment
Share on other sites

I am also noticing some (probably related errors down into the log)...

2018-02-21 17:18:56.678 Info UserManager: Authentication request for XXXX has succeeded.
2018-02-21 17:18:56.680 Info SessionManager: Reissuing access token: a64ad9bba0b74d0e85a4684293f267e2
2018-02-21 17:18:56.854 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
Link to comment
Share on other sites

And then some errors that I believe are related to DNLA:

2018-02-21 17:18:58.372 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	
2018-02-21 17:18:58.405 Info Dlna: DLNA Session created for [HTS]HT-NONE - E4500
2018-02-21 17:18:58.411 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	
2018-02-21 17:18:58.444 Info Dlna: DLNA Session created for 192.168.10.77 - Sonos CONNECT Living Room - Sonos CONNECT
2018-02-21 17:18:58.790 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	
2018-02-21 17:18:58.804 Info Dlna: DLNA Session created for 192.168.10.76 - Sonos PLAY:5 Master Bedroom - Sonos PLAY:5
2018-02-21 17:18:59.919 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
Link to comment
Share on other sites

 

And then some errors that I believe are related to DNLA:

2018-02-21 17:18:58.372 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	
2018-02-21 17:18:58.405 Info Dlna: DLNA Session created for [HTS]HT-NONE - E4500
2018-02-21 17:18:58.411 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	
2018-02-21 17:18:58.444 Info Dlna: DLNA Session created for 192.168.10.77 - Sonos CONNECT Living Room - Sonos CONNECT
2018-02-21 17:18:58.790 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	
2018-02-21 17:18:58.804 Info Dlna: DLNA Session created for 192.168.10.76 - Sonos PLAY:5 Master Bedroom - Sonos PLAY:5
2018-02-21 17:18:59.919 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()

 

Remove the messenger plugin.

Link to comment
Share on other sites

Not a problem.. I can login to the server with no issues.

 

Remove the messenger plugin.

 

Ok.. will remove it.. does this mean the pluggin needs some fixes to avoid raising these errores with DLNA?

Link to comment
Share on other sites

Not a problem.. I can login to the server with no issues.

 

 

Ok.. will remove it.. does this mean the pluggin needs some fixes to avoid raising these errores with DLNA?

 

You'll want to consult with the developer but it appears that way, yes. @@chef

Link to comment
Share on other sites

Well.. that seems to get rid of the SessionManafer errors... however the initial SqliteUserDataRepository: Error in ImportUserDataIfNeeded is still there...any pointers?

Link to comment
Share on other sites

I noticed that recently (I belive since update to server version 3.2.70.17 beta, the Messenger Plugin causing SessionManager errors:

2018-02-21 17:18:58.372 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	
2018-02-21 17:18:58.405 Info Dlna: DLNA Session created for [HTS]HT-NONE - E4500
2018-02-21 17:18:58.411 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	
2018-02-21 17:18:58.444 Info Dlna: DLNA Session created for 192.168.10.77 - Sonos CONNECT Living Room - Sonos CONNECT
2018-02-21 17:18:58.790 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	
2018-02-21 17:18:58.804 Info Dlna: DLNA Session created for 192.168.10.76 - Sonos PLAY:5 Master Bedroom - Sonos PLAY:5
2018-02-21 17:18:59.919 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.2.70.17
	Command line: H:\Emby-Server\system\EmbyServer.dll H:\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 8
	Program data path: H:\Emby-Server\programdata
	Application directory: H:\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()

Once the I uninstalled the plugin these errors went away.

Link to comment
Share on other sites

  • 3 months later...
horstepipe

hey

since a couple of months I don't see any user coming online/logging in in Emby dashboard anymore. Playback and when a user disconnects is being reported fine.

I always thought it's caused by cloudflare or nginx, but now I bypassed both and connected directly to my server with the same result.

 

Emby server is running on a Ubuntu 16.04 VPS.

Any ideas @@Luke ?

Edited by horstepipe
Link to comment
Share on other sites

Try disabling your nginx and cloudfare setups, then build them back out. Unfortunately I'm going to be able to debug your personal network configuration to see what might be happening. Thanks.

Link to comment
Share on other sites

pir8radio

I am not seeing this issue in my  cloudflare->nginx->emby  setup using windows os.

 

5b17f5b261dbc_Capture.png

Edited by pir8radio
  • Like 1
Link to comment
Share on other sites

horstepipe

Try disabling your nginx and cloudfare setups, then build them back out. Unfortunately I'm going to be able to debug your personal network configuration to see what might be happening. Thanks.

As I said I already disabled nginx an connected directly via port 8096 without using Cloudflare

Edited by horstepipe
Link to comment
Share on other sites

horstepipe

And I didn’t see any change...

I‘m not running any other fancy stuff on this vps what could cause that problem.

Link to comment
Share on other sites

horstepipe

So @@Luke what I really want to avoid is setting up a completely new vps, copying my whole Emby server configuration to it and at the end facing the same problem because it is caused by some misconfiguration (e.g. messed up system.xml caused through updating Emby server or similar) in Emby server after all.

Link to comment
Share on other sites

horstepipe

@@Luke Did you even take a look in the log I attached?

What about the error showing up there?

2018-06-06 15:38:19.969 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.4.1.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby-server -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.4.0.47
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 6
	Program data path: /var/lib/emby-server
	Application directory: /opt/emby-server/system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
Link to comment
Share on other sites

nobodyshome

Hi, just like to help out and confirm I have the same problem it seems:

Error SessionManager: Error in event handler
        *** Error Report ***
        Version: 3.4.1.0
        Command line: /system/EmbyServer.dll -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
        Operating system: Unix 4.9.0.6
        64-Bit OS: True
        64-Bit Process: True
        User Interactive: True
        Processor count: 8
        Program data path: /config
        Application directory: /system
        System.NullReferenceException: Object reference not set to an instance of an object.
           at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
           at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
        System.NullReferenceException
           at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
           at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()

It started right after a restart where i selected the option "Send On Session Activity". Removing the Messenge plugin did fix the issue, reinstalling it preseted the error again.

 

If any more info is required let me know and ill try and get it to whoever needs it.

Edited by nobodyshome
Link to comment
Share on other sites

 

@@Luke Did you even take a look in the log I attached?

What about the error showing up there?

2018-06-06 15:38:19.969 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 3.4.1.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby-server -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.4.0.47
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 6
	Program data path: /var/lib/emby-server
	Application directory: /opt/emby-server/system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()
	System.NullReferenceException
	   at Messages.Api.MessageService.SessionManager_SessionStarted(Object sender, SessionEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0`1.<QueueEventIfNotNull>b__0()

 

Remove the Messenger plugin.

  • Like 1
Link to comment
Share on other sites

pir8radio

yes that was it, thanks...

@@horstepipe

 

Yea I don't use that plugin..  So you are good?  A previous post requested some info.. But sounds like you are set.

  • Like 1
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...