Page 1 of 2

Android Client Problem

PostPosted: Wed Jun 15, 2011 11:36 am
by Nykkuno
Hi

Having a strange issue with the andriod client when trying to browse through my music collection. When I try and select a sub-folder from the main one it comes up with the following error.

Required string parameter 'id' is not present

This is after upgrading the application to the latest release. I have tried clearing the data and re-installing the application but the problem still is present.

Additionally the filtering the should be applied when I select a folder does not appear to work, it is as though I have selected "All folders" even though this was not the selection that was requested.

Any ideas?

Some additional info. The server log has the following message when the error occurs on the android client.

[6/15/11 12:37:08 PM BST] WARN RESTController Error in REST API.

Some more info. When selecting any of the "Album" options (Recently added, Random etc...) a different error message of "Required string parameter 'type' is not present" appears. The error message in the server log is as below.

[6/15/11 12:46:56 PM BST] ERROR LuceneSearchService Failed to execute Lucene search.

Likewise

PostPosted: Wed Jun 15, 2011 2:39 pm
by davekub
I'm having the exact same issues after updating to the 2.8 client. I have a Droid (the original Moto Droid). Previous version worked great!

I just thought of something and tried it. I get the 'missing parameter' messages when I try to use the app via wifi on my home network. If I turn off the wifi on my phone and use 3G, it works fine!

Any ideas??

PostPosted: Wed Jun 15, 2011 3:36 pm
by Nykkuno
Reverted back to the 2.6 client as it actually works! I am still interested in getting the latest version working though and look forward to seeing a solution to these issues.

PostPosted: Wed Jun 15, 2011 4:20 pm
by brink
Nykkuno: any ideas how to use the old version? I got it off the android store and TTBOMK I don't think it easily supports using old versions of apps.

PostPosted: Wed Jun 15, 2011 4:32 pm
by Nykkuno
I just downloaded the 2.6 version from the sourceforge page and installed it directly from the .apk file.

http://sourceforge.net/projects/subsoni ... droid/2.6/

On your phone you need to have the "Unknown Sources" box in the Applications settings screen ticked to allow this though.

PostPosted: Wed Jun 15, 2011 9:12 pm
by johnp338
Not to complain, but I too am having the same problem.

PostPosted: Wed Jun 15, 2011 9:31 pm
by GJ51
Please list what make and model of phone you have. It will help find the problem. I have an EVO 4g and do not have anu issues with the 2.8 update.

Providing as much information regarding you hardware and software will help identify the problem and find a fix.

PostPosted: Wed Jun 15, 2011 9:47 pm
by sindre_mehus
Hi,

This must be related to the fact that the Android app now uses HTTP POST rather than HTTP GET requests.

How do you access your server? Are you using a xxx.subsonic.org address? Do you have some kind of HTTP proxy or similar in front of your server?

Thanks!
Sindre

PostPosted: Thu Jun 16, 2011 12:56 am
by davekub
I just discovered something. For me, it worked fine if I accessed my server via 3G, but not if I accessed it via wifi. Over wifi, I access the server by it's IP and by http; over 3G, I access it by my domain name and by https.

If I change the wifi setup so that it accesses the server by https, it works! Switch it back to http, and it doesn't work. And by "doesn't work", I mean it will retrieve the list of artists but I can't select anything without getting the before-mentioned errors.

Hope this helps narrow down the problem!

PostPosted: Thu Jun 16, 2011 4:34 am
by alphawave7
Hate to pile on, and my issue is an oldie (not this one), but the dreaded Android download pause is now back for me. Today I 'streamed' a 4 minute tune that stalled every 30-some-odd seconds to buffer, all the way to the end. This is on a new HTC Sensation with strong 4G, running latest Gingerbread. Wonder if this is also HTTP GET related?

PostPosted: Thu Jun 16, 2011 5:02 am
by sindre_mehus
I can reproduce it in the following case:

1. Subsonic server has https enabled.
2. Server address is specified as "http://<ip address of server>"

Now, is there anyone seeing the error in a case different from this?

Thanks,
Sindre

PostPosted: Thu Jun 16, 2011 6:45 am
by Nykkuno
sindre_mehus wrote:I can reproduce it in the following case:

1. Subsonic server has https enabled.
2. Server address is specified as "http://<ip address of server>"

Now, is there anyone seeing the error in a case different from this?

Thanks,
Sindre


That is exactly how I have my subsonic server/client set up.

The phone is an HTC Desire HD

PostPosted: Thu Jun 16, 2011 6:53 am
by sindre_mehus
Great! I'm working on a fix. As a work-around, try specifying "https://...." for the server url in the settings.

PostPosted: Thu Jun 16, 2011 6:54 am
by Nykkuno
Just reinstalled the 2.8 client, turned off https on the server and restarted it.

This seems to have solved the problem for now! Yay!

PostPosted: Thu Jun 16, 2011 6:56 am
by Nykkuno
sindre_mehus wrote:Great! I'm working on a fix. As a work-around, try specifying "https://...." for the server url in the settings.


This also works as well. Thanks!