DHT resetting to zero: "Deprecated session status key dht_nodes, please use dht.dht_nodes"

General support for problems installing or using Deluge
mentor
New User
New User
Posts: 1
Joined: Thu Apr 30, 2020 3:48 pm

DHT resetting to zero: "Deprecated session status key dht_nodes, please use dht.dht_nodes"

Postby mentor » Thu Apr 30, 2020 4:03 pm

Hello all,

I'm running:

Code: Select all

deluge 2.0.3-2-201906121747-ubuntu18.04.1
libtorrent: 1.1.5.0
Python: 3.6.9
OS: Linux 4.15.0-96-generic


It happens to me quite often that the DHT Nodes get reset to 0 and refuse to connect to any new ones. In the Deluge logs I find the following error every 3 seconds:

Code: Select all

18:02:25 [DEBUG   ][deluge.core.core              :651 ] Deprecated session status key dht_nodes, please use dht.dht_nodes
18:02:28 [DEBUG   ][deluge.core.core              :651 ] Deprecated session status key dht_nodes, please use dht.dht_nodes
18:02:31 [DEBUG   ][deluge.core.core              :651 ] Deprecated session status key dht_nodes, please use dht.dht_nodes
18:02:34 [DEBUG   ][deluge.core.core              :651 ] Deprecated session status key dht_nodes, please use dht.dht_nodes
18:02:37 [DEBUG   ][deluge.core.core              :651 ] Deprecated session status key dht_nodes, please use dht.dht_nodes
18:02:40 [DEBUG   ][deluge.core.core              :651 ] Deprecated session status key dht_nodes, please use dht.dht_nodes


Is this a known issue?

fmar
Member
Member
Posts: 34
Joined: Sun Mar 08, 2020 5:34 pm

Re: DHT resetting to zero: "Deprecated session status key dht_nodes, please use dht.dht_nodes"

Postby fmar » Mon May 04, 2020 6:33 pm

Hi mentor

If I activate the debug log I do get a couple of those messages:

Code: Select all

20:16:22 [DEBUG   ][deluge.core.core                  :651 ] Deprecated session status key num_peers, please use peer.num_peers_connected
20:16:22 [DEBUG   ][deluge.core.core                  :651 ] Deprecated session status key dht_nodes, please use dht.dht_nodes
20:16:22 [DEBUG   ][deluge.core.core                  :651 ] Deprecated session status key has_incoming_connections, please use net.has_incoming_connections
20:16:22 [DEBUG   ][deluge.core.core                  :651 ] Deprecated session status key num_peers, please use peer.num_peers_connected
20:16:22 [DEBUG   ][deluge.core.core                  :651 ] Deprecated session status key dht_nodes, please use dht.dht_nodes
20:16:22 [DEBUG   ][deluge.core.core                  :651 ] Deprecated session status key has_incoming_connections, please use net.has_incoming_connections

Not sure if they are very important or related to the behaviour you are seeing. It's basically just an information about some deprecated variables.
The messages are mentioned in this bug report. Maybe you could add some comments there or create a new bug report?

I'm using

Code: Select all

2.0.3-2-201906121747-ubuntu19.04.1
libtorrent 1.1.11
Python 3.7.3
Debian 10
linux 4.19.0-8-amd64


Return to “Support”

Who is online

Users browsing this forum: No registered users and 2 guests