Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Torrent are not added #164

Closed
angristan opened this issue Nov 1, 2016 · 12 comments
Closed

Torrent are not added #164

angristan opened this issue Nov 1, 2016 · 12 comments
Labels

Comments

@angristan
Copy link

angristan commented Nov 1, 2016

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

@jfurrow
Copy link
Member

jfurrow commented Nov 2, 2016

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

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

@jfurrow jfurrow added the bug label Nov 2, 2016
@angristan
Copy link
Author

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

@Flyy-y
Copy link

Flyy-y commented Nov 5, 2016

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

@jfurrow
Copy link
Member

jfurrow commented Nov 5, 2016

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

@angristan
Copy link
Author

If I find one again, I'll post here

@jfurrow
Copy link
Member

jfurrow commented Nov 5, 2016

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

@HarryLafranc
Copy link

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 :)

@angristan
Copy link
Author

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

@jfurrow
Copy link
Member

jfurrow commented Dec 8, 2016

@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)

@jfurrow
Copy link
Member

jfurrow commented Dec 8, 2016

@HarryLafranc @Flyy-y @angristan The issue with torrent filenames was fixed by #196. Thanks for your patience!

@beadon
Copy link

beadon commented May 12, 2019

@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 ?

@jfurrow
Copy link
Member

jfurrow commented Jun 24, 2019

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

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

No branches or pull requests

6 participants
@HarryLafranc @jfurrow @Flyy-y @beadon @angristan and others