MusicPlayerDaemon / mpdscribble

a MPD client which submits information about tracks being played to a scrobbler (e.g. last.fm)
GNU General Public License v2.0
117 stars 15 forks source link

Libre.fm handshake error #6

Open jbmfg opened 6 years ago

jbmfg commented 6 years ago

Scrobbling to last.fm works fine but lately I've noticed nothing going to libre.fm. Log shows the following:

2017-12-29T13:33:08+0000 [libre.fm] handshake error: got HTTP status 7 (Connection terminated 
unexpectedly)
2017-12-29T13:33:08+0000 [libre.fm] waiting 60 seconds before trying again
2017-12-29T13:36:18+0000 [libre.fm] handshake error: got HTTP status 7 (Could not connect: 
Connection timed out)
2017-12-29T13:36:18+0000 [libre.fm] waiting 120 seconds before trying again
grdw commented 6 years ago

The same problem occurs with Last.fm from time to time:

2018-05-22T09:45:11+0200 [last.fm] saved 4 songs to /home/xxxxxx/.mpd/lastfm.journal
2018-05-22T09:45:15+0200 [last.fm] handshake error: got HTTP status 7 (Connection terminated unexpectedly)
2018-05-22T09:45:15+0200 [last.fm] waiting 60 seconds before trying again

It does seem to scrobble after a while though (from the journal file).

Qwerty-Space commented 5 years ago

I'm getting a similar problem with last.fm:

2019-02-10T15:44:11+0000 connected to mpd 0.21.4 at /var/run/mpd/socket
2019-02-10T15:44:11+0000 starting mpdscribble (mdc 0.22)
2019-02-10T15:44:11+0000 loaded 0 songs from /home/qwerty/.mpdscribble/lastfm.journal
2019-02-10T15:44:14+0000 [last.fm] error parsing handshake response (<html><head>)
2019-02-10T15:44:14+0000 [last.fm] waiting 60 seconds before trying again
r3dnck commented 5 years ago

I'm getting a similar problem with last.fm:

2019-02-10T15:44:11+0000 connected to mpd 0.21.4 at /var/run/mpd/socket
2019-02-10T15:44:11+0000 starting mpdscribble (mdc 0.22)
2019-02-10T15:44:11+0000 loaded 0 songs from /home/qwerty/.mpdscribble/lastfm.journal
2019-02-10T15:44:14+0000 [last.fm] error parsing handshake response (<html><head>)
2019-02-10T15:44:14+0000 [last.fm] waiting 60 seconds before trying again

Same problem:

Apr 21 15:23:59 alarmpi mpdscribble[898]: connected to mpd 0.21.6 at localhost
Apr 21 15:23:59 alarmpi mpdscribble[898]: starting mpdscribble (mdc 0.22)
Apr 21 15:23:59 alarmpi mpdscribble[898]: loaded 0 songs from /var/cache/mpdscribble/listenbrainz.journal
Apr 21 15:23:59 alarmpi mpdscribble[898]: loaded 0 songs from /var/cache/mpdscribble/librefm.journal
Apr 21 15:23:59 alarmpi mpdscribble[898]: loaded 6 songs from /var/cache/mpdscribble/lastfm.journal
Apr 21 15:24:01 alarmpi mpdscribble[898]: [libre.fm] handshake successful
Apr 21 15:24:01 alarmpi mpdscribble[898]: [listenbrainz] handshake successful
Apr 21 15:24:01 alarmpi mpdscribble[898]: [last.fm] error parsing handshake response (<html><head>)
Apr 21 15:24:01 alarmpi mpdscribble[898]: [last.fm] waiting 60 seconds before trying again
Apr 21 15:25:02 alarmpi mpdscribble[898]: [last.fm] error parsing handshake response (<html><head>)
Apr 21 15:25:02 alarmpi mpdscribble[898]: [last.fm] waiting 120 seconds before trying again
Apr 21 15:27:03 alarmpi mpdscribble[898]: [last.fm] error parsing handshake response (<html><head>)
Apr 21 15:27:03 alarmpi mpdscribble[898]: [last.fm] waiting 240 seconds before trying again
alandrees commented 4 years ago

I just had something similar happen to me... I changed from using https to http and that seems to have done the trick...

[last.fm]
url = http://post.audioscrobbler.com/
tomchiverton commented 2 years ago

Not a bug then, close ?