Page 3 of 4

Re: other torrent clients ?

PostPosted: Sat Sep 14, 2013 5:17 am
by clinton.hall
Thanks yogi,

All of the issues you have posted appear to relate to either the uTorrent web server itself, or the browser.

Have you tried other browsers?

Perhaps try reading on the uTorrent forums.

I myself haven't used uTorrent much, and the binaries that I finally found were compiled sometime in 2012. Development on uTorrent for Linux doesn't seem to have been continued.

Since these actually relate to the web server itself, I think it should be possible to try and fix this. The web server itself is all contained in a single zip file that is accessed by utserver.

Perhaps there are other "patched" web servers for utserver that are available... I'll try and look around. If you find anything please let me know.

Cheers,

Clinton.

Re: other torrent clients ?

PostPosted: Sat Sep 14, 2013 6:21 am
by clinton.hall
Ok... https can be done via apache reverse proxy on Austor if you know how to do that, otherwise I could theoretically add this to the apkg using stunnel http://www.utorrent.com/help/guides/webui

Unfortunately if I do this, the port is not easily customisable (without editing a conf file for stunnel) so I'd need to know the "best" port to use.

Also, it appears there is an updated webui which has several fixes... So I'll try and update the apkg to the latest.

If you want to test before that, you can download the latest webui from http://forum.utorrent.com/viewtopic.php?id=58156 and just save this file as webui.zip then put it into /usr/local/AppCentral/utorrent/config

This should then give you the latest version of webui... If you can test that I'd love to hear if this resolves those issues.

Also, if you do know apache and how to configure this on Asustor I'd like to know if this is easily achieved.

Re: other torrent clients ?

PostPosted: Sat Sep 14, 2013 9:11 pm
by clinton.hall
I have verified that the latest webui appears to resolve these issues (right click on torrent works and I'm able to move the various panes etc).

I do not have a simple https option yet. I may look at creating a stunnel app later that can be used in conjunction with utorrent,

The updated App has been submitted to App Central and should be available soon.

Re: other torrent clients ?

PostPosted: Sat Sep 14, 2013 11:58 pm
by yogi
clinton.hall wrote:The updated App has been submitted to App Central and should be available soon.


not available yet, so i am still on ur initial rel
and facing one issue:

the .torrent files seem to disappear somewhere, they are not stored in the dir defined by utorrent, like .../Download/utorrent/
log file tells me:

[00:00:44] Using locale C
[00:00:45] total physical memory 536870912 max disk cache 33554432
[00:00:45] IPv6 is installed
[00:00:45] Error: <NULL> - Can't open .torrent file: /volume1/Download/utorrent/00003080-0001.utt
[00:00:45] Error: <NULL> - Can't open .torrent file: /volume1/Download/utorrent/00003080-0003.utt

so does linux utorrent convert the original .torrent files into this weired .utt format?
which i cant see in file explorer...

after reboot my .torrent dir is simply empty, besides the /log dir,
thus webui says 'cant open ...
i ve put the .torrent files there manually, doesnt help, so i guess it needs those .utt files which i havent seen so far ...

cheers

Re: other torrent clients ?

PostPosted: Sun Sep 15, 2013 3:15 am
by Auberon2k
I'll give it a try soon, just got back from a week in the hospital so I'm not fiddling with my NAS much right now....

Re: other torrent clients ?

PostPosted: Sun Sep 15, 2013 4:44 am
by clinton.hall
Weird. I did a test and the .torrent file is added to Download/uTorrent

So not sure what the .utt files are...

How did you add the download? Was this a magnet link? (Can you PM me the URL?)

Re: other torrent clients ?

PostPosted: Sun Sep 15, 2013 6:56 am
by yogi
i added the .torrent from my notebook.
thought it would copy it via my home network into the specified folder /utorrent
but maybe it did something else ... no idea

Re: other torrent clients ?

PostPosted: Sun Sep 15, 2013 9:20 am
by clinton.hall
I just did a full download with a magnet link and that did create a .utt file... all worked fine.

Re: other torrent clients ?

PostPosted: Sun Sep 15, 2013 5:50 pm
by Milk
Thnx clinton.hall! Looks very good!

Re: other torrent clients ?

PostPosted: Tue Sep 17, 2013 9:15 am
by clinton.hall
I have now modified the uTorrent apkg to create an nginx uTorrent-ssl.conf and then performs a nginx –s reload (on each start)
This conf file creates a reverse proxy for any incoming ssl connection on 6888 directing it to http://127.0.0.1:6880

therefore uTorrent is available on both
http://<Nas_Adress>:6880/gui
https://<Nas_Adress>:6888/gui
i.e. uTorrent how has https access :D

I don't believe you have to do anything else; it should work.

Via the gui, uTorrent can easily be set to only accept connections on port 6880 from a given ipaddress (e.g. 127.0.0.1) which then prevents any external access on http :D
In utorrent go to preferences, advanced, Web Ui (or preferences, Web Ui. depending on browser) and under connectivity enter 127.0.0.1

Hopefully this will be released to AppCentral soon (V20130914) and then I can push the update (V20130917)
In the meantime the latest version can be manually installed from here https://www.dropbox.com/s/wb95hg8h03oqvmi/utorrent_20130917_any.apk

I have also asked Asustor to set up a separate uTorrent sub-forum under 3rd party apps.

note: Ports (https) cannot be changed without manually editing the nginx conf file. Changing the http port from 6880 will kill https access without also editing this conf...
the conf is located at /usr/builtin/etc/nginx/sites-enabled/uTorrent-ssl. and following edit the App needs to be restarted or issue the following vis ssh
Code: Select all
nginx -s reload