BAD Server

Jamstash is an HTML5 Mini Player for the Subsonic streaming server

Moderator: moderators

BAD Server

Postby stanthewizzard » Thu Nov 15, 2012 9:54 am

Hello

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

Need some help here ...

Thanks
stanthewizzard
 
Posts: 21
Joined: Mon Jul 11, 2011 10:58 am

Re: BAD Server

Postby dsync89 » Sat Dec 15, 2012 8:30 am

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
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: BAD Server

Postby spetras73 » Thu Jan 03, 2013 2:14 pm

Having the same issue in Chrome 23.0.1271. Subsonic version 4.7 (which works fine).
spetras73
 
Posts: 6
Joined: Sun Dec 30, 2012 4:04 pm

Re: BAD Server

Postby NLclothing » Fri Jan 11, 2013 10:01 pm

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.
NLclothing
 
Posts: 32
Joined: Mon Aug 02, 2010 5:38 pm

Re: BAD Server

Postby LuisFlores3 » Mon Jan 21, 2013 2:55 pm

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
LuisFlores3
 
Posts: 1
Joined: Sat May 21, 2011 5:56 pm

Re: BAD Server

Postby Clipperz » Thu Jan 24, 2013 4:29 am

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?
Clipperz
 
Posts: 1
Joined: Thu Jan 12, 2012 4:56 am

Re: BAD Server

Postby Globe199 » Wed Feb 06, 2013 3:25 pm

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?
Globe199
 
Posts: 45
Joined: Thu Sep 15, 2011 1:43 am

Re: BAD Server

Postby tsquillario » Thu Feb 14, 2013 2:27 pm

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
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: BAD Server

Postby warrensomebody » Sun Mar 17, 2013 5:47 pm

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?
warrensomebody
 
Posts: 1
Joined: Sun Mar 17, 2013 5:38 pm

Re: BAD Server

Postby tsquillario » Fri Mar 22, 2013 3:18 pm

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.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA


Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 17 guests