Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid method signature supplied (error code 13) #34

Closed
laMudri opened this issue Jul 21, 2020 · 3 comments
Closed

Invalid method signature supplied (error code 13) #34

laMudri opened this issue Jul 21, 2020 · 3 comments

Comments

@laMudri
Copy link

laMudri commented Jul 21, 2020

cmusfm stopped scrobbling for me a few days ago, without any apparent change to my configuration. In trying to diagnose the problem, I've found that cmusfm init always produces:

Checking previous session (user: la_mudri) ...failed.
Fetch new session key [yes/NO]:

I've tried a few times to get a new key, but the new key does not help.

With debugging turned on, I see this from cmusfm init:

Checking previous session (user: la_mudri) ...DEBUG libscrobbler2.c:327: Session validation wrapper
DEBUG libscrobbler2.c:289: Now playing: 0
DEBUG libscrobbler2.c:290: Payload:  - (null) ((null)) - 0.  (0s)
DEBUG libscrobbler2.c:163: Signature data: api_key67082e45dab1f6433da72a00e3bc037aartistmethodtrack.updateNowPlayingsky56gjxMqYmDKrDS58p0v8MdU_jn8Qpditrack
DEBUG libscrobbler2.c:198: Params: api_key=67082e45dab1f6433da72a00e3bc037a&artist=(null)&method=track.updateNowPlaying&sk=y56gjxMqYmDKrDS58p0v8MdU_jn8Qpdi&track=(null)&api_sig=4354ae255b70ed381177dfea556681ed
DEBUG libscrobbler2.c:57: Read: size: 129, body: <?xml version="1.0" encoding="UTF-8"?>
<lfm status="failed">
  <error code="13">Invalid method signature supplied</error>
</lfm>

DEBUG libscrobbler2.c:114: Check: status: 0, body: <?xml version="1.0" encoding="UTF-8"?>
<lfm status="failed">
  <error code="13">Invalid method signature supplied</error>
</lfm>

DEBUG libscrobbler2.c:309: Now playing status: 3
failed.
Fetch new session key [yes/NO]:
@arkq
Copy link
Owner

arkq commented Jul 23, 2020

Indeed something has changes within scrobbling API, I will check that.

@arkq
Copy link
Owner

arkq commented Jul 23, 2020

This issue is caused by libcurl bug: curl/curl#5601

Please, upgrade or downgrade libcurl library, anything but libcurl-7.71.0 :).

@arkq arkq closed this as completed Jul 23, 2020
arkq added a commit that referenced this issue Jul 23, 2020
@laMudri
Copy link
Author

laMudri commented Jul 23, 2020

Yep, can confirm that curl version 7.71.1 is working. 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants