Elysium Posted October 21, 2012 Share Posted October 21, 2012 I recently upgraded from 4.7 to 5.0-rc8a and began troubleshooting an issue in which I would lose access to unRAID's webGUI anytime I would install and use Headphones for a short amount of time. This problem initially confused the hell out of me because it would persist after reboots, after disabling all plugins, and even after wiping the contents from the flash to a backup copy I made before I even installed Headphones. It wasn't until I decided to load the webGUI from a different browser (where Headphones had not yet set cookies to) that I noticed that it was still accessible. The issue can be reproduced by viewing both the 'home' and 'logs' pages on Headphones and then refreshing unRAID's webGUI afterwards. Access is restored back to the webGUI after deleting these two cookies: SpryMedia_DataTables_artist_table_home, SpryMedia_DataTables_log_table_logs. The content of both of these cookies are fairly long. I thought I'd post this here in case others are experiencing the same problem. Link to comment
int13h Posted October 23, 2012 Share Posted October 23, 2012 +1, I also experienced this problem. Link to comment
trurl Posted October 23, 2012 Share Posted October 23, 2012 Happened to me too on Chrome but thanks to this thread I already knew the fix. Sent from my Kindle Fire using Tapatalk 2 Link to comment
Whomastadon Posted October 25, 2012 Share Posted October 25, 2012 So are you able to use headphones or does it keep causing problems with the unraid webgui everytime it loads? Link to comment
joyless Posted October 25, 2012 Share Posted October 25, 2012 Same problem here, unfortunately I cannot find mentioned cookies in Chrome's "All cookies and site data..." edit: ok, fixed it, search won't find the cookies, had to look for them manually Link to comment
Elysium Posted October 25, 2012 Author Share Posted October 25, 2012 So are you able to use headphones or does it keep causing problems with the unraid webgui everytime it loads? The problem will keep returning whenever you view the Headphone pages that are setting those specific cookies. A temporary solution would be to either set your browser to block cookies from your unRAID server, or to simply use a different browser when using Headphones (this is what I'm doing). Link to comment
Whomastadon Posted October 25, 2012 Share Posted October 25, 2012 so say i drag influencers headphones.plg file to the right folder in my unraid os drive. reboot unraid. then open unraid web gui in say mozilla to enable headphones, but only use the headphones page in google chrome. would that be ok? Link to comment
Elysium Posted October 25, 2012 Author Share Posted October 25, 2012 so say i drag influencers headphones.plg file to the right folder in my unraid os drive. reboot unraid. then open unraid web gui in say mozilla to enable headphones, but only use the headphones page in google chrome. would that be ok? Yes. Link to comment
Whomastadon Posted October 25, 2012 Share Posted October 25, 2012 ok cool. that doesnt sound too bad as long as it lets me use headphone. thanks for your help!! Link to comment
sephallen Posted October 30, 2012 Share Posted October 30, 2012 i also experience this, but to work around it i access my unraid webgui via its ip address Link to comment
Influencer Posted October 30, 2012 Share Posted October 30, 2012 That's an odd error, I noticed it the other night when I was testing something. I'll see if there is a fix I can work out with the dev Link to comment
trurl Posted November 1, 2012 Share Posted November 1, 2012 I have found another workaround besides using a different web browser. Use a different web server! If you are running SimpleFeatures webserver, put a page on that web that redirects to your headphones page. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Headphones</title> <meta http-equiv="REFRESH" content="0;url=http://10.0.0.11:8084/home"></HEAD> <BODY> Redirecting to Headphones </BODY> </HTML> Where I have url=http://10.0.0.11:8084/home put whatever url you have for your headphones setup. Then you can just bookmark the redirect page. Link to comment
Benni-chan Posted December 20, 2012 Share Posted December 20, 2012 That's an odd error, I noticed it the other night when I was testing something. I'll see if there is a fix I can work out with the dev did you get to any solution with this? i currently have the same problem with lazylibrarian. Link to comment
Influencer Posted December 20, 2012 Share Posted December 20, 2012 No solution that is easily deployable on our end. Its something with how the data tables are set. I suppose we could ask the dev to add an option to disable the cookies, as far as I can tell they are only used to remember the sorting of the tables. I worked around the issue by disabling cookies for tower:8098 (what headphones listens on). I also disabled cookies for my server ip:8098 Link to comment
Benni-chan Posted December 20, 2012 Share Posted December 20, 2012 i'm already in contact with the dev. the funny thing is, it only happens, after three cookies are set. with only two of those cookies, unraid works fine. (maybe there is simply too much data in the cookies and the unraid webgui can't handle it) i guess, i could add a big warning text in the plugin, so the user knows, he has to disable cookies for the used port... Link to comment
Influencer Posted December 21, 2012 Share Posted December 21, 2012 If you check the cookies that are set, if the total size is above 4KB then they won't work. Another workaround would be for the dev to set the cookies to the full path instead of root. So instead of setting to "tower/" set it to "tower/headphones". That should work around the 4KB limit if one of the cookies are set by unraid, which I believe is the case. Link to comment
Timbiotic Posted January 26, 2013 Share Posted January 26, 2013 I just installed headphones and it says it is running but there is nothing in the data directory (cache drive) and when I go to the site it has page cannot be displayed is it related to this? If so how do I block cookies? Link to comment
nuggrave Posted February 23, 2013 Share Posted February 23, 2013 No solution that is easily deployable on our end. Its something with how the data tables are set. I suppose we could ask the dev to add an option to disable the cookies, as far as I can tell they are only used to remember the sorting of the tables. I worked around the issue by disabling cookies for tower:8098 (what headphones listens on). I also disabled cookies for my server ip:8098 How did yo disable cookies on tower:8098? I'd like to run headphones and this looks like a great work around. Link to comment
nuggrave Posted February 24, 2013 Share Posted February 24, 2013 I just made firefox delete cookies when I close out. If I lose the WebGUI I can just close the browser then reopen it and i can get the WebGUI again. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.