V@no Posted October 27, 2008 Report Share Posted October 27, 2008 Hello!When I select a local torrent file and hit "ok" button the field with path to the .torrent file clears and nothing happens.In the uT log it only shows:[2008-10-27 19:23:26] HTTP: IP 192.168.255.233: GET /gui/?action=add-filein Web UI logger tab it shows:[19:23:26] JS error: [2] Expected ')'I've tried different .torrent files that work fine in uT itself.Also checked all directories where uT would download and move files/torrents to, they all are writable for uT (the directories are actually on a mapped network drive and as I said above, uT doesn't have problem using them when torrents added locally)Using uT v1.8.1 build 12639 (beta)uT download webui.zip by itself, so I assume its the latest.Thank you. Link to comment Share on other sites More sharing options...
Lord Alderaan Posted October 28, 2008 Report Share Posted October 28, 2008 Did you try with different files? The torrent file might simply not be valid. Link to comment Share on other sites More sharing options...
V@no Posted October 28, 2008 Author Report Share Posted October 28, 2008 Yes, I did.The error in WebUI log does look suspicious, doesn't it? hmm...looks like a bug...maybe...?Now, if someone CAN add new torrent via WebUI, can you tell me what version or at least what is the MD5 hash for the webui.zip you have?mine is EAD3769D75657FF109355D8BF27BAA3B[EDIT]Just tried WebUI v0.360 - same effect torrent not being added, but no error in WebUI logger tab.Here is what LiveHTTPHeader showed:http://mycomputer/gui/?action=add-file'>http://mycomputer/gui/?action=add-filePOST /gui/?action=add-file HTTP/1.1Host: mycomputerUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-us,en;q=0.5Accept-Encoding: gzip,deflateAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive: 300Connection: keep-aliveReferer: http://mycomputer/gui/Authorization: Basic blah=Content-Type: multipart/form-data; boundary=---------------------------7342278226913Content-Length: 17964-----------------------------7342278226913Content-Disposition: form-data; name="torrent_file"; filename="mytorrentfile.torrent"Content-Type: application/x-bittorrenttorrent content here-----------------------------7342278226913--And the response was:HTTP/1.x 300 ERRORConnection: keep-aliveContent-Length: 15Content-Type: text/html Link to comment Share on other sites More sharing options...
Lord Alderaan Posted October 28, 2008 Report Share Posted October 28, 2008 Wait I know that one.... 300... I had that while developing the webui shell.Had something to do with Invalid Request... hmmz. Try disabling the token system. Set webui.token_auth to false in Advanced Preferences. Link to comment Share on other sites More sharing options...
V@no Posted October 28, 2008 Author Report Share Posted October 28, 2008 Yes, that helped Thank you.So, do I need post this as a bug report or something? It's a bug, right? Link to comment Share on other sites More sharing options...
Lord Alderaan Posted October 29, 2008 Report Share Posted October 29, 2008 Which browser did you use? Including its version number please. Link to comment Share on other sites More sharing options...
V@no Posted October 29, 2008 Author Report Share Posted October 29, 2008 I've tested it on FF 3.0.3, IE6 and Chrome 0.2.149.30 so far. Link to comment Share on other sites More sharing options...
Ultima Posted October 30, 2008 Report Share Posted October 30, 2008 Well, there indeed seems to be a bug in the add-file request in WebUI. It's supposed to be adding a token var in the URL, but it's not.Bug report filed. This is (IMO) a blocking bug, considering how widely used the function is. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.