Bug 13727 - Unable to pass login information to mysqueezebox.com
: Unable to pass login information to mysqueezebox.com
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: SqueezeNetwork Integration
: 7.4.0
: PC Ubuntu Linux
: P1 normal (vote)
: 7.4.0
Assigned To: Squeezebox QA Team email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-27 13:46 UTC by Knut Magne Solem
Modified: 2010-02-08 09:57 UTC (History)
4 users (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Magne Solem 2009-08-27 13:46:10 UTC
Using squeezeboxcenter 7.4 r28304 I'm not able to log in to mysqueezebox.com

Seems like the username and password from the webpage is not passed to the mysqueezebox.com. I got this log-string in the log: SQUEEZENETWORK_NO_LOGIN, after debugging Slim/Networking/SqueezeNetwork.pm I found that both $username and $password is empty. After hard coding my username and password (hashed) it worked.


I tried both Opera and Firefox.
Comment 1 Knut Magne Solem 2009-08-28 03:11:11 UTC
I think bug 13738 is the same bug.
Comment 2 James Richardson 2009-08-28 05:06:50 UTC
*** Bug 13738 has been marked as a duplicate of this bug. ***
Comment 3 James Richardson 2009-08-28 05:07:45 UTC
Please don't PRE-Assign bugs, that will get done during the review phase
Comment 4 Ross Levine 2009-08-28 16:05:01 UTC
Easily reproduced with a new install in Ubuntu, entering credentials during setup doesn't proceed when I press next.
Comment 5 Michael Herger 2009-08-31 00:50:15 UTC
Is this a Debian only issue or do you see this on other systems too? Working fine on XP.
Comment 6 Joerg Schwieder 2009-08-31 01:18:16 UTC
Same thing on OSX.
Comment 7 Michael Herger 2009-08-31 01:59:06 UTC
Works for me on OSX too. Could you please provide some log information, with network.squeezenetwork=debug enabled?
Comment 8 Joerg Schwieder 2009-08-31 02:07:58 UTC
Not for OSX. That was with Snow Leopard (clean install) and I don't have access to that machine right now.

On ubuntu I get this:
[09-08-31 11:06:06.8430] Slim::Networking::SqueezeNetwork::PrefSync::shutdown (148) SqueezeNetwork pref sync shutdown
[09-08-31 11:06:06.8451] Slim::Networking::SqueezeNetwork::_createHTTPRequest (377) Logging in to SqueezeNetwork to obtain session ID
[09-08-31 11:06:06.8466] Slim::Networking::SqueezeNetwork::login (276) Für diesen Dienst ist ein mysqueezebox.com-Konto erforderlich. Sie können das Konto in einem Web-Browser in den Squeezebox Server-Einstellungen unter 'mysqueezebox.com' konfigurieren.
[09-08-31 11:06:06.8491] Slim::Networking::IO::Select::__ANON__ (140) Error: Select task failed calling Slim::Web::HTTP::processHTTP: Can't coerce array into hash at /usr/share/perl5/Slim/Networking/SqueezeNetwork.pm line 394.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe026564)
Comment 9 Michael Herger 2009-08-31 02:35:22 UTC
> [09-08-31 11:06:06.8466] Slim::Networking::SqueezeNetwork::login (276)  
> Für
> diesen Dienst ist ein mysqueezebox.com-Konto erforderlich. Sie können  
> das
> Konto in einem Web-Browser in den Squeezebox Server-Einstellungen unter
> 'mysqueezebox.com' konfigurieren.

What's your user name?

> [09-08-31 11:06:06.8491] Slim::Networking::IO::Select::__ANON__ (140)  
> Error:
> Select task failed calling Slim::Web::HTTP::processHTTP: Can't coerce  
> array
> into hash at /usr/share/perl5/Slim/Networking/SqueezeNetwork.pm line 394.
> ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xe026564)

And that's bad error handling :-)
Comment 10 Michael Herger 2009-08-31 03:05:05 UTC
That latter issue (broken error handler) should be fixed now.

But I still don't understand what the real problem should be here.

Knut, Pippin - what are you trying to do when you get those errors? The one Pippin posted seems as if you tried to use a service requiring SN. But this bug is about not being able to enter SN credentials at all, isn't it?
Comment 11 Michael Herger 2009-08-31 03:11:01 UTC
Oh, and fwiw: this is working for me on Ubuntu too...

QA - could you please provide a reproducible case with step-by-step instructions? I really don't see any issue here. Tested on XP, OSX 10.5 and Ubuntu 9.04 - all worked fine.
Comment 12 Joerg Schwieder 2009-08-31 03:36:25 UTC
What I'm trying to do when that error message get's logged is entering the user name in the settings in the web interface.
Looks like SC want's you to have a valid and configured account to be able to configure an account which would explain why it's an issue for clean installs...

My username is joerg@schwieder.com
Comment 13 Chris Owens 2009-08-31 09:11:11 UTC
Ross, Michael would like you to describe the repro instructions step-by-step so he can also reproduce.  I have a theory that this may be dependent on the information, so maybe try another username/pw
Comment 14 Ross Levine 2009-08-31 12:23:46 UTC
This works for me now with 28379, but did not on Friday with 28321. I just tried and I'm still able to reproduce with that build. 

Repro steps: remove SC from Ubuntu image, rm /var/lib/squeezeboxserver/prefs/server.pref, download and install:

http://downloads.slimdevices.com/nightly/7.4/sc/28321/squeezeboxserver_7.4~28321_all.deb

This problem occurs during the initial setup wizard in the webUI. The first screen prompts for mysqueezebox.com credentials. I enter mine and click next, nothing happens. 

With that said it appears to be working for me with 28379, Knut would you please see if you could reproduce with that version?
Comment 15 Joerg Schwieder 2009-08-31 12:49:52 UTC
Works for me, too, with that build.
Comment 16 Michael Herger 2009-09-01 00:08:07 UTC
Ok, this might have been a temporary issue.

Knut? Do you still see this mis-behaviour?
Comment 17 Knut Magne Solem 2009-09-01 02:39:57 UTC
Hi! I will try to reproduce it later today.
Comment 18 Knut Magne Solem 2009-09-01 11:04:31 UTC
This is now working with latest version (r28396). I think you can close this bug now.
Comment 19 Ross Levine 2009-09-01 11:22:33 UTC
Thank you Michael, Knut, Pippin!
Comment 20 Chris Owens 2010-02-08 09:57:01 UTC
These are all bugs that have been marked 'fixed' or 'closed' but still have the bug_meeting keyword.  They were not showing up in James's bug meeting search.

Please let me know (chris_owens@logitech.com) if these need to be brought up at the next bug meeting.  In the meantime I will fix the search.