session is not updating after qbittorrent restart #2

Open
opened 2026-09-11 04:42:29 +03:00 by soffee · 1 comment
Owner

after qbittorrent server restart exporter is unable to refresh login session and gets stuck until it is also restarted

after qbittorrent server restart exporter is unable to refresh login session and gets stuck until it is also restarted
Author
Owner

logs:

Metrics collection failed: Error: Response content type is text/plain; charset=UTF-8, expected application/json
    at QBittorrentAPI.mainData (file:///app/dist/api.js:128:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async MetricsExporter.collectMetrics (file:///app/dist/metrics.js:207:22)
    at async MetricsServer._requestHandler (file:///app/dist/server.js:52:25)
logs: ``` Metrics collection failed: Error: Response content type is text/plain; charset=UTF-8, expected application/json at QBittorrentAPI.mainData (file:///app/dist/api.js:128:19) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async MetricsExporter.collectMetrics (file:///app/dist/metrics.js:207:22) at async MetricsServer._requestHandler (file:///app/dist/server.js:52:25) ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
soffee/qbt_exporter#2
No description provided.