Sneak peek at itunes based subsonic web UI

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Postby compcentral » Tue Dec 14, 2010 4:37 pm

I can get to the initial login screen, but no further.

Here is the public address:

http://compcentral.dyndns.org:12345/subtunes/index.html

It won't accept my username and password. Could this be a problem with my password containing symbols like $, @, etc.?

EDIT:

Now for some reason it's not asking for the user/pass, but wants the url to subsonic, which should be "http://compcentral.dyndns.org:12345/" but that's not working either. Should this be the local LAN IP instead?
compcentral
 
Posts: 24
Joined: Tue Sep 28, 2010 8:56 pm

Postby alphawave7 » Tue Dec 14, 2010 4:46 pm

compcentral wrote:I can get to the initial login screen, but no further.

Here is the public address:

http://compcentral.dyndns.org:12345/subtunes/index.html

It won't accept my username and password. Could this be a problem with my password containing symbols like $, @, etc.?

EDIT:

Now for some reason it's not asking for the user/pass, but wants the url to subsonic, which should be "http://compcentral.dyndns.org:12345/" but that's not working either. Should this be the local LAN IP instead?


Your link is working...I'm at login. If login fails, it's the char issue, or wrong ID/pass.
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby compcentral » Tue Dec 14, 2010 4:49 pm

Hmm.. okay, I got the message asking for the sunsonic URL when I tested using IE by mistake.

I do get the login, but I tried creating a new user/pass without any special characters and that doesn't work either.

Any other suggestions?
compcentral
 
Posts: 24
Joined: Tue Sep 28, 2010 8:56 pm

Postby compcentral » Tue Dec 14, 2010 4:55 pm

Hmm.. now I just get a blank page. Cookie is probably set incorrectly.
Last edited by compcentral on Tue Dec 14, 2010 4:57 pm, edited 1 time in total.
compcentral
 
Posts: 24
Joined: Tue Sep 28, 2010 8:56 pm

Postby alphawave7 » Tue Dec 14, 2010 4:57 pm

compcentral wrote:Hmm.. okay, I got the message asking for the sunsonic URL when I tested using IE by mistake.

I do get the login, but I tried creating a new user/pass without any special characters and that doesn't work either.

Any other suggestions?


Does your admin id/pass work?
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby compcentral » Tue Dec 14, 2010 4:59 pm

alphawave7 wrote:Does your admin id/pass work?


Nope... I tried creating a new admin and changing the password on my existing admin account. Both still say bad credentials.
compcentral
 
Posts: 24
Joined: Tue Sep 28, 2010 8:56 pm

Postby alphawave7 » Tue Dec 14, 2010 5:01 pm

compcentral wrote:
alphawave7 wrote:Does your admin id/pass work?


Nope... I tried creating a new admin and changing the password on my existing admin account. Both still say bad credentials.


Ah..lemme search..there's a folder with the ID/passwords in it that can be nuked/redone...in Help section under 'Can't log in' in case you find it before I do..
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby alphawave7 » Tue Dec 14, 2010 5:02 pm

alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby mattgoldspink » Tue Dec 14, 2010 5:03 pm

I'll put together a new release tonight which has better support for debugging these issues.
mattgoldspink
 
Posts: 67
Joined: Mon Jun 21, 2010 9:24 am

Postby compcentral » Tue Dec 14, 2010 5:09 pm

digging through the code a little, it appears as if "Ext.ux.mattgoldspink.subsonic.apiUrl" is empty during the login attempt in subsonic-login.js

Where does this pull from so I can modify it if needed?
Last edited by compcentral on Tue Dec 14, 2010 5:17 pm, edited 1 time in total.
compcentral
 
Posts: 24
Joined: Tue Sep 28, 2010 8:56 pm

Postby compcentral » Tue Dec 14, 2010 5:17 pm

alphawave7 wrote:Ah..lemme search..there's a folder with the ID/passwords in it that can be nuked/redone...in Help section under 'Can't log in' in case you find it before I do..

Here it is:
http://forum.subsonic.org/forum/viewtop ... 0342#10342


That is if you forget your password. I know the password... it just doesn't work, and it looks like that is due to the API url not being set correctly someplace.
compcentral
 
Posts: 24
Joined: Tue Sep 28, 2010 8:56 pm

Postby mattgoldspink » Tue Dec 14, 2010 5:17 pm

That's potentially ok if the subsonic server is not under a url on your server (I'm assuming its just an empty string as opposed to 'undefined').

The login should be using: http://compcentral.dyndns.org:12345/rest/ping.view?u={username}&p={password}&c=subsonicext&v=1.2.0

If you hit that with username and password (you may have to do view-source on the page) what do you see?
mattgoldspink
 
Posts: 67
Joined: Mon Jun 21, 2010 9:24 am

Postby compcentral » Tue Dec 14, 2010 5:19 pm

mattgoldspink wrote:That's potentially ok if the subsonic server is not under a url on your server (I'm assuming its just an empty string as opposed to 'undefined').

The login should be using: http://compcentral.dyndns.org:12345/rest/ping.view?u={username}&p={password}&c=subsonicext&v=1.2.0

If you hit that with username and password (you may have to do view-source on the page) what do you see?


LOL... Here is what I get:

Code: Select all
<subsonic-response status="failed" version="1.4.0">
<error code="60" message="The trial period for the Subsonic server is over. Please donate to get a license key. Visit subsonic.org for details."/>
</subsonic-response>


Since when did this start happening?
Last edited by compcentral on Tue Dec 14, 2010 5:21 pm, edited 1 time in total.
compcentral
 
Posts: 24
Joined: Tue Sep 28, 2010 8:56 pm

Postby mattgoldspink » Tue Dec 14, 2010 5:21 pm

Ahhh ok, in which case I will definitely add a pop up for that this evening along with some other debug info.

All I can suggest is donate :) It's well worth it, Sindre does an amazing job
mattgoldspink
 
Posts: 67
Joined: Mon Jun 21, 2010 9:24 am

Postby compcentral » Tue Dec 14, 2010 5:28 pm

yeah.. I may donate then I suppose... hadn't really used it much yet, but it looks like I'll be forced in that direction. At least you know why it's not working for some people now.

Just a suggestion, you may want to test for these error codes in the API response and deliver a more appropriate error message (probably just the xml description would be fine)

Code Description
0 A generic error.
10 Required parameter is missing.
20 Incompatible Subsonic REST protocol version. Client must upgrade.
30 Incompatible Subsonic REST protocol version. Server must upgrade.
40 Wrong username or password.
50 User is not authorized for the given operation.
60 The trial period for the Subsonic server is over. Please donate to get a license key. Visit subsonic.org for details.
70 The requested data was not found.
compcentral
 
Posts: 24
Joined: Tue Sep 28, 2010 8:56 pm

PreviousNext

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 3 guests