mofle Posted April 5, 2008 Report Share Posted April 5, 2008 Why am I getting {"":""} when i use the ?action=add-url&s= ?I 'm using µTorrent 1.7.7. Link to comment Share on other sites More sharing options...
Directrix Posted April 5, 2008 Report Share Posted April 5, 2008 What are you expecting? Link to comment Share on other sites More sharing options...
mofle Posted April 5, 2008 Author Report Share Posted April 5, 2008 Like, maybe a possibility of being able to add the torrent.I get the {"":""} and no torrent is added.And of course i'm using the whole url, just like this:http://john:doe@192.168.0.104:9999/gui/?action=add-url&s=http%3A%2F%2Fwww.mininova.org%2Fget%2F1187689Any solution? Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 6, 2008 Report Share Posted April 6, 2008 The question is... is adding from URL even an option currently? Link to comment Share on other sites More sharing options...
Ultima Posted April 6, 2008 Report Share Posted April 6, 2008 Yes, and last I checked, it still works.@mofle: That it outputs an empty dictionary (well, it's no longer empty, since it returns the build number now) doesn't mean it's not working. I just tried the command, and it worked perfectly. A bit of patience would help. Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 6, 2008 Report Share Posted April 6, 2008 COOL! Works for me http://localhost:12358/gui/?action=add-url&s=http://www.mininova.org/get/1297677Edit: The GUI log message though is... odd [18:50:41] HTTP: IP ::1: GET /gui/?action=add-url&s=http://www.mininova.org/get/1297677the full address I used was admin:1@localhost:12358 so obviously something isn't interpreted right, right?I guess it has to do with localhost DNS ... and the fact I don't have a real ipv6 address even through teredo, I dunnoBoth my LAN IP and localhost show the correct IP[21:13:47] HTTP: IP 127.0.0.1: GET /gui/?action=add-url&s=http://www.mininova.org/get/1297678[21:13:45] HTTP: IP 192.168.0.101: GET /gui/?action=add-url&s=http://www.mininova.org/get/1297679 Link to comment Share on other sites More sharing options...
Ultima Posted April 6, 2008 Report Share Posted April 6, 2008 The URL should be URL Encoded when you pass it into µTorrent.Not sure what's up with the ::1: stuff :| Link to comment Share on other sites More sharing options...
GTHK Posted April 6, 2008 Report Share Posted April 6, 2008 ::1 is the loopback address for IPv6, yet the WebUI doesn't seem to work with IPv6 addresses itself. Doing :12358/gui]http://[::1]:12358/gui/ will yield the same ::1: in the log, but it fails to load. Link to comment Share on other sites More sharing options...
Firon Posted April 6, 2008 Report Share Posted April 6, 2008 Only 1.8 supports ipv6, and the webui itself may not yet. Link to comment Share on other sites More sharing options...
GTHK Posted April 6, 2008 Report Share Posted April 6, 2008 I already posted about the WebUI not working properly with IPv6 addresses :/. Link to comment Share on other sites More sharing options...
mofle Posted April 6, 2008 Author Report Share Posted April 6, 2008 Right... I still haven't gotten any wiser on {"":""} problem though...Anyone have a solution for this? (other than waiting for µTorrrent 1.8 and the new WebUI to be released) Link to comment Share on other sites More sharing options...
Lord Alderaan Posted April 6, 2008 Report Share Posted April 6, 2008 That request always returns {"":""}.When you do a proper ?action=add-url&s= the torrent is added to µtorrent and otherwise it is not. Link to comment Share on other sites More sharing options...
Ultima Posted April 6, 2008 Report Share Posted April 6, 2008 @mofle: Why is {"":""} even a problem? Link to comment Share on other sites More sharing options...
mofle Posted April 7, 2008 Author Report Share Posted April 7, 2008 Because the torrent isn't added. Link to comment Share on other sites More sharing options...
Lord Alderaan Posted April 7, 2008 Report Share Posted April 7, 2008 Then it wasn't a proper add-url. Either it wasn't encoded properly or the torrent didn't exist.As I said before. No matter if the torrent was added or not the page always returns {"":""}. There is no error reporting for ?action=add-url. Link to comment Share on other sites More sharing options...
kentyman Posted April 7, 2008 Report Share Posted April 7, 2008 Shouldn't there be some error reporting returned from add-url though?@mofle, the link you pasted above looks fine to me. Have you checked the logging in uTorrent to see if the GET was received? Link to comment Share on other sites More sharing options...
Ultima Posted April 8, 2008 Report Share Posted April 8, 2008 No, because if the server is slow, and you have to wait for µTorrent to spit an error back (because it's waiting for the server to respond), the webui might think it's timed out instead. There's no reason to time the UI out just because of an external problem. Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 17, 2008 Report Share Posted April 17, 2008 Is there a LIMIT for the add-urlI just noticed you can add a cookie also through the WebUI interface (futzing with the multilang) ... but the request is truncated. it works from the GUI.GET /gui/?action=add-url&s=http%3A//www.demonoid.com/files/download/HTTP/1425221/1854827/:COOKIE:uid=185whereas the cookie is 134 characters long.If it's helpful, the urls returned in the logger tab are always 131 characters: the last 101 of which are the URL Link to comment Share on other sites More sharing options...
Lord Alderaan Posted April 17, 2008 Report Share Posted April 17, 2008 I think only the logger truncates the link. Link to comment Share on other sites More sharing options...
jewelisheaven Posted April 17, 2008 Report Share Posted April 17, 2008 Well the torrents don't load without the cookie and the torrent+cookie works fine from the UI :/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.