transmission seems to be sending corrupt rpc output
Posted: Sun Apr 28, 2013 7:48 pm
I'm not sure what has caused this, but suddenly I'm unable to use any of the rpc services. It appears that the JSON is corrupt. I initially posted this in the transmission-remote-gui at http://code.google.com/p/transmisson-re ... ail?id=655, since it wasn't connecting and said something like Error at line 1 POS XXXX: Expected , or ] got token "result".
Looking at the output, though the author said the the conversation was wrong and "the daemon returns wrong JSON. It misses commas in some places. And I don't know why."
He pointed me at a year old bug involving unicode and it causing transmission to corrupt json output, but this didn't seem to involve unicode. The output of an 'si' command to the remote, was over 1k in length? Maybe there's an internal buffer overflow somewhere?
I was running 2.75, but when I filed the bug report (that never showed up) I saw 2.77 was available and tried it as well -- same thing.
It happened when I added 2 torrents yesterday. They downloaded -- in fact the server/daemon is still running/serving at full tilt, but can't get status on sessions even with the CLI.
(or the transmission-web interface) -- I see the trans. Icon, but it's next to an error message that says Connection failed -- you may have to reload the page to connect. So even the internal web-server
can't talk to itself! Weird.
I deleted the 2 torrents, but it didn't help the problem, so I'm stuck. Any ideas other than deleting all 400 some odd torrents and rebuilding the session?? Ug... (and I don't even know that that would help!)...
Thanks...
Looking at the output, though the author said the the conversation was wrong and "the daemon returns wrong JSON. It misses commas in some places. And I don't know why."
He pointed me at a year old bug involving unicode and it causing transmission to corrupt json output, but this didn't seem to involve unicode. The output of an 'si' command to the remote, was over 1k in length? Maybe there's an internal buffer overflow somewhere?
I was running 2.75, but when I filed the bug report (that never showed up) I saw 2.77 was available and tried it as well -- same thing.
It happened when I added 2 torrents yesterday. They downloaded -- in fact the server/daemon is still running/serving at full tilt, but can't get status on sessions even with the CLI.
(or the transmission-web interface) -- I see the trans. Icon, but it's next to an error message that says Connection failed -- you may have to reload the page to connect. So even the internal web-server
can't talk to itself! Weird.
I deleted the 2 torrents, but it didn't help the problem, so I'm stuck. Any ideas other than deleting all 400 some odd torrents and rebuilding the session?? Ug... (and I don't even know that that would help!)...
Thanks...