question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

qBittorrent Does Not Refresh After Connection Failure

See original GitHub issue

The problem

if qBittorrent becomes unavailable, the system no longer tries to reach it and stays in a perpetual state of “unavailable” with no further status updates. The log reports “Connection lost” even though the server is back up again.

To reproduce: quit qBittorrent so that the sensor shows it as unavailable, then bring it back up again. In my case, I restarted qBittorrent at 9:43am and by 10:15am it is still unavailable and the sensor shows a last changed of 9:43am, with logs after that continuing to say it is unavailable.

The only way to get the sensor to connect again is to restart HA.

What is version of Home Assistant Core has the issue?

2021.3.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

qbittorrent

Link to integration documentation on our website

https://www.home-assistant.io/integrations/qbittorrent/

Example YAML snippet

# Put your YAML below this line

Anything in the logs that might be useful for us?

# Put your logs below this line
2021-03-20 09:57:16 ERROR (SyncWorker_8) [homeassistant.components.qbittorrent.sensor] Connection lost
2021-03-20 09:57:16 ERROR (SyncWorker_7) [homeassistant.components.qbittorrent.sensor] Connection lost
2021-03-20 09:57:16 ERROR (SyncWorker_6) [homeassistant.components.qbittorrent.sensor] Connection lost

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:37 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
geoffreylagaissecommented, Aug 17, 2022

I am still the maintainer, I will take a look at this later on after my holiday’s. I know the PR has been closed, but you must know I’ve maintained the PR for 2 years before a review came.

3reactions
geoffreylagaissecommented, Aug 18, 2022

I’ll take a look at it! The heavy work has already been done I think (the configflow and making it async). I will probably have to fix a few deprecations, but nothing big. I will take a look at it first thing when I come back from holidays (beginning of September)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a clean way to refresh the program after connecting to ...
Restarting qbit from time to time is the only way I found.
Read more >
qBittorent Not Connecting: 5 Quick Solutions
1. Uninstall and Reinstall BitTorrent · 2. Updating To A New Version of qBittorent · 3. Uninstall and Reinstall an Old Version ·...
Read more >
How to Fix the “qBittorrent Stalled” Error? – 10 Proven Ways
To resume downloading, you can right-click the stalled torrent file and select Force Resume. Then your torrent file should resume downloading.
Read more >
Can't seem to get qbittorrent to connect, no matter what I try
1, and after updating, the client will not connect to any torrents I tried. All I get for status is 'Downloading metadata', and...
Read more >
Why the connection status is "offline" despite no noticeable ...
The problem is exactly what the status tells you: you do not have the port, which qBittorrent listens at - for incomming connections ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found