Flood: Torrent are not added

Created on 1 Nov 2016  路  12Comments  路  Source: Flood-UI/flood

Sometimes, when adding torrent it just does not work :
screenshot_01-11-2016_b gy7z9qpo

If I add multiple torrents, I will stay on the "Add Torrents" window, but the other torrents will be added.

Here is what nodejs tells us :

Trace: { [Error: XML-RPC fault: Call XML not a proper XML-RPC call.  Call is not valid XML.  Invalid XML "content".  Problem with token at '<...': unclosed token]
  code: -503,
  faultCode: -503,
  faultString: 'Call XML not a proper XML-RPC call.  Call is not valid XML.  Invalid XML "content".  Problem with token at \'<...\': unclosed token' }
    at ClientRequest.onCompleteFn (/srv/seedbox/flood/server/util/ajaxUtil.js:7:17)
    at ClientRequest.handleError (/srv/seedbox/flood/server/models/ClientRequest.js:69:12)
    at _rejected (/srv/seedbox/flood/node_modules/q/q.js:844:24)
    at /srv/seedbox/flood/node_modules/q/q.js:870:30
    at Promise.when (/srv/seedbox/flood/node_modules/q/q.js:1122:31)
    at Promise.promise.promiseDispatch (/srv/seedbox/flood/node_modules/q/q.js:788:41)
    at /srv/seedbox/flood/node_modules/q/q.js:604:44
    at runSingle (/srv/seedbox/flood/node_modules/q/q.js:137:13)
    at flush (/srv/seedbox/flood/node_modules/q/q.js:125:13)
    at nextTickCallbackWith0Args (node.js:420:9)
POST /api/client/add-files 500 30.530 ms - 178

bug

Most helpful comment

@Angristan You can increase the allowed size of XML RPC commands with the this setting in your rtorrent.rc file: network.xmlrpc.size_limit.set = 2000000 (this is approx 2MB)

All 12 comments

Thanks for the issue, I've not seen this before.

Are you adding torrents by URLs or by uploading the torrent files?

In this case it's files, but I think it already happened with magnet, I'm not sure anymore

Hey, i'm getting the same issue, only with some torrents, adding with files.
flood2
flood1

@Angristan @Flyy-y could either of you provide an example of a torrent that exhibits this behavior? I can't seem to reproduce :(

If I find one again, I'll post here

Thanks. I almost exclusively add torrents via URL but I'll start downloading them to try to reproduce.

I had this issue with all my torrents files containing accents or strange characters (like 掳, or 莽, etc). Renaming the torrent file with a simple name resolved this !

Hope it helps :)

Another problem with this torrent. Renaming the file didn't help

Trace: { [Error: XML-RPC fault: Call XML not a proper XML-RPC call.  XML-RPC request too large.  Max allowed is 524288 bytes]
  code: -503,
  faultCode: -503,
  faultString: 'Call XML not a proper XML-RPC call.  XML-RPC request too large.  Max allowed is 524288 bytes' }
    at /srv/seedbox/flood/server/util/ajaxUtil.js:7:17
    at ClientRequest.onCompleteFn (/srv/seedbox/flood/server/models/client.js:48:11)
    at ClientRequest.handleError (/srv/seedbox/flood/server/models/ClientRequest.js:59:12)
    at _rejected (/srv/seedbox/flood/node_modules/q/q.js:844:24)
    at /srv/seedbox/flood/node_modules/q/q.js:870:30
    at Promise.when (/srv/seedbox/flood/node_modules/q/q.js:1122:31)
    at Promise.promise.promiseDispatch (/srv/seedbox/flood/node_modules/q/q.js:788:41)
    at /srv/seedbox/flood/node_modules/q/q.js:604:44
    at runSingle (/srv/seedbox/flood/node_modules/q/q.js:137:13)
    at flush (/srv/seedbox/flood/node_modules/q/q.js:125:13)
POST /api/client/add-files 500 19.145 ms - 139

@Angristan You can increase the allowed size of XML RPC commands with the this setting in your rtorrent.rc file: network.xmlrpc.size_limit.set = 2000000 (this is approx 2MB)

@HarryLafranc @Flyy-y @Angristan The issue with torrent filenames was fixed by https://github.com/jfurrow/flood/pull/196. Thanks for your patience!

@jfurrow - I think the xmlrpc size limit is causing a lot of weird errors for everyone. Can I request that the UI report some kind of error to the user to tune this parameter if it's not set ?

@beadon Yeah that's a good idea, can you create an issue for that?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

valdearg picture valdearg  路  3Comments

NoLooseEnds picture NoLooseEnds  路  6Comments

noraj picture noraj  路  4Comments

rarescosma picture rarescosma  路  3Comments

EternalBlack picture EternalBlack  路  6Comments