Page 1 of 1

Last.fm Audioscrobbler Delay Problem

PostPosted: Fri Apr 20, 2012 8:47 am
by jwroper
I have a problem scrobbling tracks to last.fm:

In the logs I see:

INFO AudioScrobblerService Last.fm registration for xxx encountered network error. Will try again later. In queue: 86
then eventually
DEBUG AudioScrobblerService Successfully registered submission for song 'xxx' for user xxx at Last.fm.

My username and password are definitely correct, as the tracks show up on my last.fm profile eventually, sometimes 2 days later. It seems to be successfully submitting a played track roughly every half an hour instead of as I play them, very annoying as it means I have to leave my machine on all the time to make sure the tracks are registered correctly, and also messes up the last.fm timeline. Everything else about subsonic is fantastic and if I could get this working it would make it perfect!

Please help! Thanks in advance :)

Re: Last.fm Audioscrobbler Delay Problem

PostPosted: Fri Apr 20, 2012 2:02 pm
by ytechie
This is interesting. I have never seen that error before.

I would start with a packet trace on the subsonic server when playing a song. Try to find the packets subsonic sends to the last.fm service.

Re: Last.fm Audioscrobbler Delay Problem

PostPosted: Tue Apr 24, 2012 12:20 pm
by jwroper
I can scrobble from all other music players on the same machine without any problems (i.e. iTunes, Windows media player, foobar) so I'm not sure that would help, it looks like some sort of issue with subsonic itself, any other suggestions?

Re: Last.fm Audioscrobbler Delay Problem

PostPosted: Tue Apr 24, 2012 9:40 pm
by sir2u
I'm having the same issue. I'm using the subsonic.war file on a Linux Tomcat 6 installation. Here's what is in /var/subsonic/subsonic.log:

INFO AudioScrobblerService - Last.fm registration for Rise (Acoustic) encountered network error. Will try again later. In queue: 1
org.apache.http.client.HttpResponseException: Expectation Failed
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:67)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:54)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:735)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:709)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:700)
at net.sourceforge.subsonic.service.AudioScrobblerService.executeRequest(AudioScrobblerService.java:277)
at net.sourceforge.subsonic.service.AudioScrobblerService.executePostRequest(AudioScrobblerService.java:267)
at net.sourceforge.subsonic.service.AudioScrobblerService.registerNowPlaying(AudioScrobblerService.java:247)
at net.sourceforge.subsonic.service.AudioScrobblerService.scrobble(AudioScrobblerService.java:164)
at net.sourceforge.subsonic.service.AudioScrobblerService.access$1000(AudioScrobblerService.java:55)
at net.sourceforge.subsonic.service.AudioScrobblerService$RegistrationThread.run(AudioScrobblerService.java:300)

I verified that the account info is correct and I can scrobble with other clients.

Re: Last.fm Audioscrobbler Delay Problem

PostPosted: Wed Apr 25, 2012 9:31 pm
by sir2u
Are any of you behind proxy servers? I'm behind a transparent proxy and was able to get around this by having my subsonic server's http traffic go directly out instead of being proxied.

Re: Last.fm Audioscrobbler Delay Problem

PostPosted: Thu Apr 26, 2012 8:07 am
by jwroper
No proxy here...