mpdscribble icon indicating copy to clipboard operation
mpdscribble copied to clipboard

Libre.fm handshake error

Open jbmfg opened this issue 7 years ago • 5 comments

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

jbmfg avatar Dec 29 '17 13:12 jbmfg

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).

grdw avatar May 22 '18 07:05 grdw

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

Qwerty-Space avatar Feb 10 '19 15:02 Qwerty-Space

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

r3dnck avatar Apr 21 '19 12:04 r3dnck

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/

alandrees avatar Apr 17 '20 16:04 alandrees

Not a bug then, close ?

tomchiverton avatar Jan 07 '22 15:01 tomchiverton