Page 1 of 1

Last.FM scrobbing not working [solved]

PostPosted: Thu Nov 01, 2012 7:04 am
by FNC
Hi,

I am running subsonic 4.7 (build 3105) on Ubuntu 12.04 (XBMCbuntu).
Currently I am unable to submit tracks to subsonic and can see the following in subsonic.log:

Code: Select all
[2012-11-01 08:47:55,107] INFO AudioScrobblerService - Last.fm registration for Spin The Black Circle encountered network error.  Will try again later. In queue: 44
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:260)
   at net.sourceforge.subsonic.service.AudioScrobblerService.executePostRequest(AudioScrobblerService.java:250)
   at net.sourceforge.subsonic.service.AudioScrobblerService.registerSubmission(AudioScrobblerService.java:218)
   at net.sourceforge.subsonic.service.AudioScrobblerService.scrobble(AudioScrobblerService.java:145)
   at net.sourceforge.subsonic.service.AudioScrobblerService.access$1000(AudioScrobblerService.java:55)
   at net.sourceforge.subsonic.service.AudioScrobblerService$RegistrationThread.run(AudioScrobblerService.java:283)

[2012-11-01 08:48:55,528] INFO AudioScrobblerService - Last.fm registration for Boy in the Well encountered network error.  Will try again later. In queue: 45
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:260)
   at net.sourceforge.subsonic.service.AudioScrobblerService.executePostRequest(AudioScrobblerService.java:250)
   at net.sourceforge.subsonic.service.AudioScrobblerService.registerSubmission(AudioScrobblerService.java:218)
   at net.sourceforge.subsonic.service.AudioScrobblerService.scrobble(AudioScrobblerService.java:145)
   at net.sourceforge.subsonic.service.AudioScrobblerService.access$1000(AudioScrobblerService.java:55)
   at net.sourceforge.subsonic.service.AudioScrobblerService$RegistrationThread.run(AudioScrobblerService.java:283)


My Subsonic server is behind a Linux firewall that connects to the internet and is configured as a transparent proxy with squid.
I have added a exclusion to the firewall to allow all traffic from the subsonic server to 195.24.233.57 (which seems to be the last.fm submission system), but no luck.

I found some posts in the forum with similar problem, but there is no solution.

Any assistance would be appreciated.

Re: Last.FM scrobbing not working

PostPosted: Thu Nov 01, 2012 7:10 am
by hakko
Have you monitored the network traffic? From the error message, it looks like you get a HTTP 417 back from last.fm. I'd think that the request you send to them contains weird headers, but that's just guessing.

Re: Last.FM scrobbing not working

PostPosted: Thu Nov 01, 2012 11:12 am
by BKKKPewsey
Last FM has had server problems with their scrobbling (submissions) service recently.
See http://status.last.fm/
I noticed that a lot of my scrobbles were taking a long time to show up but SS will cache those and retry
so they get there eventually. :)

:mrgreen:

Re: Last.FM scrobbing not working

PostPosted: Thu Nov 01, 2012 11:27 am
by FNC
It looks like something on my firewall is causing it.
I ran subsonic directly on the firewall and the scrobbing works.

What's interesting is that while a song is playing I can see it on Last.fm but after the song is completed it's not there any more.

Re: Last.FM scrobbing not working

PostPosted: Wed Nov 07, 2012 1:53 pm
by FNC
I have resolved the problem. It was a issue with my firewall.

The problem was not related to subsonic or last.fm but in fact a mtu problem. I not sure it will be of interest to anyone here, but if anyone is interested they can PM me.

Thanx to those willing to try and assist.

Re: Last.FM scrobbing not working [solved]

PostPosted: Sun Nov 11, 2012 10:29 pm
by courageousrobot
Can you please provide more information about how you fixed your problem? I am having similar issues which I expect are due to firewall issues as well...