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

General support for problems installing or using Deluge
kayson
New User
New User
Posts: 4
Joined: Thu Jan 18, 2018 6:42 am
OS or Distro: Ubuntu 17.10

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

Postby kayson » Fri May 18, 2018 8:42 pm

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.

Return to “Support”

Who is online

Users browsing this forum: No registered users and 4 guests