Skip to content

Update qBittorrent 5.2+ session cookie handling - #2071

Open
Aciervo wants to merge 1 commit into
causefx:v2-masterfrom
Aciervo:fix-qbittorrent-5.2-session-cookie
Open

Aciervo wants to merge 1 commit into
causefx:v2-masterfrom
Aciervo:fix-qbittorrent-5.2-session-cookie

Conversation

@Aciervo

@Aciervo Aciervo commented Jul 23, 2026 •

Copy link
Copy Markdown

Summary

Updates the qBittorrent homepage connection code to support the session-cookie naming introduced in qBittorrent 5.2+.

Problem

The connection code assumes the session cookie is always named SID. qBittorrent 5.2+ returns a port-specific cookie such as QBT_SID_8080, causing an undefined cookie lookup and HTTP 500 error, as references #2060

Change

The returned cookies are searched for either:

  • SID
  • A cookie beginning with QBT_SID_

The exact returned cookie name and value are then used in the API request.

Testing

Tested successfully with:

  • qBittorrent 5.2.3
  • LinuxServer.io Docker image
  • Organizr Docker installation

Detect SID and QBT_SID_<port> cookies returned by qBittorrent.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant