feishin icon indicating copy to clipboard operation
feishin copied to clipboard

[Bug]: Feishin considers credentials to be wrong when launched before the internet connection is established

Open alzalia1 opened this issue 5 months ago • 9 comments

I have already checked through the existing bug reports and found no duplicates

  • [x] Yes

App Version

0.18.0

Music Server and Version

Navidrom 0.58.0

What local environments are you seeing the problem on?

Desktop Linux

What happened?

Every couple of days (I would say 2~3 days on average), I am welcomed with that screen when opening feishin :

Image

From there, I have to clic Manage servers > Navidrome > Edit, and there, I add my password, in the now empty field :

Image

This is a problem I've had for a few weeks now. I have tried the following :

  • Adding the following environnement variable to my docker instance of Navidrome : ND_SESSIONTIMEOUT: "168h"
  • Changing the secret store from libsecret to kwallet6

I am running Feishin on Arch, KDE Plasma 6.4.3, Wayland. Feishin is setup to start at launch, which means it may start before an internet connection is available, but I do not know if this can be the reason. I also almost never close feishin manually, it is always killed when I shut down my pc (which for example means the queue is not saved).

Steps to reproduce

I'm not sure what to say here... If I understood what steps led to this screen I would probably understand why it does what it does :/

For now, what I do is just launching my computer, feishin is launcher at startup, sometimes I get the screen, and sometimes it just works. I have yet to find something to correlate the screen with...

Relevant log output


alzalia1 avatar Jul 29 '25 08:07 alzalia1

Update : for reasons, I happened to close feishin after it launched at startup, and showed the screen, and then opened it later. The screen was gone.

It seems reasonable to me to assume that the problem is that feishin assumes credentials are incorrect if the internet connection is not established soon enough, which I would consider to be a bug too, but maybe it's not ?

Edit: I'll also add that I'm using a vpn, also launches at startup, which means it takes about a minute for my computer to connect to the internet.

alzalia1 avatar Jul 30 '25 12:07 alzalia1

Actually, things continue to get weirder. I can now use the app and listen to my music, but Feishin seems unable to download covers, as navigating in the app gives me a lot of errors. See attached video :

https://github.com/user-attachments/assets/8c6ecf8f-12dd-44c7-aec1-53f6bcb45f61

alzalia1 avatar Jul 30 '25 13:07 alzalia1

Edit: I'll also add that I'm using a vpn, also launches at startup, which means it takes about a minute for my computer to connect to the internet.

I suspect this might be the issue.

I'll double check the credential invalidation logic.

jeffvli avatar Jul 31 '25 02:07 jeffvli

Same issue here, with a VPN running in the background Feishin refuses to connect and asks me to put in the password again every time I open the app. After that everything runs smoothly.

y1zhou avatar Aug 16 '25 03:08 y1zhou

I'll toss my post in here as well, if only to follow it. Also getting this issue, also using a VPN (Wireguard if it matters), and I get periodic "Username incorrect" popups while the software seems to keep going as normal otherwise.

waterglass11 avatar Aug 21 '25 23:08 waterglass11

Commenting to follow and say that this seems to be common. I'm also getting this issue, except with local network. My router takes about 10-30s to connect my pc to it, so every time I start up my pc, I get this issue even if the two pcs are linked with each other through my router. The symptoms are the same as in previous comments. Happened after I had to change my router from the old better one to a newer worse one. Sometimes this may happen even when the app is on and running normally, but this is very very rare (ie. it seems to just forget the login credentials).

Nuubles avatar Sep 13 '25 11:09 Nuubles

I disabled my vpn some time ago to see and... yup ! Still get the problem ! My router is too slow for feishin...

alzalia1 avatar Sep 13 '25 14:09 alzalia1

Same here. Started happening on 0.20 (AFAIK), MacOS 15.7.1.

Stooovie avatar Oct 07 '25 05:10 Stooovie

Same here using macOS Tahoe 26.1.

cookie-drummer avatar Oct 30 '25 18:10 cookie-drummer