Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Torrent from File not working #759

Closed
1 task done
shssoichiro opened this issue Jun 11, 2024 · 1 comment
Closed
1 task done

Add Torrent from File not working #759

shssoichiro opened this issue Jun 11, 2024 · 1 comment

Comments

@shssoichiro
Copy link

shssoichiro commented Jun 11, 2024

Type: Bug Report

  • Try to follow the update procedure described in the README and try again before opening this issue.

Your Environment

  • Version used: 4.8.2 (stable)
  • Environment name and version:
    • Node.js version node --version: v22.2.0
    • npm version npm --version: 10.8.1
    • Web browser name and version: Firefox 126.0.1 and Chrome 125.0.6422.142
  • Operating system and version: Arch Linux
  • Torrent client and version: rtorrent 0.9.8

rtorrent and flood are set to run as the same user, so that they have access to all necessary directories. flood is running behind a nginx server with the recommended server configuration as follows:

root /usr/lib/node_modules/flood/dist/assets;

location /api {
  proxy_buffering off;
  proxy_cache off;
  client_max_body_size 100M;
  proxy_pass http://127.0.0.1:3000;
}

location / {
  try_files $uri /index.html;
}

Summary

When attempting to add a torrent via file, the client responds that the torrent was added successfully, but the torrent is not added. Adding torrents via magnet works.

I have investigated the xmlrpc logs from rtorrent, it appears that it is receiving the raw_start call containing the base64 encoded torrent, and returning the following:

^@Status: 200 OK^M
Content-Type: text/xml^M
Content-Length: 140^M
^M
<?xml version="1.0" encoding="UTF-8"?>^M
<methodResponse>^M
<params>^M
<param><value><i4>0</i4></value></param>^M
</params>^M
</methodResponse>^M

Expected Behavior

The torrent file should be added in rtorrent.

@shssoichiro
Copy link
Author

This appears to be not an issue with flood. Presumably, the previously torrent client I'm migrating from did something to mangle all of my torrent files that belong to private trackers, so that rtorrent was failing to import them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant