Skip to content

Shokofin Status Display update on failure #64

Description

@Kaitou-3D

Description

Ran into a bug that took me a few days to figure out because of a bad status message. I updated to latest Shokofin and Jellyfin, and there was an issue with the connection with my Shoko server instance occurred. However, the plugin shows a status of Active even when its in a failure state due to a bad connection. I didn't realize that there was an issue until I found this line in my logs.

[2024-07-22 09:23:25.470 -04:00] [WRN] [56] Shokofin.API.ShokoAPIClient: Unable to connect to complete the request to Shoko.
System.Net.Http.HttpRequestException: Invalid or expired API Token. Please reconnect the plugin to Shoko Server by resetting the connection or deleting and re-adding the user in the plugin settings.
   at Shokofin.API.ShokoAPIClient.Get(String url, HttpMethod method, String apiKey, Boolean skipApiKey)

Suggested Solution

Some way for the plugin to alert that there has been a connection issue.

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions