qBittorrent 5.2.0 API changes #6650
DescriptionAs of qBittorrent 5.2.0, the WebAPI now returns HTTP 204 (instead of 200) when a response contains no data (release notes):
The login response contains no body data, so it now returns 204. However, the qBittorrent widget proxy handler only accepts HTTP 200 as a successful login: if (status !== 200) {
logger.error("HTTP %d logging in to qBittorrent. Data: %s", status, data);
return res.status(status).end(data);
}This causes the widget to reject an otherwise successful authentication. The response can be confirmed with curl: This behavior causes a repeated login error in Homepage logs despite valid credentials: Expected BehaviorThe proxy handler should accept HTTP 204 as a valid login response in addition to 200. homepage versionlatest Installation methodDocker ConfigurationNo response Container LogsNo response Browser LogsNo response TroubleshootingReference qbittorrent release logs for changes and confirm with curl. |
Replies: 5 comments 1 reply
|
Thanks, and thanks for the link. Shouldnt be too bad to handle. Would you be willing to test out a docker image, tagged Thanks |
|
Tagged |
|
Thanks - the |
|
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Thanks for testing it out, will be in our next release
#6652