You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment name and version: Docker container based on Alpine 3.15
Operating system and version: Ubuntu 22 Firefox 99.0.1
Torrent client and version: jesec/rtorrent 0.9.8-r16
Summary
An 500 error occurs when I try to add a torrent file (https://releases.ubuntu.com/22.04/ubuntu-22.04-desktop-amd64.iso.torrent) in Flood. Seems that the torrent payload is not properly decoded by rtorrent?
With the same configuration I'm able to download another test torrent via magnet link without issues.
Here is the payload of the request taken from the network inspector: https://pastebin.com/E3eyEZ4H
Here is the response:
{
"code": -32602,
"message": "invalid parameters: unexpected data type"
}
It appears that the "hasLoadThrow" check has some weird issues. As
pretty much all JSON capable versions have "load.throw", and the
JSON request requires base64 encoding, fold the check into "isJSONCapable".
Bug: #557
Type: Bug Report
Your Environment
Summary
An 500 error occurs when I try to add a torrent file (https://releases.ubuntu.com/22.04/ubuntu-22.04-desktop-amd64.iso.torrent) in Flood. Seems that the torrent payload is not properly decoded by rtorrent?
With the same configuration I'm able to download another test torrent via magnet link without issues.
Here is the payload of the request taken from the network inspector: https://pastebin.com/E3eyEZ4H
Here is the response:
Here is the associated log from the rtorrent side
log.add_output = "rpc_events"
: https://gist.github.com/peloyeje/2f8dc8916e808b110fc1b6c90e12153elog.rpc
: https://gist.github.com/peloyeje/01ebbd51c2a647397bb3a27afd81bb6c (I removed NUL characters to be able to share + I left some example calls after for context)I'm happy to provide any additional info to help troubleshoot!
Many thanks!
Expected Behavior
Being able to add torrent files via the UI
Steps to Reproduce
See linked torrent
The text was updated successfully, but these errors were encountered: