Jump to content

Manually adding server error


HumanPanda
Go to solution Solved by Angelblue05,

Recommended Posts

HumanPanda

I am getting this error with manually adding a server. It works fine with EmbyConnect though. This is the newest one 2.2.25.

Edited by phiyuku
Link to comment
Share on other sites

HumanPanda

Relevant Bits:

18:55:39 T:7808  NOTICE: EMBY.connectionmanager -> tryConnect url: http://192.168.1.185:8096/emby/system/info/public
18:55:39 T:7808  NOTICE: EMBY.connectionmanager -> ConnectionManager response status: 200
18:55:39 T:7808  NOTICE: EMBY.connectionmanager -> connectToAddress http://192.168.1.185:8096 succeeded
18:55:39 T:7808  NOTICE: EMBY.connectionmanager -> begin connectToServer
18:55:39 T:7808  NOTICE: EMBY.connectionmanager -> beginning connection tests
18:55:39 T:7808  NOTICE: EMBY.connectionmanager -> testing connection mode 2 with server Media-Server
18:55:39 T:7808  NOTICE: EMBY.connectionmanager -> tryConnect url: http://192.168.1.185:8096/emby/system/info/public
18:55:39 T:7808  NOTICE: EMBY.connectionmanager -> ConnectionManager response status: 200
18:55:39 T:7808  NOTICE: EMBY.connectionmanager -> calling onSuccessfulConnection with connection mode 2 with server Media-Server
18:55:39 T:7808  NOTICE: EMBY.credentials -> credentialsupdated
18:55:39 T:7808  NOTICE: EMBY.initialsetup -> Server: {'ManualAddress': 'http://192.168.1.185:8096', 'Name': u'Media-Server', 'RemoteAddress': u'https://remoteaddress.com:444', 'LocalAddress': u'http://192.168.1.185:8096', 'DateLastAccessed': '2016-09-10T18:55:39Z', 'LastConnectionMode': 2, 'Id': u'0b8d5174c38b4bbda50d5f94cff615d1'}
18:55:39 T:7808 WARNING: CSkinInfo: failed to load skin settings
18:55:39 T:7504   ERROR: Control 155 in window 13000 has been asked to focus, but it can't
18:55:42 T:7808   ERROR: Previous line repeats 5 times.
18:55:42 T:7808  NOTICE: EMBY.initialsetup -> ERROR:: No user selected
                                            Traceback (most recent call last):
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\initialsetup.py", line 117, in _user_identification
                                                user = self.connectmanager.login(server)
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\connectmanager.py", line 165, in login
                                                raise RuntimeError("No user selected")
                                            RuntimeError: No user selected
18:55:42 T:7808  NOTICE: EMBY.service -> Server is online and ready.
18:55:42 T:9500  NOTICE: EMBY.userclient -> ----===## Starting UserClient ##===----
18:55:42 T:9500  NOTICE: EMBY.userclient -> token migration completed
18:55:42 T:9500 WARNING: CSkinInfo: failed to load skin settings
18:55:43 T:7808  NOTICE: EMBY.service -> Not authenticated yet.
18:55:49 T:9500  NOTICE: EMBY.credentials -> credentialsupdated
18:55:49 T:9500  NOTICE: EMBY.userclient -> user: {u'ServerId': u'0b8d5174c38b4bbda50d5f94cff615d1', u'SessionInfo': {u'UserName': u'HomeKodiSync', u'DeviceName': u'Kodi-LivingRoom', u'ApplicationVersion': u'2.2.25', u'QueueableMediaTypes': [], u'LastActivityDate': u'2016-09-10T22:56:40.3855900Z', u'UserId': u'65148654965943f58f7f05d5b3963307', u'SupportsRemoteControl': False, u'Client': u'Kodi', u'SupportedCommands': [], u'AdditionalUsers': [], u'PlayableMediaTypes': [], u'PlayState': {u'CanSeek': False, u'IsMuted': False, u'RepeatMode': u'RepeatNone', u'IsPaused': False}, u'Id': u'c5590310ce7c70a930cd61730c6b69de', u'DeviceId': u'906381F81A0341098E3D2EC58D7A28C0'}, u'User': {u'Name': u'HomeKodiSync', u'HasConfiguredEasyPassword': False, u'LastActivityDate': u'2016-09-10T22:56:40.3855900Z', u'HasPassword': True, u'LastLoginDate': u'2016-09-10T22:56:40.3349340Z', u'Policy': {u'EnabledDevices': [], u'EnableMediaPlayback': True, u'EnableRemoteControlOfOtherUsers': False, u'BlockUnratedItems': [], u'EnableAllDevices': True, u'InvalidLoginAttemptCount': 0, u'EnableUserPreferenceAccess': True, u'EnableLiveTvManagement': False, u'EnableLiveTvAccess': False, u'EnableSync': False, u'IsAdministrator': False, u'EnableContentDeletion': False, u'EnabledChannels': [], u'IsDisabled': False, u'EnableSyncTranscoding': False, u'EnableAudioPlaybackTranscoding': True, u'EnableSharedDeviceControl': False, u'AccessSchedules': [], u'IsHidden': True, u'EnableContentDownloading': False, u'EnableVideoPlaybackTranscoding': True, u'EnabledFolders': [u'c8ca023cdbb96c78e4de5fcb477df512', u'd4f1aeb3b8343a7c04f02bd596d038f3'], u'EnableAllChannels': True, u'BlockedTags': [], u'EnableAllFolders': False, u'EnablePublicSharing': False, u'EnablePlaybackRemuxing': True}, u'ServerId': u'0b8d5174c38b4bbda50d5f94cff615d1', u'Configuration': {u'SubtitleMode': u'Default', u'HidePlayedInLatest': True, u'EnableChannelView': False, u'DisplayUnairedEpisodes': False, u'GroupedFolders': [], u'DisplayCollectionsView': False, u'OrderedViews': [], u'PlainFolderViews': [], u'LatestItemsExcludes': [], u'EnableLocalPassword': False, u'RememberAudioSelections': True, u'RememberSubtitleSelections': True, u'DisplayMissingEpisodes': False, u'PlayDefaultAudioTrack': True, u'EnableNextEpisodeAutoPlay': True}, u'Id': u'65148654965943f58f7f05d5b3963307', u'HasConfiguredPassword': True}, u'AccessToken': u'97965610e968475597b31563f1c5f08f'}
18:55:49 T:9500  NOTICE: EMBY.userclient -> userid migration completed
18:55:49 T:9500  NOTICE: EMBY.userclient -> token migration completed
18:55:49 T:9500  NOTICE: EMBY.downloadutils -> ERROR:: Unknown error connecting to: /emby/Users?format=json
18:55:49 T:9500  NOTICE: EMBY.downloadutils -> Requests session started on:
18:55:49 T:9500  NOTICE: EMBY.downloadutils -> ERROR:: Unknown error connecting to: /emby/Users/?format=json
18:55:49 T:9500   ERROR: Exception in thread Thread-8:
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\threading.py", line 810, in __bootstrap_inner
                                                self.run()
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\userclient.py", line 285, in run
                                                self._authenticate()
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\userclient.py", line 196, in _authenticate
                                                self._load_user(authenticated=True)
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\userclient.py", line 236, in _load_user
                                                self._set_user_server()
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\userclient.py", line 147, in _set_user_server
                                                settings('username', value=self._user['Name'])
                                            TypeError: string indices must be integers, not str
18:55:49 T:7808  NOTICE: EMBY.kodimonitor -> Kodi monitor started.
18:55:49 T:9516  NOTICE: EMBY.websocket_client -> websocket url: ?api_key=&deviceId=906381F81A0341098E3D2EC58D7A28C0
18:55:49 T:9520  NOTICE: EMBY.librarysync -> ---===### Starting LibrarySync ###===---
18:55:49 T:9516  NOTICE: EMBY.websocket_client -> ----===## Starting WebSocketClient ##===----
18:55:49 T:9520  NOTICE: EMBY.librarysync -> Database version:
18:55:49 T:9520  NOTICE: EMBY.librarysync -> SyncDatabase (started)
18:55:49 T:9520  NOTICE: EMBY.utils -> Toggling screensaver:  {"id":0,"jsonrpc":"2.0","result":true}
18:55:49 T:9520  NOTICE: EMBY.artwork -> Using Image Cache Thread Count: 25
18:55:49 T:9520  NOTICE: EMBY.downloadutils -> ERROR:: Unknown error connecting to: /emby/Users//Views?format=json
18:55:49 T:9520  NOTICE: EMBY.librarysync -> ERROR:: string indices must be integers, not str
                                            Traceback (most recent call last):
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 908, in run
                                                self.run_internal()
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 983, in run_internal
                                                librarySync = self.startSync()
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 100, in startSync
                                                completed = self.fullSync()
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 252, in fullSync
                                                self.maintainViews(embycursor, kodicursor)
                                              File "C:\Users\Movies\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 362, in maintainViews
                                                grouped_views = result['Items']
                                            TypeError: string indices must be integers, not str
18:55:52 T:7504   ERROR: DXGI_ERROR_INVALID_CALL

If I was to go to the site:

 

http://192.168.1.185:8096/emby/Users/Views?format=json

 

I get:

 

{"ResponseStatus":{"ErrorCode":"SecurityException","Message":"Access token is required."}}

 

Note: What might be unique about my setup is I don't have any users showing at all as they are all set to as hidden. It throws an error if wrong password so that can't be it. What is also weird is when I try to login after putting the emby server address, it gives me a screen to select manual login or cancel. I can't selefcct either as up down and whatever buttons don't go anywhere. Enter does nothing too. The only one that works is backspace and that brings me to the login screen which is where I put my login information.

 

Also not user permissions as using an admin user has the same result.

Edited by phiyuku
Link to comment
Share on other sites

HumanPanda

Just wanted to add this. When hitting cancel it gives me the login screen as well. So my guess is the login screen I am actually using is using a blank hostname or something.

 

Edit: Got it. I enabled one user (can be any user) to show and the up down arrows were working and I was able to select Manual Login. So the root bug is when no users show you are unable to select any option including Manual Login.

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

  • Solution
Angelblue05

Edit: Please test version 2.2.28

 

Let me know if it resolves the situation. Thanks

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...