Bugzilla – Bug 10341
"New Music" times out in browser
Last modified: 2012-06-03 12:19:37 UTC
Created attachment 4447 [details] Snippet of server.log starting with when I clicked "new music" in the browser. I am using version 7.3.1 rev 24298 on a Windows XP (SP 2) box. When I click on "New Music" in the web interface, the browser eventually times out. If I navigate to "New Music" via the Squeezebox, it takes a very long (2-3 minutes) and then finally shows me the list correctly.
*** This bug has been marked as a duplicate of bug 10340 ***
Please see my comment in Bug 10340 - I don't think these are actually duplicate bugs, as the behavior and log files are different.
I'm not able to reproduce this error What browser are you using do you have cookies enabled or blocked
I have seen the timeout with Google Chrome 1, Firefox 3, and Internet Explorer 7 with cookies enabled on all three. In Google Chrome, the page returns a timeout error. In Firefox, the "new music" page eventually loads, but it is blank - just the background, no text. In IE, the menu simply loads again, and I am never taken to the "new music" page at all. The underlying error is the length of time it's taking to construct the list - it still takes a very long time through the Squeezebox itself, but that time is just exceeding the browser's limit to wait for a page to load. I did not experience this problem with 7.2.1.
EDIT: IE does eventually return a timeout page error after reloading the menu page several times.
Is the music directory is on the same XP Box running SC or a remote location?
My music folder is on an Infrant Readynas NV box - both the NAS and the XP machine are wired to the router (the Squeezebox is wireless). Don't know if this is helpful, but here's some more library statistics and info: 6538 albums with 65702 songs by 2823 artists. Version: 7.3.1 - 24298 @ Mon Dec 15 03:04:28 PST 2008 Operating system: Windows XP - EN - cp1252 Platform Architecture: 586 Perl Version: 5.8.8 - MSWin32-x86-multi-thread MySQL Version: 5.0.22-community-nt
Just to clarify: Squeezecenter is running on the XP box, not the NAS. The NAS is only being used to store the music files.
Steven: can you take this one please
I have not been able to reproduce this issue either. This was using Win XP and a slow NAS on the network as the music source. Jordan, have you tried a "Clear library and rescan everything" since you have installed 7.3.1? Michael, do you see anything in the log?
Yes, doing a clear & rescan in 7.3.1 gave me a scanner error (which I submitted as 10304 and was marked as a duplicate of 9970). A subsequent rescan gets all the way through, but this error persists. I could try again if you think it will help.
Did you wipe the server side template cache? Too much unrelated noise in the server.log. I'm not even sure whether SC was crashing or shut down properly...
(In reply to comment #12) > Did you wipe the server side template cache? > > Too much unrelated noise in the server.log. I'm not even sure whether SC was > crashing or shut down properly... > Michael, I'm happy to wipe the logs (not sure how to wipe the server-side template cache...?) and do this again. Could you please tell me which debug options would be useful for you to see? I went overboard and turned on most of them as I had no idea where to begin debugging this. Thanks.
Jordan - make sure you wipe the templates cache (not the logs).
(In reply to comment #14) > Jordan - make sure you wipe the templates cache (not the logs). > Michael, As I said in my previous comment, I'm not sure what that entails (wiping the template cache) - what do I delete? Is this something I do through the web interface? My comment about wiping the logs was because you said there was too much noise in the logs - I wondered if you wanted me to enable some different logging settings before trying again.
In SC's cache folder (see Settings/Information) there should be a "templates" folder. Delete it and restart SC.
Ah - very simple, I should have realized that. Thanks for clarifying. I deleted that folder and restarted Squeezecenter. I can see the folder got recreated and there are files in it, but for some reason now the web interface never loads. I don't see anything in the server.log file (I also didn't have any logging options set when I restarted Squeezecenter). But now I can't get the web interface to come back up for me. Is there a way to turn on some debug options from the command line? That way I can at least get the server running again so I can test out the "New Music" issue.
run squeezecenter.exe --debug server=debug,network.http=debug from the command window
I started Squeezecenter using the debug options you gave me from the command-line. I still couldn't load it up through Google Chrome, so I abandoned that and tried IE 7. IE opened the interface immediately, so I think maybe Chrome was just having an issue. I clicked on "New Music" and eventually got a page timeout error in IE (the standard "Internet Explorer cannot display the webpage" error). I'll upload a new log file from this sequence. Thanks for your help.
Created attachment 4472 [details] server.log with recommended debug options
Not sure if it's related, but I get the same timeout when using the Custom Browse extension's "genre/subenre" menu functionality: This webpage is not available. The webpage at http://localhost:9000/plugins/CustomBrowse/custombrowse_list.html?player=00%3A04%3A20%3A06%3A4b%3A58&&hierarchy=subgenres,genre&subgenres=subgenres&genre=15 might be temporarily down or it may have moved permanently to a new web address.
Jordan - please disable all 3rd party plugins and try again. Can you still reproduce this issue? Nobody is able to reproduce this?
(In reply to comment #22) > Jordan - please disable all 3rd party plugins and try again. Can you still > reproduce this issue? I disabled all plugins on the plugins page (3rd party as well as all the ones that shipped with Squeezecenter) and tried again. Exact same result. "New Music" still times out in the browser, and takes several minutes to respond via the Squeezebox. Thank you.
Last week I tried reinstalling 7.2.1 and verified that this problem did not occur. When I went back up to 7.3.1 the problem came back.
Moving to 7.3.3
Just checking in on this bug. I upgraded yesterday to 7.3.3-25411 and verified that this is definitely still happening.
Just upgraded to 7.4 - 25481, and this appears to be fixed. It still takes longer than I'd expect - about 8-10 seconds - to load up the New Music page, but it definitely loads and the browser does not time out. Thank you.
SC7.4-25502/Win: Takes > 30s to load "New Music" on WebUI (library ~26k files) but no "blank page" anymore. (Currently using "bad" testing setup: my.tt is patched, plus Erland's CustomScan and CustomBrowse are installed.) I remotely remember I had the "empty page in SC" bug once or twice with an older version, weeks ago.
Closing resolved bugs - if you feel this bug still exists please first re-test with the latest SW/FW version. If you are able to reproduce then feel free to reopen and attach new logs / steps to reproduce.