Author Topic: "Unable to connect to Last.fm", no firewall  (Read 2591 times)

sacrebisous

  • Newbie
  • *
  • Posts: 6
So for a few months now I've been completely unable to login to Last.fm, and I cannot for the life of me figure out what the problem is. Especially because this just started happening out of nowhere. Every time I click the Last.fm icon and type in my credentials, I get the following error message:

"Unable to connect Last.fm - if you have a firewall the proxy settings need to be configured in Preferences/ Internet"

I've done the following to try and fix this:

- Made sure nothing was checked in proxy settings.
- Made sure I'm not even using a proxy.
- Completely turned off my PC's firewall.
- Deleted my library settings and then rescanned everything.
- Updated MusicBee.
- Completely uninstalled and then reinstalled MusicBee.
- Tried connecting with a portable installation.

Is there anything I can do to actually be able to connect to Last.fm? I can't find any answers online or any hints within the program of what might be going wrong.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34981
did you have a look in the error log - help/ support/ view error log

sacrebisous

  • Newbie
  • *
  • Posts: 6
I did, but there's nothing that indicated the Last.fm scrobbler is having issues. Just errors about where files in my library are located. If I clear the log and then try logging in, nothing pops up in the log then either.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34981
try deleting LastFmConnect.dat in the musicbee appdata folder

sacrebisous

  • Newbie
  • *
  • Posts: 6
I haven't found that file anywhere in the AppData folder or installation folders.

frankz

  • Hero Member
  • *****
  • Posts: 3867
The developer of the program has told you that the file does indeed exist and might be causing your problem.

Do you think maybe you should search your system for it?

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34981
If using v3.5 then Help/ Support/ Open Appdata Folder will open the appropriate location
Last Edit: May 15, 2023, 03:58:03 AM by Steven

sacrebisous

  • Newbie
  • *
  • Posts: 6
frankz, I can't tell if you're trying to take some sort of tone with me or not. I'm not trying to be difficult.

There's literally no folder in my installation that has this file. I've checked AppData/Local/ and AppData/Roaming/ and the Program Files folder and even the MusicBee library folder and it just doesn't exist. This is what I see when I open the AppData folder from the MusicBee application. It's not in any folders contained within either, even Plugins.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34981
if there is no file then its failing very early in the login process.
Try this version which should log something in the error log
https://getmusicbee.com/patches/MusicBee35_Patched.zip
unzip and replace the existing musicbee application files

sacrebisous

  • Newbie
  • *
  • Posts: 6
Aha! Now we're getting somewhere. Still can't login, but the message in the log says "Last.fm login error: The request was aborted: Could not create SSL/TLS secure channel."

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34981

sacrebisous

  • Newbie
  • *
  • Posts: 6

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34981
in that case it might be your security software interfering. I dont have any other suggestions and its working fine here,


KiritoKiri

  • Newbie
  • *
  • Posts: 2
I have same error("Unable to connect Last.fm - if you have a firewall the proxy settings need to be configured in Preferences/ Internet") and error log doesn't have much info

I'm running this on wine-staging 8.8
Host OS is Endeavour(Arch)
Tried to setup multiple prefixes in 32 and 64 bit, also tried the TLS 1.3 enabling steps but it didn't work either. I also tried previous release and overwriting v3.5 release with the patch you provided above.
And I do not see this error : "Last.fm login error: The request was aborted: Could not create SSL/TLS secure channel."  which sacrebisous got.
MusicBee itself works great, only lastfm logging isn't working. If there's any other way to enable that like using 3rd party tool/cli script I'm fine with that too.

Code
20/5/2023 3:35:58 pm - Last.fm login error: The underlying connection was closed: An unexpected error occurred on a receive.
20/5/2023 3:52:19 pm - Last.fm login error: The underlying connection was closed: An unexpected error occurred on a receive.
20/5/2023 3:56:30 pm - Last.fm login error: The underlying connection was closed: An unexpected error occurred on a receive.