Last.FM scrobbing not working [solved]

Need help? Post your questions here.

Moderator: moderators

Last.FM scrobbing not working [solved]

Postby FNC » Thu Nov 01, 2012 7:04 am

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.
Last edited by FNC on Wed Nov 07, 2012 1:54 pm, edited 1 time in total.
FNC
 
Posts: 3
Joined: Thu Nov 01, 2012 6:43 am

Re: Last.FM scrobbing not working

Postby hakko » Thu Nov 01, 2012 7:10 am

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.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Last.FM scrobbing not working

Postby BKKKPewsey » Thu Nov 01, 2012 11:12 am

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:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Last.FM scrobbing not working

Postby FNC » Thu Nov 01, 2012 11:27 am

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.
FNC
 
Posts: 3
Joined: Thu Nov 01, 2012 6:43 am

Re: Last.FM scrobbing not working

Postby FNC » Wed Nov 07, 2012 1:53 pm

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.
FNC
 
Posts: 3
Joined: Thu Nov 01, 2012 6:43 am

Re: Last.FM scrobbing not working [solved]

Postby courageousrobot » Sun Nov 11, 2012 10:29 pm

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...
courageousrobot
 
Posts: 12
Joined: Tue Apr 12, 2011 12:25 am


Return to Help

Who is online

Users browsing this forum: No registered users and 14 guests