Flood: Communication with rtorrent via socket not working after #638

Created on 4 Sep 2018  路  8Comments  路  Source: Flood-UI/flood

Hello,

Just pulled recent updates from git. So far I've always had in my config.js:

scgi: {
socket: true,
socketPath: '/home/rtorrent/rtorrent.socket'
},

which has worked just fine. Now, after commenting that out, and trying the same path with the configurator, it doesn't work. Re-setting rtorrent to TCP at scgi_port:ip:port works fine.

This cannot be my config since I've just been running older flood on that socket for literally a year. Please advice.

question

Most helpful comment

All 8 comments

I'm sure I broke this, will fix ASAP.

config.template.js is lacking of this part right ?

It was accidentally removed ?

   // Configuration details for your backend rtorrent interface.
   // These are defaults for most installs; check your .rtorrent.rc for changes.
   scgi: {
     host: 'localhost',
     port: 5000,
     socket: false,
     socketPath: '/tmp/rtorrent.sock'
   },

@jfurrow Please keep the changelog up to date so we can know what changed.

And also how how to move from a TCP to Unix socket ?

@noraj Those values are stored in the user database now.

And also how how to move from a TCP to Unix socket ?

Close rtorrent, open Flood and you'll be prompted to change connection method via the UI. Should add ability to update user in the future.

@jfurrow But the user also need to change his .rtorrentrc config (scgi_port = 127.0.0.1:5000) and reverse proxy (ex: nginx proxy_pass + rewrite rule) config ?

@noraj obviously flood setup must match rtorrent setup: if rtorrent scgi is on network, socket connection won't work, and viceversa. at the contrary no change is needed on nginx side as proxy for changing scgi setup between flood and rtorrent

Was this page helpful?
0 / 5 - 0 ratings

Related issues

noraj picture noraj  路  3Comments

jvacek picture jvacek  路  3Comments

abduct picture abduct  路  3Comments

NoLooseEnds picture NoLooseEnds  路  3Comments

NoLooseEnds picture NoLooseEnds  路  6Comments