Open Vort opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have a similar issue that I think could be caused by the same problem.
The short version is that when a libtorrent client's machine has been suspended (sleep/hibernate) for long enough, libtorrent loses the SAM connection until it is manually turned off and on again on the client side. I have also found a clue that may mean that libtorrent tries to reconnect, but does that incorrectly. It may be good to know that I have this problem with the Java implementation of the I2P router, not I2PD, so this may not be a router issue.
Details can be found at the above linked issue in the qBittorrent repo. If it is preferred to also post the info to this issue or a separate one in the repo, please let me know.
I have disabled I2P functionality in qBittorrent a few weeks ago, and as it looks the frequent SAMBridge logs have stopped right there. Last such message was printed on 2023-11-09, almost a month ago. I don't remember exactly when did I turned off I2P functionality, but that date seems about right.
For now I won't turn it back on, as it wouldn't work anyway on my system.
I believe this is a missing feature. The SAM connection is triggered by setting a SAM hostname and port in the settings.
Tested with client_test and i2pd.
Expected behaviour: SAM session is recreated once i2pd is up again (after step 4). Actual behaviour: no session is (re)created, SAM sessions page is empty.
Reason: i2pd crashes sometimes and it is more convenient for user to restart just i2pd and not both i2pd and torrent client.
libtorrent version (or branch): c2012b084c6654d681720ea0693d87a48bc95b14 platform/architecture: Windows compiler and compiler version: clang 15.0.7