arch-rtorrentvpn icon indicating copy to clipboard operation
arch-rtorrentvpn copied to clipboard

cookies plugin loads but cannot add cookies

Open phi0x opened this issue 3 years ago • 0 comments

Using the cookies feature of rutorrent/rtorrent. When i attempt to save the cookies in my rutorrent profile, it fails now with "Bad Response from server: (500 [error, setcookies]) Internal Server Error", it used to work fine till 1.5-2 months ago. I haven't been able to add any new cookies to my cookie list. I also attempted today to delete all the cookies in the list then save it - which worked. Then I tried to readd the exact same list and it failed.

I go into options > cookies > paste in cookies and it fails now. Used to work fine a few months ago, but I've updated the image multiple times since and noticed it months ago but didn't have time to get around to posting here.

I run two separate instances of this docker image on different ports and both containers are affected by this issue now.

logs show:

2021-05-22 19:00:02,947 DEBG 'rutorrent-script' stderr output:
2021/05/22 19:00:02 [error] 1467#1467: *414957 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, bool given in /usr/share/webapps/rutorrent/plugins/cookies/cookies.php:38
Stack trace:
#0 /usr/share/webapps/rutorrent/plugins/cookies/action.php(28): rCookies->set()
#1 {main}
  thrown in /usr/share/webapps/rutorrent/plugins/cookies/cookies.php on line 38" while reading response header from upstream, client: IP_HERE, server: localhost, request: "POST /plugins/cookies/action.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:7777", host: "domainnamehere.com:9443", referrer: "https://domainnamehere.com:9443/"

phi0x avatar May 23 '21 02:05 phi0x