Lemy Danger 0 Posted March 22, 2018 Share Posted March 22, 2018 Hi, since a couple of weeks I recognised that after each restart of kodi "emby for kodi" fails to connect to my emby server. My setup is the following: emby server in a docker container. embys internal (docker internal) address is 172.18.0.2 and listens on port 8096 docker is setup to make emby on the docker host available under http://emby:80 and http://emby.mypublicdomain:80 via reverse proxy, which means it is only accassable via its hostname(s) http://emby.mypublicdomain:80 is configured in emby as remote address and is used to access emby from the internet kodi is on the same network as the docker host and is configured to connect to emby via http://emby:80 The only way I found to make it work is to reset the whole plugin and re-enter the username & hostname:port. This is working untill the next restart. Please note that I haven't changed anything on my network or docker setup, however it could well be that there was an emby, emby for kodi or kodi(libreelec) update that triggered this new unpleasent behavior. kodi.old.log I attachted the complete log but I think it boils down to this snippet: 15:15:36.954 T:140435464894208 NOTICE: EMBY.userclient -> ERROR:: HTTPConnectionPool(host='emby', port=80): Max retries exceeded with url: /emby/system/info/public?format=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb98f771750>: Failed to establish a new connection: [Errno -2] Name or service not known',))15:15:38.524 T:140434910504704 NOTICE: Previous line repeats 1 times.15:15:38.524 T:140434910504704 NOTICE: EMBY.default_movies -> Parameter string: ?dbid=23&mode=play&id=a6f469841c2e711e4683e3a4a07107ac&filename=cinevision-jericoprojekt.1080p.mkv15:15:38.524 T:140434910504704 NOTICE: EMBY.downloadutils -> Aborting download, Server Details Error: {'SSL': False, 'Token': '', 'UserId': '', 'Server': ''} url={server}/emby/Users/{UserId}/Items/a6f469841c2e711e4683e3a4a07107ac?format=json15:15:38.527 T:140434910504704 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.Exception'> Error Contents: Aborting download, Server Details Error: {'SSL': False, 'Token': '', 'UserId': '', 'Server': ''} url={server}/emby/Users/{UserId}/Items/a6f469841c2e711e4683e3a4a07107ac?format=json Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.emby.movies/default.py", line 50, in <module> entrypoint.doPlayback(itemid, dbid) File "/storage/.kodi/addons/plugin.video.emby/resources/lib/entrypoint.py", line 45, in doPlayback item = emby.getItem(itemId) File "/storage/.kodi/addons/plugin.video.emby/resources/lib/read_embyserver.py", line 113, in getItem item = self.doUtils.downloadUrl("{server}/emby/Users/{UserId}/Items/%s?format=json" % itemid) File "/storage/.kodi/addons/plugin.video.emby/resources/lib/downloadutils.py", line 233, in downloadUrl raise exc Exception: Aborting download, Server Details Error: {'SSL': False, 'Token': '', 'UserId': '', 'Server': ''} url={server}/emby/Users/{UserId}/Items/a6f469841c2e711e4683e3a4a07107ac?format=json -->End of Python script error report<-- Any help is much appreciated. Cheers, Lemy Link to comment Share on other sites More sharing options...
thibaut129 0 Posted March 24, 2018 Share Posted March 24, 2018 Same problem My Post : https://emby.media/community/index.php?/topic/57243-kodi-keep-lan-address/ Link to comment Share on other sites More sharing options...
Recommended Posts