Ask for help if you have problems with settings
-
ratioyoung1
- Posts: 4
- Joined: Wed Dec 16, 2020 10:42 pm
Post
by ratioyoung1 » Thu Dec 17, 2020 1:10 am
I use qnap nas, and install java1.8.
I use ssh to login my nas, try to run TRK, it shows the following messages:
Code: Select all
[~] # java -jar /share/CACHEDEV1_DATA/homes/admin/TorrentRatioKeeperMonster4.0.jar
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.<init>(Window.java:536)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:189)
at torrentratiokeeper.w.<init>(Unknown Source)
at torrentratiokeeper.TorrentRatioKeeperApp.<init>(Unknown Source)
at torrentratiokeeper.TorrentRatioKeeperApp$6.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
^C
[~] # java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
-
administrator
- Support
- Posts: 587
- Joined: Fri Oct 31, 2008 10:37 am
-
Contact:
Post
by administrator » Thu Dec 17, 2020 7:03 am
Hello,
Please check topic: http://www.torrentratiokeeper.com/forum/viewtopic.php?f=9&t=224
Code: Select all
Usage: java -jar TorrentRatioKeeperMonster.jar -ui:0 [OPTIONS]
-ui:1|0 (launch TRK with gui or without. Default - 1)
-active:1|0 (Activate TRK for the new tracker (Default Settings). Default value is 1)
-upinc:0..1000 (Increase Uploaded Traffic for the new tracker (Default Settings). Default value is 75(%))
-downdec:0..100 (Decrease Downloaded Traffic for the new tracker (Default Settings). Default value is 0, turned off)
-seeder:1|0 (Turn on Seeder mode for the new tracker (Default Settings). Default value is 0)
-noup:1|0 (Emulate Upload Problems for the new tracker (Default Settings). Default value is 0)
-blocktracker:1|0 (Block Tracker Communications for the new tracker (Default Settings). Default value is 0)
--- Add x-y% of downloaded to uploaded ---
-adddowntoup:1|0 (Add x-y% of downloaded to uploaded for the new tracker (Default Settings). Default value is 0)
-adddowntoupx:0..100000 (X of adddowntoup for the new tracker (Default Settings). Default value is 25)
-adddowntoupy:0..100000 (Y of adddowntoup for the new tracker (Default Settings). Default value is 33)
--- Limit torrent fake upload speed ---
-limtorrent:1|0 (Make sure that your fake upload increase speed for single .torrent doesn't exceed X-Y kb/s for the new tracker (Default Settings). Default value is 0, turned off)
-limtorrentx:0..100000 (X kb/s of limtorrent for the new tracker (Default Settings). Default value is 100)
-limtorrenty:0..100000 (Y kb/s of limtorrent for the new tracker (Default Settings). Default value is 150
--- Settings ---
-port:1..65535 (TRK listens this port. You need to setup your torrent client to use the port as HTTP proxy. Default port is 3012. Example: localhost:3012)
-lc:<TRK_license_key> (The license key activates TRK on your PC. It's enough to launch TRK with this parameter one time.)
--help (display this help and exit)
Example: java -jar TorrentRatioKeeperMonster.jar -ui:0 -seeder:1 -noup:0 -upinc:112 -downdec:0
-
ratioyoung1
- Posts: 4
- Joined: Wed Dec 16, 2020 10:42 pm
Post
by ratioyoung1 » Thu Dec 17, 2020 8:17 am
Thanks, it is running.
I use bittorrent. Do I need set 'use proxy for peer connections', 'Use proxy only for torrents'?
![1.jpg](./download/file.php?id=87&sid=4b2d75768d4316ef93a1e69ec01fee2b)
- 1.jpg (61.58 KiB) Viewed 47280 times
Code: Select all
[~] # java -jar /share/CACHEDEV1_DATA/homes/admin/TorrentRatioKeeperMonster4.0.jar -ui:0 -upinc:1000 -downdec:100 -port:3012 -logeachtorrent:1
Loading /root/rules.xml
Rule for Default Settings loaded (Active Upload:1000% Download:100% Seeder mode: off Emulate upload problems: off Block tracker: off)
Please read Torrent Ratio Keeper tutorial to setup the torrent client if you launched the app first time: http://www.torrentratiokeeper.com/javatutorial
You are using trial version
Thu Dec 17 16:31:11 HKT 2020: Saving statistics...
Thu Dec 17 16:46:04 HKT 2020: Saving statistics...
But where can I find the 'torrents.log' file.
Code: Select all
[~] # find / -iname "*torrents.log"
find: ‘/proc/18227’: No such file or directory
[~] #
-
administrator
- Support
- Posts: 587
- Joined: Fri Oct 31, 2008 10:37 am
-
Contact:
Post
by administrator » Thu Dec 17, 2020 1:47 pm
You need to set proxy for tracker only. No need to set proxies for peers.
But where can I find the 'torrents.log' file.
It should be in "user.dir", example: "/home/myacc/torrents.log"
-
ratioyoung1
- Posts: 4
- Joined: Wed Dec 16, 2020 10:42 pm
Post
by ratioyoung1 » Thu Dec 17, 2020 2:42 pm
I checked my home folder, cannot find torrents.log.
I want to know whether TRK is working, that make my ratio keep.
I tested 'download decrease 100' setting, I download 40GB, my tracker is really 40GB, not decreased.
Code: Select all
[~] # java -jar /share/CACHEDEV1_DATA/homes/admin/TorrentRatioKeeperMonster4.0.jar -ui:0 -upinc:1000 -downdec:100 -port:3012 -logeachtorrent:1
Cannot load /root/rules.xml
Please read Torrent Ratio Keeper tutorial to setup the torrent client if you launched the app first time: http://www.torrentratiokeeper.com/javatutorial
Default settings were updated
Rule for Default Settings loaded (Active Upload:1000% Download:100% Seeder mode: off Emulate upload problems: off Block tracker: off)
You are using trial version
Thu Dec 17 19:33:40 HKT 2020: Saving statistics...
Thu Dec 17 20:04:27 HKT 2020: Saving statistics...
Thu Dec 17 20:19:16 HKT 2020: Saving statistics...
Thu Dec 17 20:34:16 HKT 2020: Saving statistics...
Thu Dec 17 21:04:18 HKT 2020: Saving statistics...
Thu Dec 17 21:34:18 HKT 2020: Saving statistics...
Thu Dec 17 21:49:20 HKT 2020: Saving statistics...
Thu Dec 17 22:04:37 HKT 2020: Saving statistics...
Thu Dec 17 22:34:22 HKT 2020: Saving statistics...
[~] # find / -iname "*torrents.log"
find: ‘/proc/29484’: No such file or directory
[~] # find / -iname "*torrents*"
/share/CACHEDEV1_DATA/.qpkg/QTransmission3/etc/torrents
/share/CACHEDEV1_DATA/.qpkg/TransmissionWC/src/tr-web-control/script/min/transmission.torrents.min.js
/share/CACHEDEV1_DATA/.qpkg/TransmissionWC/src/tr-web-control/script/transmission.torrents.js
find: ‘/proc/29557’: No such file or directory
[~] # ls
doc@ index_default.html rules.xml
-
administrator
- Support
- Posts: 587
- Joined: Fri Oct 31, 2008 10:37 am
-
Contact:
Post
by administrator » Fri Dec 18, 2020 5:54 am
It looks like torrent client doesn't use TRK as proxy or torrent tracker is not http:// tracker. Please check .torrent source trackers. Do you see http:// tracker there?
-
ratioyoung1
- Posts: 4
- Joined: Wed Dec 16, 2020 10:42 pm
Post
by ratioyoung1 » Fri Dec 18, 2020 6:40 am
Yes, it use https.
Does TRK support https tracker?
![2.jpg](./download/file.php?id=88&sid=4b2d75768d4316ef93a1e69ec01fee2b)
- 2.jpg (20.99 KiB) Viewed 47270 times
-
administrator
- Support
- Posts: 587
- Joined: Fri Oct 31, 2008 10:37 am
-
Contact:
Post
by administrator » Fri Dec 18, 2020 6:50 pm
TRK supports http:// trackers only. If it's not possible to change https:// tracker to http:// in .torrent file or torrent client, then this tracker is not supported.