Jump to content

Resume sync is not working in 3.1.27a


highonascii

Recommended Posts

highonascii

My sync stopped and told me to restart to resume when I resumed the sync it just started at the beginning again. 

 

This is the end of log when sync stopped....

 

 

11:31:14.439 T:7664  NOTICE: EMBY.full_sync -> ERROR:: full sync exited unexpectedly

11:31:14.451 T:7664  NOTICE: EMBY.library -> ERROR:: ("Connection broken: error(10054, 'An existing connection was forcibly closed by the remote host')", error(10054, 'An existing connection was forcibly closed by the remote host'))
                                            Traceback (most recent call last):
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\library.py", line 303, in startup
                                                FullSync(self)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\full_sync.py", line 62, in __init__
                                                self.start()
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\full_sync.py", line 158, in start
                                                self.process_library(library)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\full_sync.py", line 215, in process_library
                                                media[library['CollectionType']](library)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\helper\wrapper.py", line 38, in wrapper
                                                result = func(self, dialog=dialog, *args, **kwargs)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\full_sync.py", line 295, in tvshows
                                                for episodes in server.get_episode_by_show(show['Id']):
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\downloader.py", line 135, in get_episode_by_show
                                                for items in _get_items(query):
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\downloader.py", line 246, in _get_items
                                                result = _get(url, params, server_id=server_id)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\downloader.py", line 50, in _get
                                                return  _http("GET", get_embyserver_url(handler), {'params': params}, server_id)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\downloader.py", line 47, in _http
                                                return Emby(server_id)['http/request'](request)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\emby\core\http.py", line 92, in request
                                                r = self._requests(session or self.session or requests, data.pop('type', "GET"), **data)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\emby\core\http.py", line 235, in _requests
                                                return session.get(**kwargs)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\sessions.py", line 480, in get
                                                return self.request('GET', url, **kwargs)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\sessions.py", line 468, in request
                                                resp = self.send(prep, **send_kwargs)
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\sessions.py", line 608, in send
                                                r.content
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\models.py", line 737, in content
                                                self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
                                              File "C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\models.py", line 663, in generate
                                                raise ChunkedEncodingError(e)
                                            ChunkedEncodingError: ("Connection broken: error(10054, 'An existing connection was forcibly closed by the remote host')", error(10054, 'An existing connection was forcibly closed by the remote host'))
11:31:14.473 T:7664  NOTICE: EMBY.library -> ---<[ library ]
 

 

This is the beginning of next log when I tried to resume...

 

11:31:35.362 T:13144  NOTICE: EMBY.service -> -->[ service ]

11:31:35.378 T:13144  NOTICE: EMBY.service -> Delay startup by 0 seconds.
11:31:35.391 T:13144  NOTICE: EMBY.entrypoint.service -> --->>>[ EMBY ]
11:31:35.391 T:13144  NOTICE: EMBY.entrypoint.service -> Version: 3.1.27a
11:31:35.391 T:13144  NOTICE: EMBY.entrypoint.service -> KODI Version: 18.0-BETA3 Git:20180921-c600632882
11:31:35.457 T:13144  NOTICE: EMBY.entrypoint.service -> Platform: Windows
11:31:35.459 T:13144  NOTICE: EMBY.entrypoint.service -> Python Version: 2.7.13 (default, Jul 14 2017, 17:41:26) [MSC v.1900 64 bit (AMD64)]
11:31:35.463 T:13144  NOTICE: EMBY.entrypoint.service -> Using dynamic paths: True
11:31:35.464 T:13144  NOTICE: EMBY.entrypoint.service -> Log Level: 1
11:31:35.483 T:13144  NOTICE: EMBY.entrypoint.service -> ---[ db/None ]
11:31:35.551 T:13144  NOTICE: Emby.emby.core.configuration -> Begin http constructor.
11:31:35.558 T:13144  NOTICE: Emby -> ---[ START EMBYCLIENT ]---
11:31:35.697 T:13144  NOTICE: EMBY.entrypoint.service -> --[ check updates/181127223 ]
11:31:36.153 T:13144  NOTICE: EMBY.entrypoint.service -> --[ objects/181127223 ]
11:31:36.278 T:13144  NOTICE: EMBY.client -> DeviceId loaded: 3346BC871C0645E993308596223EFB3C
11:31:36.469 T:9872  NOTICE: EMBY.monitor -> --->[ listener ]
11:31:36.470 T:13144  NOTICE: EMBY.connect -> --[ server/default ]
11:31:36.476 T:13144  NOTICE: Emby.emby.core.configuration -> Begin app constructor.
11:31:36.540 T:13144  NOTICE: Emby.emby.core.connection_manager -> Begin connect
11:31:36.541 T:13144  NOTICE: Emby.emby.core.connection_manager -> Begin getAvailableServers
11:31:36.541 T:13144  NOTICE: Emby.emby.core.connection_manager -> Begin getConnectServers
11:31:37.080 T:13144   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:31:38.204 T:13144  NOTICE: Emby.emby.core.connection_manager -> Found Servers: [{u'Name': u'HIGHON', u'Id': u'b74514dc16de4f95a28589624308d1e0', u'Address': u'http://{emby-server}'}]
11:31:38.206 T:13144  NOTICE: Emby.emby.core.connection_manager -> Begin connectToServers, with 3 servers
11:31:38.206 T:13144  NOTICE: Emby.emby.core.connection_manager -> begin connectToServer
11:31:38.206 T:13144  NOTICE: Emby.emby.core.connection_manager -> beginning connection tests
11:31:38.206 T:13144  NOTICE: Emby.emby.core.connection_manager -> testing connection mode 2 with server Baconfeet_4 400TB
11:31:38.206 T:13144  NOTICE: Emby.emby.core.connection_manager -> tryConnect url: http://{emby-server}/emby/system/info/public
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/dacd28b94865ee33083b4521b0c99ce5/index.bdmv
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/dacd28b94865ee33083b4521b0c99ce5/BDMV/index.bdmv
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/82b1c0808d3cb05b77dbb7f111d6d6df/VIDEO_TS.IFO
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/82b1c0808d3cb05b77dbb7f111d6d6df/VIDEO_TS/VIDEO_TS.IFO
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/82b1c0808d3cb05b77dbb7f111d6d6df/index.bdmv
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/82b1c0808d3cb05b77dbb7f111d6d6df/BDMV/index.bdmv
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/82b1c0808d3cb05b77dbb7f111d6d6df/VIDEO_TS.IFO
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/82b1c0808d3cb05b77dbb7f111d6d6df/VIDEO_TS/VIDEO_TS.IFO
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/82b1c0808d3cb05b77dbb7f111d6d6df/index.bdmv
11:31:46.208 T:13144  NOTICE: Emby.emby.core.http -> ERROR:: HTTPConnectionPool(host='172.18.0.7', port=8096): Max retries exceeded with url: /emby/system/info/public (Caused by ConnectTimeoutError(<libraries.requests.packages.urllib3.connection.HTTPConnection object at 0x00000273C2B87D68>, 'Connection to 172.18.0.7 timed out. (connect timeout=8)'))
11:31:46.208 T:13144  NOTICE: Emby.emby.core.connection_manager -> ERROR::
11:31:46.208 T:13144  NOTICE: Emby.emby.core.connection_manager -> ERROR:: test failed for connection mode 2 with server Baconfeet_4 400TB
11:31:46.208 T:13144  NOTICE: Emby.emby.core.connection_manager -> testing connection mode 0 with server Baconfeet_4 400TB
11:31:46.208 T:13144  NOTICE: Emby.emby.core.connection_manager -> tryConnect url: http://{emby-server}/emby/system/info/public
11:31:54.211 T:13144  NOTICE: Emby.emby.core.http -> ERROR:: HTTPConnectionPool(host='172.18.0.7', port=8096): Max retries exceeded with url: /emby/system/info/public (Caused by ConnectTimeoutError(<libraries.requests.packages.urllib3.connection.HTTPConnection object at 0x00000273B3C35550>, 'Connection to 172.18.0.7 timed out. (connect timeout=8)'))
11:31:54.211 T:13144  NOTICE: Emby.emby.core.connection_manager -> ERROR::
11:31:54.211 T:13144  NOTICE: Emby.emby.core.connection_manager -> ERROR:: test failed for connection mode 0 with server Baconfeet_4 400TB
11:31:54.211 T:13144  NOTICE: Emby.emby.core.connection_manager -> testing connection mode 1 with server Baconfeet_4 400TB
11:31:54.211 T:13144  NOTICE: Emby.emby.core.connection_manager -> tryConnect url: https://{emby-server}/emby/system/info/public
11:31:54.311 T:13144   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:31:54.437 T:13144  NOTICE: Emby.emby.core.connection_manager -> calling onSuccessfulConnection with connection mode 1 with server Baconfeet_4 400TB
11:31:54.558 T:13144   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:31:54.645 T:13144  NOTICE: Emby.emby.core.connection_manager -> connectusersignedin {u'DisplayName': u'highonascii', u'Name': u'highonascii', u'ImageUrl': u'https://emby.media/community/uploads/profile/photo-342014.jpg'u'ExpDate': None, u'Id': u'342014', u'IsSupporter': None, u'Email': u'highonascii@.com', u'IsActive': u'true'}
11:31:54.719 T:13144   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:31:55.055 T:13144   ERROR: Previous line repeats 1 times.
11:31:55.055 T:13144  NOTICE: Emby.emby.client -> User is authenticated.
11:31:55.121 T:13144   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:31:55.490 T:8708   ERROR: Previous line repeats 1 times.
11:31:55.490 T:8708  NOTICE: Emby.emby.core.ws_client -> Websocket url: wss://{emby-server}/embywebsocket?api_key={emby-token}&device_id=3346BC871C0645E993308596223EFB3C
11:31:55.512 T:13144  NOTICE: EMBY.setup -> ---<[ setup ]
11:31:55.669 T:9224  NOTICE: EMBY.library -> --->[ library ]
11:31:55.693 T:8708  NOTICE: Emby.emby.core.ws_client -> --->[ websocket ]
11:31:55.736 T:9224   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:31:56.118 T:9224   ERROR: Previous line repeats 3 times.
11:31:56.118 T:9224  NOTICE: EMBY.database -> [emby] 1 rows updated.
11:31:56.186 T:9224  NOTICE: Previous line repeats 7 times.
11:31:56.186 T:9224   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:31:59.296 T:9740   ERROR: Previous line repeats 1 times.
11:32:37.665 T:9224  NOTICE: EMBY.full_sync -> starting sync with [u'442458f6cc8eb4ccaea6eb60f642fd40', u'29391378c4118b35b77f84980d25f0a6', u'a0153ded658be2810f76a8829e78d300', u'f137a2dd21bbc1b99aa5c0f6bf02a805', u'767bffe4f11c93ef34b805451a696a4e', u'6752d6de5c241cad8fb23a9475dfeb85', u'dd0e2f4d923f4f03d86eea42dba8b912', u'Boxsets:']
11:32:37.668 T:9224   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:32:37.764 T:9224  NOTICE: EMBY.helper.wrapper -> Processing Archived Shows: 442458f6cc8eb4ccaea6eb60f642fd40
11:32:37.780 T:9224   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:32:38.108 T:9224   ERROR: Previous line repeats 1 times.
11:32:38.108 T:9224  NOTICE: EMBY.objects.tvshows -> UPDATE tvshow [2/1] 3rd Rock from the Sun: d82c7419c8ef70ad89625e889e9e7702
11:32:38.136 T:9224   ERROR: C:\Users\HighOnBeats\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\libraries\requests\packages\urllib3\connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
11:32:38.599 T:9224   ERROR: Previous line repeats 2 times.
11:32:38.599 T:9224  NOTICE: EMBY.objects.tvshows -> UPDATE episode [2/1] a16a8354f2ec2b34087a178c3f29cc50: Brains and Eggs
11:32:38.605 T:9224  NOTICE: EMBY.objects.tvshows -> UPDATE episode [2/2] ca96012282f22d107f73c925a38ce4af: Post Nasal Dick

 

 

 

Hope that helps out! :) I still have verify connection off by the way.

Edited by highonascii
Link to comment
Share on other sites

highonascii
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/82b1c0808d3cb05b77dbb7f111d6d6df/BDMV/index.bdmv
11:31:41.504 T:13220 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby.tvshows/82b1c0808d3cb05b77dbb7f111d6d6df/VIDEO_TS.IFO
 
Theses lines repeated 10000+ times...

 

 

 
11:32:38.599 T:9224  NOTICE: EMBY.objects.tvshows -> UPDATE episode [2/1] a16a8354f2ec2b34087a178c3f29cc50: Brains and Eggs
11:32:38.605 T:9224  NOTICE: EMBY.objects.tvshows -> UPDATE episode [2/2] ca96012282f22d107f73c925a38ce4af: Post Nasal Dick
 
These lines were still listing because im trying to update one more time, that is why it ends...

Only thing I edited out of log just so you know. Didn't wanna make you look at 20000+ unimportant lines hehe

Edited by highonascii
Link to comment
Share on other sites

highonascii

Thanks, I will continue to look into this. But looks like that 502 error hasn't returned.

Yeah I haven't noticed that since I turned verify connection off. I still gotta look into the ssl cert this weekend when I have some real free time.

  • Like 1
Link to comment
Share on other sites

highonascii

@@highonascii

 

Are you able to test this build. Let me know if you still experience issues with the resume. Make sure auto-update for add-ons is not enabled.

I'll try it out and let you know if I run into anything. Going to update my smallest category and force a resume to see. Since I did finally get a complete sync earlier.

  • Like 1
Link to comment
Share on other sites

highonascii

It seemed to resume update where it left off so looks fixed to me by trying one category for speed and time sake.

  • Like 1
Link to comment
Share on other sites

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