Bug 17792 - Local devices not found when clicking "Go".
: Local devices not found when clicking "Go".
Status: RESOLVED FIXED
Product: Controller App
Classification: Unclassified
Component: Player discovery
: 1.1
: Other Android (please specify version)
: P3 normal
: 1.1
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-26 07:42 UTC by Peter Oliver
Modified: 2012-03-06 00:36 UTC (History)
4 users (show)

See Also:
Category: ---


Attachments
Failure screenshot (33.78 KB, image/png)
2011-12-20 14:29 UTC, Nate Weibley
Details
Test connecting to duet receiver with airplane mode ofd (62.34 KB, application/octet-stream)
2011-12-22 09:18 UTC, Nate Weibley
Details
Error log from local device discovery (1.19 KB, text/plain)
2012-01-12 06:05 UTC, Nate Weibley
Details
Android issue 24748/Logitech Media Server test case (63.71 KB, image/png)
2012-01-31 23:16 UTC, Nate Weibley
Details
Eclipse project from the previous screenshot (38.38 KB, application/x-gzip)
2012-01-31 23:37 UTC, Nate Weibley
Details
Eastman using fixed discovery (2.89 MB, application/octet-stream)
2012-02-29 11:53 UTC, Michael Herger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Oliver 2011-11-26 07:42:28 UTC
Logitech Squeezebox Controller 1.1.2 on Android 4.0.1.

The Android virtual keyboard features a "Go" button.

When the app is initially installed, you are prompted for your Squeeze Network username and password.  After entering your details, if you click the "log in" button in the app, things works as expected.

However, if you click the "Go" button in the virtual keyboard, things do not.  You login details are accepted and it's possible to control players that are connected to Squeeze Network.  However, devices on the local network are not detected.
Comment 1 Michael Herger 2011-11-27 23:35:38 UTC
The button has nothing to do with local player detection, but only with submission of the mysb.com credentials. 

Most likely this is either a temporary glitch, or the mobile not being connected to the same network as your players/servers.
Comment 2 Nate Weibley 2011-12-20 14:29:19 UTC
Created attachment 7585 [details]
Failure screenshot
Comment 3 Nate Weibley 2011-12-20 14:30:07 UTC
I can confirm this is a real bug and not some temporary glitch or network issue.

With the device in airplane mode and only connected to the same local wifi network the Logitech app fails to detect the players. A paid controller application in the market on the same device with the same connection finds the players without issue.

I have attached a screenshot of the failed discovery attempt in airplane mode on wifi-only. 

Please confirm this bug. The app rating on the market is taking a beating because of it, and as more devices get Ice Cream Sandwich the rating will only get worse.
Comment 4 Michael Herger 2011-12-21 23:57:42 UTC
Haven't tested myself, but here's the feedback I got from a buddy:

"I have manually installed Android 4.0 on my Nexus S but I think it is performing same as the OTA one. I just tried all major functions of the app but I didn't see anything wrong with it... Please let me know if there was a specific problem."

Could you please verify again you're connected to the same network as your player/server, and it's not working with airplane mode _off_? Just because a different app does behave better doesn't mean the Controller App was broken: they do some smarter stuff than we do :-).
Comment 5 Nate Weibley 2011-12-22 09:18:49 UTC
Created attachment 7589 [details]
Test connecting to duet receiver with airplane mode ofd

Michael attaching the other test case per your request. This also demonstrates the password box not properly clipping or hiding.

These devices were absolutely on the same unrestricted LAN.
Comment 6 Nate Weibley 2012-01-12 06:05:05 UTC
Created attachment 7604 [details]
Error log from local device discovery

Michael, it appears the port field is being corrupted when parsed from the response packet. It should read 9000, but doesn't appear to be ASCII at all past the 9.
Comment 7 Michael Herger 2012-01-30 21:46:59 UTC
Seems to be an issue in Android 4: http://code.google.com/p/android/issues/detail?id=24748
Comment 8 Nate Weibley 2012-01-31 23:16:39 UTC
Created attachment 7614 [details]
Android issue 24748/Logitech Media Server test case

(In reply to comment #7)
> Seems to be an issue in Android 4:
> http://code.google.com/p/android/issues/detail?id=24748
I disagree.
Comment 9 Nate Weibley 2012-01-31 23:37:03 UTC
Created attachment 7615 [details]
Eclipse project from the previous screenshot
Comment 10 SVN Bot 2012-02-28 10:40:42 UTC
 == Auto-comment from SVN commit #8573 to the player repo by mherger ==
 == http://svn.slimdevices.com/player?view=revision&revision=8573 ==

Bug: 17792
Description: fix udp packet corruption as document in http://code.google.com/p/android/issues/detail?id=24748
Comment 11 SVN Bot 2012-02-28 13:21:18 UTC
 == Auto-comment from SVN commit #8574 to the player repo by mherger ==
 == http://svn.slimdevices.com/player?view=revision&revision=8574 ==

Bug: 17792
Description: fix udp packet corruption as document in http://code.google.com/p/android/issues/detail?id=24748
Comment 12 Michael Herger 2012-02-29 11:53:25 UTC
Created attachment 7638 [details]
Eastman using fixed discovery

Please give this build a try. It should fix the discovery on ICS.
Comment 13 Darren 2012-03-03 22:02:41 UTC
The attachment fixed the network discovery problem for me on my Asus transformer TF101, but the app forces a portrait view and cuts off half the screen.  Thanks for fixing the network error.



(In reply to comment #12)
> Created an attachment (id=7638) [details]
> Eastman using fixed discovery
> 
> Please give this build a try. It should fix the discovery on ICS.
Comment 14 Michael Herger 2012-03-05 00:23:06 UTC
> The attachment fixed the network discovery problem for me on my Asus
> transformer TF101, but the app forces a portrait view and cuts off half the
> screen.  Thanks for fixing the network error.

Could you please open a new bug report for this issue and attach a screenshot? 

Thanks for the confirmation of the main issue fixed.
Comment 15 Darren 2012-03-05 08:02:41 UTC
I'm not sure how to open a new bug referencing the experimental apk listed in this thread instead of the apk that is available in the market.  After restarting, the only problem is that the app is locked in portrait view on my tablet.  



(In reply to comment #14)
> > The attachment fixed the network discovery problem for me on my Asus
> > transformer TF101, but the app forces a portrait view and cuts off half the
> > screen.  Thanks for fixing the network error.
> 
> Could you please open a new bug report for this issue and attach a screenshot? 
> 
> Thanks for the confirmation of the main issue fixed.
Comment 16 Michael Herger 2012-03-06 00:36:58 UTC
(In reply to comment #15)
> I'm not sure how to open a new bug referencing the experimental apk listed in
> this thread instead of the apk that is available in the market. 

Just create a new bug, attach a screenshot and describe what you're doing with what exact Android revision, device details etc.