Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

cookies plugin loads but cannot add cookies #181

Open
phi0x opened this issue May 23, 2021 · 0 comments
Open

cookies plugin loads but cannot add cookies #181

phi0x opened this issue May 23, 2021 · 0 comments

Comments

@phi0x
Copy link

phi0x commented May 23, 2021

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/"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant