Skip to content

[Bug]: Scrobble Setup for Last.FM Failing #4513

Description

@ninjo99

I confirm that:

  • I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
  • I'm using the latest version (your issue may have been fixed already)

Version

0.58.0

Current Behavior

Enabling "Scrobble to Last.fm" results in the below error:

An error occurred while authorizing with Last.fm.
Request ID: fb772ceaca30/8lWBQkJJ9p-000015

Expected Behavior

Scrobbling to Last.fm should be enabled and synchronizing successfully.

Steps To Reproduce

  1. Enable "Scroble to Last.fm. under Settings > Personal
  2. Click the "Allow access" button on the Last.fm screen
  3. Redirect to the following callback URL with the provided error: https://music.exampledomain.com/api/lastfm/link/callback?uid=c02e5c63-93ef-4fb1-ac7a-85ca5a0dee3a&token=********************************

Environment

- OS: Docker deluan/navidrome
- Browser: Firefox 142.0.1
- Client: n/a

How Navidrome is installed?

Docker

Configuration

services:
  navidrome:
    image: deluan/navidrome:latest
    container_name: navidrome
    ports:
      - "4533:4533"
    restart: unless-stopped
    dns:
      - 8.8.8.8
      - 4.4.4.4
    environment:
      # Optional: put your config options customization here. Examples:
      ND_SCANSCHEDULE: 1h
      ND_LOGLEVEL: info
      ND_SESSIONTIMEOUT: 24h
      ND_BASEURL: ""
      ND_LASTFM_APIKEY: ********************************
      ND_LASFTM_SECRET: ********************************
      ND_AUTOIMPORTPLAYLISTS: false
      ND_SCANNER_PURGEMISSING: "always"
    volumes:
      - "/home/username/docker/navidrome/data:/data"
      - "/mnt/media/Music:/music:ro"

Relevant log output

time="2025-09-05T17:23:41Z" level=debug msg="HTTP: GET http://music.exampledomain.com/api/lastfm/link" elapsedTime=1.5ms httpStatus=200 remoteAddr=162.158.216.148 requestId=a6b832d5fa93/HgeoLMFxkB-000014 responseSize=60 userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0"
time="2025-09-05T17:23:42Z" level=error msg="Could not fetch LastFM session key" error="last.fm error(13): Invalid method signature supplied" requestId=a6b832d5fa93/HgeoLMFxkB-000015 token=******************************** userId=c02e5c63-93ef-4fb1-ac7a-85ca5a0dee3a
time="2025-09-05T17:23:42Z" level=warning msg="HTTP: GET http://music.exampledomain.com/api/lastfm/link/callback?uid=c02e5c63-93ef-4fb1-ac7a-85ca5a0dee3a&token=********************************" elapsedTime=120.2ms httpStatus=400 remoteAddr=162.158.216.148 requestId=a6b832d5fa93/HgeoLMFxkB-000015 responseSize=94 userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0"
time="2025-09-05T17:23:42Z" level=debug msg="UI configuration" appConfig="map[baseURL: defaultDownloadableShare:false defaultDownsamplingFormat:opus defaultLanguage: defaultTheme:Dark defaultUIVolume:100 devActivityPanel:true devNewEventStream:true devShowArtistPage:true devSidebarPlaylists:true devUIShowConfig:true enableCoverAnimation:true enableDownloads:true enableExternalServices:true enableFavourites:true enableInspect:true enableNowPlaying:true enableReplayGain:true enableSharing:false enableStarRating:true enableTranscodingConfig:false enableUserEditing:true firstTime:false gaTrackingId: lastFMEnabled:true listenBrainzEnabled:true loginBackgroundURL:/backgrounds losslessFormats:FLAC,ALAC,APE,SHN,DSF,WV,WVP,TAK,WAV maxSidebarPlaylists:100 separator:/ shareURL: variousArtistsId:63sqASlAfjbGMuLP4JhnZU version:0.58.0 (9dbe0c18) welcomeMessage:]"
time="2025-09-05T17:23:42Z" level=debug msg="HTTP: GET http://music.exampledomain.com/app/" elapsedTime="973.442µs" httpStatus=200 remoteAddr=162.158.216.148 requestId=a6b832d5fa93/HgeoLMFxkB-000016 responseSize=2586 userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0"
time="2025-09-05T17:23:43Z" level=debug msg="HTTP: GET http://music.exampledomain.com/api/lastfm/link" elapsedTime="991.326µs" httpStatus=200 remoteAddr=162.158.216.148 requestId=a6b832d5fa93/HgeoLMFxkB-000017 responseSize=60 userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0"
time="2025-09-05T17:23:45Z" level=debug msg="HTTP: GET http://music.exampledomain.com/api/lastfm/link" elapsedTime=1.2ms httpStatus=200 remoteAddr=162.158.216.148 requestId=a6b832d5fa93/HgeoLMFxkB-000018 responseSize=60 userAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0"

Anything else?

I found closed issue #3886 which seemed related and attempted the DNS setting change (as seen in my docker compose file) but this didn't make a difference. Output of wget also seems to indicate the Last.fm endpoint can be reached without issue.

Connecting to ws.audioscrobbler.com (130.211.19.189:443)
saving to 'index.html'
index.html 100% |*********************************************************************************************************************************************************************************************| 151 0:00:00 ETA
'index.html' saved

Code of Conduct

  • I agree to follow Navidrome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions