Web API Issues - auth.check_session always returns true? python errors?

General support for problems installing or using Deluge
Post Reply
kayson
New User
New User
Posts: 4
Joined: Thu Jan 18, 2018 6:42 am

Web API Issues - auth.check_session always returns true? python errors?

Post by kayson »

I'm doing a small update to my php wrapper for the web api (https://github.com/kaysond/deluge-php), and noticed a couple of things.

1. auth.check_session always appears to return true. I shut the daemon off completely (via systemd) but it still returns true...

2. If a web api method causes a python error (e.g. I pass php null, which is python None, to a method expecting an array) it logs the php error in the web.log, but the api just times out. Is that intentional? It would be much more helpful if it returned some kind of useful error.
Post Reply