Luminarys / synapse

Synapse BitTorrent Daemon
https://synapse-bt.org
ISC License
855 stars 48 forks source link

Error: Failed to deserialize structure when doing any sycli command #223

Open aereaux opened 3 years ago

aereaux commented 3 years ago

I'm getting this error when I try to do any sycli command:

% sycli list
Failed to list torrents: Error: Failed to deserialize structure
Caused by: unknown variant `FILTER_SUBSCRIBE`, expected one of `RESOURCES_EXTANT`, `RESOURCES_REMOVED`, `UPDATE_RESOURCES`, `RPC_VERSION`, `TRANSFER_OFFER`, `RESOURCE_PENDING`, `UNKNOWN_RESOURCE`, `INVALID_RESOURCE`, `INVALID_SCHEMA`, `INVALID_REQUEST`, `PERMISSION_DENIED`, `TRANSFER_FAILED` at line 1 column 26

I'm using synapse-bt-git from the Arch Linux AUR, with the most recent version so far (1.0.r74.57b3204-1)

My config:

# TCP port used for peer connections
port = 16493

[tracker]
# UDP port used for UDP tracker interaction
port = 16362

[disk]
# Location for storing session metadata
session = "~/.local/share/synapse/"
# Default download directory
directory = "~/Downloads/"

[dht]
# UDP port used for DHT interaction
port = 16309
# Node to use for DHT bootstrapping.
# If this is not specified, DHT will be disabled.
bootstrap_node = "router.bittorrent.com:6881"

[net]
#max_open_sockets = 40
#max_open_announces = 5
Luminarys commented 3 years ago

This seems strange, let me look into this and see if I can repro