marcelveldt 736 Posted November 14, 2014 Author Share Posted November 14, 2014 Here is what i found in the xbmb3c log In mbs log at the same time: This portion says there is no backdrop but there is one when i look in metadata manager Well, I think I just replicated your problem... Is the error always stating the same image ? http://192.168.13.198:8096/mediabrowser/Items/c9b5eb33313f76b065746f128de40e31/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/620/350/0? Please note the bold selection... Is that always the same in the errors ? I'm now looking at the code of XBMB3C and see that this is a placeholder tag that shouldn't ever be returned. Could you please confirm this ? If so, I think we can have a solution very fast :-) Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 14, 2014 Share Posted November 14, 2014 (edited) Well, I think I just replicated your problem... Is the error always stating the same image ? http://192.168.13.198:8096/mediabrowser/Items/c9b5eb33313f76b065746f128de40e31/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/620/350/0? Please note the bold selection... Is that always the same in the errors ? I'm now looking at the code of XBMB3C and see that this is a placeholder tag that shouldn't ever be returned. Could you please confirm this ? If so, I think we can have a solution very fast :-) Indeed Here is the one from my other server ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/6aed3694c80f9f7af419b912f21283f1/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/620/350/0? So yes it is Edited November 14, 2014 by saitoh183 Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 14, 2014 Author Share Posted November 14, 2014 Indeed Here is the one from my other server ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/6aed3694c80f9f7af419b912f21283f1/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/620/350/0? So yes it is Sorry... Got excited too soon... that placeholder is meant to be there ;-) Link to comment Share on other sites More sharing options...
xnappo 1593 Posted November 14, 2014 Share Posted November 14, 2014 Yeah, whoever made it has no creativity Should have been 1BADA55CA700080085000DEADBEEF etc Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 14, 2014 Author Share Posted November 14, 2014 Yeah, whoever made it has no creativity Should have been 1BADA55CA700080085000DEADBEEF etc haha lol :-) Well, it looks like the error occurs only on the second image from the backdrops. Do you think it's an issue in MB3 server ? ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/6aed3694c80f9f7af419b912f21283f1/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/620/350/0? And to make it even more creative, it's only occurring with Favorite TV shows and Favorite Movies :-) I checked the json output and this url is actually returning from the MB3 server. I have the problem replicated myself now too... For now I'll make a temporary workaround that only the primary backdrop will be used but I'm guessing it's somewhere a little flaw in either XBMB3C or MB3. Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 14, 2014 Author Share Posted November 14, 2014 (edited) @saitoh183, I've created a small fix i the helperservice for the titan skin. Could you please try this testversion out for me to see if it resolves your issues ? In short; The errors were stating that the extrafanart could not be found. With the change I only get the main fanart image of every item, let's see if that works :-) script.titanskin.helpers-test.zip Edited November 14, 2014 by marcelveldt Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 14, 2014 Share Posted November 14, 2014 haha lol :-) Well, it looks like the error occurs only on the second image from the backdrops. Do you think it's an issue in MB3 server ? ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/6aed3694c80f9f7af419b912f21283f1/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/620/350/0? And to make it even more creative, it's only occurring with Favorite TV shows and Favorite Movies :-) I checked the json output and this url is actually returning from the MB3 server. I have the problem replicated myself now too... For now I'll make a temporary workaround that only the primary backdrop will be used but I'm guessing it's somewhere a little flaw in either XBMB3C or MB3. I only have 1 backdrop per show/movie...no extrafanart folder or extrathumbs Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 14, 2014 Author Share Posted November 14, 2014 I only have 1 backdrop per show/movie...no extrafanart folder or extrathumbs Yes, that is exactly the problem... There are muliple fanart images returned by the json from the server but there's only one image... So, with the script I just gave you I think things are solved for now... Please let me know Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 14, 2014 Share Posted November 14, 2014 Yes, that is exactly the problem... There are muliple fanart images returned by the json from the server but there's only one image... So, with the script I just gave you I think things are solved for now... Please let me know Does that mean if i had extra fanart/thumbs the problem wouldnt happen? Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 14, 2014 Author Share Posted November 14, 2014 Does that mean if i had extra fanart/thumbs the problem wouldnt happen? Yes, that's why the problem was so hard to find :-) I discovered the issue by accident today when I added a TV show without extra fanart to my own setup... Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 14, 2014 Share Posted November 14, 2014 Yes, that's why the problem was so hard to find :-) I discovered the issue by accident today when I added a TV show without extra fanart to my own setup... Ok...So far your fix seems to work. I had a few timeouts issues with the server x.x.x.190 but on my restored server (the orginal server x.x.x.198) there hasnt been any yet. So if i were to add just 1 extrafanart, this problem would be gone...man, had i known what the 2 meant in the URL, we would have caught this sooner. Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 14, 2014 Author Share Posted November 14, 2014 Ok...So far your fix seems to work. I had a few timeouts issues with the server x.x.x.190 but on my restored server (the orginal server x.x.x.198) there hasnt been any yet. So if i were to add just 1 extrafanart, this problem would be gone...man, had i known what the 2 meant in the URL, we would have caught this sooner. Great to hear that the issue is finally resolved! I was out of options what could cause that error you had :-) Thanks for your patience! Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 14, 2014 Share Posted November 14, 2014 (edited) Upon shutting xbmc down, i see this error in MBS log 2014-11-14 12:36:30.7577 Debug - HttpServer: HTTP GET http://192.168.13.198:8096/mediabrowser/Items/dummy/Images/Primary?Format=original Ip: 192.168.13.102:57439. Headers: Host=192.168.13.198:8096,User-Agent=Python-urllib/1.17 2014-11-14 12:36:30.7577 Error - DtoUtils: ServiceBase<TRequest>::Service Exception Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). System.FormatException at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result) at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) at System.Guid..ctor(String g) at MediaBrowser.Api.Images.ImageService.Get(GetItemImage request) at lambda_method(Closure , Object , Object ) at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto) 2014-11-14 12:36:30.7577 Error - HttpServer: Error processing request for /mediabrowser/Items/dummy/Images/Primary?Format=original Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). ServiceStack.HttpError No Stack Trace Available 2014-11-14 12:36:30.7747 Debug - HttpServer: HTTP Response 500 to 192.168.13.102. Response time: 17.0082 ms. Url: http://192.168.13.198:8096/mediabrowser/Items/dummy/Images/Primary?Format=original Does have anything to do with the fix? This happened on the shutdown of the gotham ***Edit*** Same problem on helix 2014-11-14 12:42:37.2562 Debug - HttpServer: HTTP GET http://192.168.13.198:8096/mediabrowser/Items/dummy/Images/Primary?Format=original Ip: 192.168.13.101:12274. Headers: Host=192.168.13.198:8096,User-Agent=Python-urllib/1.17 2014-11-14 12:42:37.2562 Error - DtoUtils: ServiceBase<TRequest>::Service Exception Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). System.FormatException at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result) at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) at System.Guid..ctor(String g) at MediaBrowser.Api.Images.ImageService.Get(GetItemImage request) at lambda_method(Closure , Object , Object ) at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto) 2014-11-14 12:42:37.2562 Error - HttpServer: Error processing request for /mediabrowser/Items/dummy/Images/Primary?Format=original Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). ServiceStack.HttpError No Stack Trace Available 2014-11-14 12:42:37.2712 Debug - HttpServer: HTTP Response 500 to 192.168.13.101. Response time: 13.9999 ms. Url: http://192.168.13.198:8096/mediabrowser/Items/dummy/Images/Primary?Format=original Edited November 14, 2014 by saitoh183 Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 14, 2014 Share Posted November 14, 2014 (edited) Well i got the timeout error on helix and gotham shortly after startup...seems to only happen once 12:50:41 T:4052 NOTICE: XBMB3C DownloadUtils -> == ENTER: getURL == 12:50:41 T:4052 NOTICE: XBMB3C DownloadUtils -> DOWNLOAD_URL = http://192.168.13.198:8096/mediabrowser/Users/f6c51e6fd330e59d16f4cc52886702e1/Items?Limit=10&Recursive=true&SortBy=DateCreated&Fields=Path,Genres,MediaStreams,Overview&SortOrder=Descending&Filters=IsUnplayed&IsVirtualUnaired=false&IsMissing=False&IncludeItemTypes=Photo&format=json 12:50:41 T:4052 NOTICE: XBMB3C DownloadUtils -> DownloadUtils -> Returning saved UserID : f6c51e6fd330e59d16f4cc52886702e1UserName: Saitoh 12:50:41 T:4052 NOTICE: XBMB3C DownloadUtils -> DownloadUtils -> Returning saved AccessToken : fcc2da02cec24d308622c274255f89bf 12:50:41 T:4052 NOTICE: XBMB3C DownloadUtils -> Authentication Header : {'Accept-Charset': 'UTF-8,*', 'Accept-encoding': 'gzip', 'Authorization': 'MediaBrowser UserId="f6c51e6fd330e59d16f4cc52886702e1",Client="XBMC",Device="htpc-saitoh",DeviceId="5A6AC675126645FDB06493CC4BB1BFE6",Version="0.9.703"', 'X-MediaBrowser-Token': 'fcc2da02cec24d308622c274255f89bf'} 12:50:41 T:4052 NOTICE: XBMB3C DownloadUtils -> HEADERS : {'Accept-Charset': 'UTF-8,*', 'Accept-encoding': 'gzip', 'Authorization': 'MediaBrowser UserId="f6c51e6fd330e59d16f4cc52886702e1",Client="XBMC",Device="htpc-saitoh",DeviceId="5A6AC675126645FDB06493CC4BB1BFE6",Version="0.9.703"', 'X-MediaBrowser-Token': 'fcc2da02cec24d308622c274255f89bf'} 12:50:41 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic itemGUID : 12:50:45 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic Called 12:50:46 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic itemGUID : 12:50:50 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic Called 12:50:52 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic itemGUID : 12:50:56 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic Called 12:50:57 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic itemGUID : 12:51:01 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic Called 12:51:03 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic itemGUID : 12:51:07 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic Called 12:51:08 T:4036 NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic itemGUID : 12:51:10 T:5388 ERROR: Exception in thread Thread-8: Traceback (most recent call last): File "C:\Program Files (x86)\Kodi\system\python\Lib\threading.py", line 808, in __bootstrap_inner self.run() File "C:\Users\htpc\AppData\Roaming\Kodi\addons\plugin.video.xbmb3c\resources\lib\ArtworkLoader.py", line 59, in run self.run_internal() File "C:\Users\htpc\AppData\Roaming\Kodi\addons\plugin.video.xbmb3c\resources\lib\ArtworkLoader.py", line 76, in run_internal self.updateArtLinks() File "C:\Users\htpc\AppData\Roaming\Kodi\addons\plugin.video.xbmb3c\resources\lib\ArtworkLoader.py", line 308, in updateArtLinks result01 = self.updateCollectionArtLinks() File "C:\Users\htpc\AppData\Roaming\Kodi\addons\plugin.video.xbmb3c\resources\lib\ArtworkLoader.py", line 402, in updateCollectionArtLinks jsonData = downloadUtils.downloadUrl(collectionUrl, suppress=False, popup=1 ) File "C:\Users\htpc\AppData\Roaming\Kodi\addons\plugin.video.xbmb3c\resources\lib\DownloadUtils.py", line 484, in downloadUrl data = conn.getresponse() File "C:\Program Files (x86)\Kodi\system\python\Lib\httplib.py", line 1045, in getresponse response.begin() File "C:\Program Files (x86)\Kodi\system\python\Lib\httplib.py", line 409, in begin version, status, reason = self._read_status() File "C:\Program Files (x86)\Kodi\system\python\Lib\httplib.py", line 365, in _read_status line = self.fp.readline(_MAXLINE + 1) File "C:\Program Files (x86)\Kodi\system\python\Lib\socket.py", line 476, in readline data = self._sock.recv(self._rbufsize) timeout: timed out Edited November 14, 2014 by saitoh183 1 Link to comment Share on other sites More sharing options...
tube82 73 Posted November 15, 2014 Share Posted November 15, 2014 I get exactly the same timeout error Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 15, 2014 Author Share Posted November 15, 2014 Well, this doesn't have anything to do with the fix as the fix I send you is for the Titan skin. The errors you see in the logs are related to the XBMB3c add-on. Looks like there's some kind of error in the latest xbmb3c addon, I've got the error too on my machine. I'll look into the code for you to see what has changed recently, maybe I can find a cause Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 15, 2014 Share Posted November 15, 2014 (edited) Well, this doesn't have anything to do with the fix as the fix I send you is for the Titan skin. The errors you see in the logs are related to the XBMB3c add-on. Looks like there's some kind of error in the latest xbmb3c addon, I've got the error too on my machine. I'll look into the code for you to see what has changed recently, maybe I can find a cause I noticed this in my mbs log for the gotham machine when the timeout happened 2014-11-14 13:04:43.8090 Debug - HttpServer: HTTP Response 500 to 192.168.13.102. Response time: 40867.3917 ms. Url: http://192.168.13.198:8096/mediabrowser/Users/f6c51e6fd330e59d16f4cc52886702e1/items?ParentId=4c836f8411cc39bf311d5267feb5c58f&IncludeItemTypes=Movie,Series,Episode,MusicArtist,Trailer,MusicVideo,Video&Fields=ParentId,Overview&Recursive=true&CollapseBoxSetItems=false&format=json The error doesnt always happen it seems. At first i thought it was because both clients were running at the same time. Then i thought it was because my library update was running at the same time...but even while it wasnt running, it would happened. Edited November 14, 2014 by saitoh183 Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 15, 2014 Author Share Posted November 15, 2014 I noticed this in my mbs log for the gotham machine when the timeout happened 2014-11-14 13:04:43.8090 Debug - HttpServer: HTTP Response 500 to 192.168.13.102. Response time: 40867.3917 ms. Url: http://192.168.13.198:8096/mediabrowser/Users/f6c51e6fd330e59d16f4cc52886702e1/items?ParentId=4c836f8411cc39bf311d5267feb5c58f&IncludeItemTypes=Movie,Series,Episode,MusicArtist,Trailer,MusicVideo,Video&Fields=ParentId,Overview&Recursive=true&CollapseBoxSetItems=false&format=json The error doesn always happen it seems. At first i thought it was because both clients were running at the same time. Then i thought it was because my library update was running at the same time...but even while it wasnt running, it would happened. Same here, only happens once in a while... The error is stating a timeout, so connection from xbmb3c to MB3 server fails. Anyone else experiencing this ? Link to comment Share on other sites More sharing options...
tube82 73 Posted November 15, 2014 Share Posted November 15, 2014 For me, the timeout always occurs once after the start of XBMC. It definately is not Titan related, because it also occurs with other skins. After the error, everything seems to work but fanart rotations in the homescreen (in all skins I tried) Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 15, 2014 Share Posted November 15, 2014 For me, the timeout always occurs once after the start of XBMC. It definately is not Titan related, because it also occurs with other skins. After the error, everything seems to work but fanart rotations in the homescreen (in all skins I tried) same...it doest say the fanart rotation fails Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 15, 2014 Author Share Posted November 15, 2014 (edited) For me, the timeout always occurs once after the start of XBMC. It definately is not Titan related, because it also occurs with other skins. After the error, everything seems to work but fanart rotations in the homescreen (in all skins I tried) Do you also have this in your MB3-server log ? 2014-11-14 19:57:39.2449 Error - HttpServer: Error processing request for /mediabrowser/Items/dummy/Images/Primary?Format=original GUID moet uit 32 cijfers en 4 streepjes bestaan (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). ServiceStack.HttpError No Stack Trace Available EDIT: my error has some dutch, the english version should look like this... Edited November 14, 2014 by marcelveldt Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 15, 2014 Share Posted November 15, 2014 Well, I restarted my MB3 server and now the problem seems to have resolved itself... Just started XBMC about 20 times without errors. Oh the error about the dummy image file isn't related to the issue... So the timeout error should be posted in xbmb3c forum or Windows MBS ? Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 15, 2014 Author Share Posted November 15, 2014 Well, I restarted my MB3 server and now the problem seems to have resolved itself... Just started XBMC about 20 times without errors. Oh the error about the dummy image file isn't related to the issue... Link to comment Share on other sites More sharing options...
marcelveldt 736 Posted November 15, 2014 Author Share Posted November 15, 2014 So the timeout error should be posted in xbmb3c forum or Windows MBS ? I honestly don't know... Please post in the xbmb3c forum, if it's server-related we can find out. Could you please post a to a new support thread in the forum and provide a XBMC log ? Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 15, 2014 Share Posted November 15, 2014 I honestly don't know... Please post in the xbmb3c forum, if it's server-related we can find out. Could you please post a to a new support thread in the forum and provide a XBMC log ? Will do once im home Link to comment Share on other sites More sharing options...
Recommended Posts