GChristensen / torrent-add

GNU General Public License v3.0
14 stars 1 forks source link

First add will fail after SID of qbittorrent is expired #8

Closed ihipop closed 11 months ago

ihipop commented 1 year ago

image

When the login cookie is expired, the first time of add a torrent will fail, until I add it again the second time maybe we could re-try login to login if we know the failure is because of the expiration of the login cookie

ihipop commented 1 year ago

this could be instantly recurred by login from the web UI of qBittorrent , because it will expire the previous SID got by this addon previously

GChristensen commented 1 year ago

I'll try sometimes later. Personally I'm using auto login by network mask. This may be used as a workaround.

GChristensen commented 11 months ago

I've slightly reworked login in 0.4.2. Now it checks if WebIU is logged in and logs in only if it is not. Hope this will help. If not, I need a complete sequence of actions that leads to this error.

ihipop commented 11 months ago

I've slightly reworked login in 0.4.2. Now it checks if WebIU is logged in and logs in only if it is not. Hope this will help. If not, I need a complete sequence of actions that leads to this error.

I see, it works like a charm now, I can share the SID of WebIU so I won't have to log in frequently thanks for your great work