Skip to content

[Bug]: Jellyfin session bugs out when opening Feishin and the Jellyfin server is down #1433

@Fleeym

Description

@Fleeym

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

  • Yes

App Version

1.0.1-beta.1

Music Server and Version

Jellyfin v10.11.5

What local environments are you seeing the problem on?

Desktop Linux, Desktop Windows

What happened?

First of all, I could only test this with a Jellyfin server, I don't know if the bug replicates to other media servers.

I found a weird issue that happens when the media server is unavailable in the beta release.

Here is what I see when restarting Feishin after killing my Jellyfin server:

Image

The UI is stuck in a weird middle state, where it wants me to login, but it does have a server configured.

Even if I bring the Jellyfin server back online, the issue remains even after restarting Feishin. The only way to fix this is to configure the server again.

After configuring the server, you will be able to switch back to the original configuration, but you will get the following error:

Image

Notice that the server list is now available at the top of the screen. Attempting to login while in this state will lead to the same "Your session has expired" error. The only fix is to delete the old profile and use the new one.

I will try and look into the code for a little, maybe I can come up with a fix.

Steps to reproduce

  1. Setup a Jellyfin server inside Feishin
  2. Kill the Jellyfin server
  3. Restart Feishin
  4. You will be sent back to the login screen, with no server list at the top
  5. You will have to setup your server again, after which the player will work
  6. Switching back to the old server will return the error: "Your session has expired". This issue persists even when trying to log back in

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions