PDA

View Full Version : Last.fm not able to log on



verypsb
2017-01-30, 06:52
"There was an error verifying your account with Last.fm. Please try again later. (Unable to handshake with Last.fm because your system clock is incorrect. Please update your clock and try again.)"

I can ensure you the system clock is correct...

Best regards,
Dennis.

verypsb
2017-02-02, 00:27
No one?

Best regards,
Dennis.

Paul Webster
2017-02-02, 01:20
Is it possible that the presented time is correct but the time zone is incorrect?
This would mean that the underlying UTC/GMT time is incorrect.

verypsb
2017-02-02, 01:30
No, the time zone is correct too.

Thanks!

mherger
2017-02-02, 14:50
> No, the time zone is correct too.

Enable debug logging for audioscrobbler and upload the resulting
server.log file.


--

Michael

verypsb
2017-02-03, 00:29
This is all I get:

[17-02-03 08:20:44.0058] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::Extensions::Settings::__ANON__ failed: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~1\server\SqueezeSvr.exe>Slim/Networking/IO/Select.pm line 134.
[17-02-03 08:22:09.3723] Slim::Plugin::AudioScrobbler::Plugin::handshake (298) Handshaking with Last.fm: http://post.audioscrobbler.com/?hs=true&p=1.2&c=ss7&v=sc7.9.0&u=verypsb&t=1486106529&a=9fa7a40464e2cb333044d4174b08b7ac
[17-02-03 08:22:09.7833] Slim::Plugin::AudioScrobbler::Plugin::_handshakeOK (351) Unable to handshake with Last.fm because your system clock is incorrect. Please update your clock and try again.
[17-02-03 08:22:09.7861] Slim::Plugin::AudioScrobbler::Settings::__ANON__ (102) Error saving Audioscrobbler account: "Unable to handshake with Last.fm because your system clock is incorrect. Please update your clock and try again."

Best regards,
Dennis.

Paul Webster
2017-02-03, 03:04
Time does look fine - the timestamp converts to 2017-02-03T07:22:09+00:00 - which matches your log file timestamp assuming you are in +1 region (e.g. NL).

Paul Webster
2017-02-03, 06:19
I just had a look at the code and I think that error is what was returned by last.fm



elsif ( $content =~ /^BADTIME/ ) {
$error = string('PLUGIN_AUDIOSCROBBLER_BADTIME');
}


I expect that if the time is off by a few* seconds it could make this happen.
So - compare your local time with https://www.timeanddate.com/worldclock/ - but check the second as well.

* Where "few" is not known by me since it would be something that last.fm is deciding. I could imagine that 30 seconds either way could cause a problem.

verypsb
2017-02-03, 06:37
Thanks! A closer look revealed that the time was indeed off, 1.5 to 2 minutes...

Best regards,
Dennis.