Doesn't work on uTorrent v3.2


It can fetch token correctly but fails on calling GetAllTorrentsAndLabels

"WebException: The remote server returned an error: (400) Bad Request." (in the url "/?list=1&token={token}")

while initializing the UTorrentWebClient class
_webClient = new UTorrentWebClient("http://localhost:8080/", "admin", "admin", true, 5); the actual source of the error is: Line 669 in UTorrentWebClient.cs


n_shay wrote May 8, 2014 at 4:24 AM

A little hint, the reasons why the project will not execute with the latest version of uTorrent:
  • token-based-authentication was added which is not supported in this implementation (using /gui/token.html - returns html and not json, which is painful since this project is written with WCF).
  • additional torrent properties added to utorrent web api that causes the code to throw an exception.
  • MaxReceivedMessageSize needs to be increased.
That's what i found so far... I am trying to use parts of this project for my own project: https://utorrentextractor.codeplex.com/