Page 1 of 1

BAD Server

PostPosted: Thu Nov 15, 2012 9:54 am
by stanthewizzard
Hello

With the same settings
On 2.x everything is fine
On 3.x BAD SERVER

Need some help here ...

Thanks

Re: BAD Server

PostPosted: Sat Dec 15, 2012 8:30 am
by dsync89
I'm having this problem as well. All items are empty.

UPDATE: This problem seemed to occur only in Safari. It worked fine in Firefox. Make sure you doesn't append additional / at the end of the link.
E.g. http://musicscrape.zapto.org:8080

Re: BAD Server

PostPosted: Thu Jan 03, 2013 2:14 pm
by spetras73
Having the same issue in Chrome 23.0.1271. Subsonic version 4.7 (which works fine).

Re: BAD Server

PostPosted: Fri Jan 11, 2013 10:01 pm
by NLclothing
If you have ssl turned on, and do not have a verified security certificate, you must visit your subsonic page via it's standard URL first, and accept the security certificate for that session.. If you are set-up like this you will need to do it every time you re-open chrome.

Re: BAD Server

PostPosted: Mon Jan 21, 2013 2:55 pm
by LuisFlores3
I was having this problem as well,
noticed this in the change log:

12/6/2012 - 2.3.6
- Added Setting to toggle JSONP (This is for cross-domain requests, aka Subsonic is hosted on a different domain than MiniSub)

simply toggling the "Enable JSONP" option under advanced fixed it for me.
Hope it helps. :D

Re: BAD Server

PostPosted: Thu Jan 24, 2013 4:29 am
by Clipperz
This issue started for me a few days back..maybe a week or two ago? At any rate, it was working fine except it would stop playing some tracks halfway through. another post implies it was due to the referenced file being a FLAC. maybe..i have a lot of flacs but i've not got which song is or isn't memorized so..

But now all i get is the bad server message. Enabled JSONP but that didn't remedy the issue.
Added the cert for subsonic to Chrome..nothing

Would love the functionality i witnessed prior to what i assume is the last update. anyone have any ideas?

Re: BAD Server

PostPosted: Wed Feb 06, 2013 3:25 pm
by Globe199
NLclothing wrote:If you have ssl turned on, and do not have a verified security certificate, you must visit your subsonic page via it's standard URL first, and accept the security certificate for that session.. If you are set-up like this you will need to do it every time you re-open chrome.


This worked for me. I have to log into Subsonic first.

I also tried installing the cert in Chrome. I followed some instructions I found online, and got it installed, but it still doesn't work. Chrome still complains that the certificate is not trusted. I exported the cert format as "DER encoded binary X.509" Didn't try any other format. I ran into this issue when trying to install the cert in VLC, which also never worked. Is there something unique about the Subsonic cert that all this software doesn't like?

Re: BAD Server

PostPosted: Thu Feb 14, 2013 2:27 pm
by tsquillario
This is very much a limitation of being a packaged Chrome App. I have to do the same, and it's a major pain. I am planning on moving MiniSub to a hosted app, this self signed SSL cert issue will go away. I still have a few details still to finish on that tho...

Most of the time I just use MiniSub from a bookmark and have it installed beside Subsonic in the jetty (or tomcat) folder.

* See the Manual Install method
https://github.com/tsquillario/MiniSub/wiki/Getting-Started

Re: BAD Server

PostPosted: Sun Mar 17, 2013 5:47 pm
by warrensomebody
I'm also seeing this BAD Server message with Chrome 25.0.1364.172. In my javascript console I see many copies of the message:

Refused to load the script 'http://warrensomebody.subsonic.org/rest/getMusicFolders.view?u=warren&p=enc…=MiniSub&callback=jQuery17209850529178511351_1363542017124&_=1363542293169' because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".
jquery-1.7.2.min.js:4
send jquery-1.7.2.min.js:4
f.extend.ajax jquery-1.7.2.min.js:4
getMusicFolders api.js:146
loadTabContent ui-ready.js:122
(anonymous function) ui-ready.js:185
f.event.dispatch jquery-1.7.2.min.js:3
h.handle.i jquery-1.7.2.min.js:3

The best help I could find on this error is here: http://stackoverflow.com/questions/12129077/content-security-policy-cannot-load-google-api-in-chrome-extension. Is there some way I can modify my minisub manifest to fix this?

Re: BAD Server

PostPosted: Fri Mar 22, 2013 3:18 pm
by tsquillario
warrensomebody wrote:I'm also seeing this BAD Server message with Chrome 25.0.1364.172. In my javascript console I see many copies of the message:

Refused to load the script 'http://warrensomebody.subsonic.org/rest/getMusicFolders.view?u=warren&p=enc…=MiniSub&callback=jQuery17209850529178511351_1363542017124&_=1363542293169' because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".
jquery-1.7.2.min.js:4
send jquery-1.7.2.min.js:4
f.extend.ajax jquery-1.7.2.min.js:4
getMusicFolders api.js:146
loadTabContent ui-ready.js:122
(anonymous function) ui-ready.js:185
f.event.dispatch jquery-1.7.2.min.js:3
h.handle.i jquery-1.7.2.min.js:3

The best help I could find on this error is here: http://stackoverflow.com/questions/12129077/content-security-policy-cannot-load-google-api-in-chrome-extension. Is there some way I can modify my minisub manifest to fix this?


Try using the "Enable JSONP" option in Settings. Eventually I'm moving away from a packaged Chrome App to a hosted one (basically just a website hosted elsewhere). This will resolve most of these issues going across different domains. I've been working on rebuilding the code to better organize things. Also I plan on adding in other streaming services besides Subsonic, basically anything with a REST API is possible. I listen to a lot of live music and I've always wanted to integrate the live music archive at Archive.org into MiniSub.