Android Client Problem

Need help? Post your questions here.

Moderator: moderators

Android Client Problem

Postby Nykkuno » Wed Jun 15, 2011 11:36 am

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.
Nykkuno
 
Posts: 8
Joined: Wed Jun 15, 2011 11:15 am

Likewise

Postby davekub » Wed Jun 15, 2011 2:39 pm

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??
davekub
 
Posts: 4
Joined: Wed Jun 15, 2011 2:30 pm

Postby Nykkuno » Wed Jun 15, 2011 3:36 pm

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.
Nykkuno
 
Posts: 8
Joined: Wed Jun 15, 2011 11:15 am

Postby brink » Wed Jun 15, 2011 4:20 pm

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.
brink
 
Posts: 8
Joined: Wed Jun 15, 2011 4:01 pm

Postby Nykkuno » Wed Jun 15, 2011 4:32 pm

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.
Nykkuno
 
Posts: 8
Joined: Wed Jun 15, 2011 11:15 am

Postby johnp338 » Wed Jun 15, 2011 9:12 pm

Not to complain, but I too am having the same problem.
johnp338
 
Posts: 4
Joined: Tue Mar 29, 2011 9:47 pm

Postby GJ51 » Wed Jun 15, 2011 9:31 pm

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.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby sindre_mehus » Wed Jun 15, 2011 9:47 pm

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
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby davekub » Thu Jun 16, 2011 12:56 am

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!
davekub
 
Posts: 4
Joined: Wed Jun 15, 2011 2:30 pm

Postby alphawave7 » Thu Jun 16, 2011 4:34 am

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?
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby sindre_mehus » Thu Jun 16, 2011 5:02 am

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
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby Nykkuno » Thu Jun 16, 2011 6:45 am

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
Nykkuno
 
Posts: 8
Joined: Wed Jun 15, 2011 11:15 am

Postby sindre_mehus » Thu Jun 16, 2011 6:53 am

Great! I'm working on a fix. As a work-around, try specifying "https://...." for the server url in the settings.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby Nykkuno » Thu Jun 16, 2011 6:54 am

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!
Nykkuno
 
Posts: 8
Joined: Wed Jun 15, 2011 11:15 am

Postby Nykkuno » Thu Jun 16, 2011 6:56 am

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!
Nykkuno
 
Posts: 8
Joined: Wed Jun 15, 2011 11:15 am

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 18 guests