+ Reply to Thread
Page 1 of 7 123 ... LastLast
Results 1 to 15 of 104

Thread: Joal-Server (Windows / Linux / Mac)

    1. Joal-Server (Windows / Linux / Mac) Details »»

      Joal-Server (Windows / Linux / Mac)

      Version: , by (Guest Coder) anthony-joal is offline

      Developer Last Online: Nov 2023 Show Printable Version Email this Page
      Category: [Ratio Tool] Rating:  Downloads: 0
      Released: 22.10.17 Last Update: Never Installs: 2
      • Supported
      • Re-useable Code
      • Free for all

      What is Joal-Server
      This version is intended for people who have server and networking knowledge,
      if you want a simple version with a desktop app take a look at Joal-Desktop

      Joal-Server is somehow a ratio master, an optional WebUi is embeded (can be activated on demands).
      I initially developped JOAL because i was bored of the .NET framework requirement and i wanted to have a ratio-faker that could work on every OS.



      How JOAL compares with other tools
      JOAL RatioMaster Plus mRatio
      OS Windows / Linux / Mac Windows Windows
      Multi-torrent Yes Yes Yes
      Configuration Simple as hell Hard Simple
      Memory reader No Yes Yes
      App updates Download needed Download needed Download needed
      Clients file updates Download needed Download needed Download needed
      Proxy compliant No Yes Yes
      Multiple language No Yes Yes
      Headless server app Yes No No

      Don't get me wrong, i'm not saying JOAL is better than other tools around here. It does not cover the same needs. JOAL is focused in providing a simple user experience with multi-os support. The server version will provide a multi-os experience with a safe WebUi to administrate your config from wherever you are.


      Where to download
      You can download the latests release from Github.
      If you use Docker you will find two Dockerfile in the repository.

      How to use it
      Take a look at the documentation.


      Preview
      Click image for larger version. 

Name:	webui-preview.png 
Views:	1627 
Size:	46.2 KB 
ID:	18374

      If you like the project consider adding a star to the repository : https://github.com/anthonyraymond/joal (on the top-right).

      Show Your Support

        -->
      • For saying thanks to the author, please click here.
      • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Who Said Thanks:

    grandect (02.05.23) , sb86 (14.02.23) , araisan113 (02.08.21) , Mon (20.05.18) , acrobr (11.11.17) , anon (23.10.17) , Cr@zYiNsEiN (23.10.17) , kokoro (22.10.17) , Lucius (22.10.17) , H265 (22.10.17)


  1. #2

    Join Date
    11.07.17
    Posts
    4
    Activity Longevity
    0/20 9/20
    Today Posts
    0/5 ssssssss4
    Thanks for making this! I can move all my tracker-related stuff onto one Linux box.
    I requested in the old thread if you could add ghost-seeding (seeding without adding upload) to your program. After looking through the source, I have a suggestion for how it could be implented:

    Method 1:
    • Add another if statement into BandwidthDispatcher, such that if the min and max upload rates both equal 0, the upload rate is set to 0.
    • In AppConfiguration modify the validate() method so that max upload only has to be strictly greater than min upload if both are not 0.
    • Change the error message for (maxUploadRate < 0L) to "maxUploadRate must be at least 0." (as it doesn't have to be greater than 0 now).


    Method 2 (cleaner config file, but more work to implement):
    • Add another optional boolean configuration flag like ghostSeed, check if it is true in BandwidthDispatcher, and if so set the upload rate to 0.
    • In AppConfiguration's validate() method make minUploadRate and maxUploadRate optional if ghostSeed = true, and if ghostSeed = false or does not exist make minUploadRate and maxUploadRate required.
    • Change the error condition maxUploadRate < 0L to maxUploadRate < 1L, as now it should be greater than 0.


    Despite what the documentation says, keepTorrentWithZeroLeechers is a required flag - omitting it crashes the program.
    If you do make it optional, I think it would be beneficial to document what its default value is if not set (in this case false).
    Also, I see that you're using your own RandomGenerator class for generating a long within a range. Since Java 7 the API has had a class that can do that for you (so you won't need to complicate your code with a redundant class and unit tests), ThreadLocalRandom, specifically the nextLong method.

    I would make issues/submit a pull request for all this but I don't have enough knowledge in Java to do so and I don't want to risk tracker owners seeing me contribute to a software of this nature.
    Last edited by kokoro; 22.10.17 at 19:40.
    Reply With QuoteReply With Quote
    Thanks

  2. Who Said Thanks:

    anthony-joal (09.11.17) , anon (25.10.17)

  3. #3
    Guest Coder anthony-joal's Avatar
    Join Date
    22.03.17
    Location
    France
    P2P Client
    qBittorrent
    Posts
    188
    Activity Longevity
    0/20 9/20
    Today Posts
    0/5 ssssss188
    Hi kokoro :)

    Quote Originally Posted by kokoro View Post
    Thanks for making this! I can move all my tracker-related stuff onto one Linux box.
    I requested in the old thread if you could add ghost-seeding (seeding without adding upload) to your program.
    Well, that was a highly asked feature, i just implemented it. release has been published.

    Quote Originally Posted by kokoro View Post
    Despite what the documentation says, keepTorrentWithZeroLeechers is a required flag - omitting it crashes the program.
    Fixed, thanks


    Quote Originally Posted by kokoro View Post
    Also, I see that you're using your own RandomGenerator class for generating a long within a range.
    Also fixed :) thanks again.



    Version 2.0.5 has been released
    [Changes]
    • minUploadRate and maxUploadRate can now both be equal to 0. (ghost-seeding mode)
    Last edited by anthony-joal; 22.10.17 at 20:33.
    This is my signature. There are many others like it, but this one is mine.
    Reply With QuoteReply With Quote
    Thanks

  4. Who Said Thanks:

    H265 (02.12.17) , Lucius (23.10.17)

  5. #4
    Guest Coder anthony-joal's Avatar
    Join Date
    22.03.17
    Location
    France
    P2P Client
    qBittorrent
    Posts
    188
    Activity Longevity
    0/20 9/20
    Today Posts
    0/5 ssssss188
    Version 2.0.6 has been released

    [Changes]
    • Reduce memory footprint (TrackerClients are now instanciated on demand). Will be noticeable if you seed a lot of torrent at a time.


    [Bugfixes]
    • Fix Firefox support for WebUI.
    This is my signature. There are many others like it, but this one is mine.
    Reply With QuoteReply With Quote
    Thanks

  6. Who Said Thanks:

    H265 (02.12.17) , Lucius (02.11.17) , Cr@zYiNsEiN (02.11.17)

  7. #5
    Can't get it to work for any torrents, maybe utf8 is not supported?:

    Code:
    [WARN ] 2017-12-01 12:21:50.305 o.a.j.c.t.c.a.Announcer: Error while announcing stop for torrent [tvN] 그 녀석들의 이중생활.E02.171130.HDTV.H264.1080p-NEXT.mp4.
    com.turn.ttorrent.client.announce.AnnounceException: regular expression err for: , please ask sysop to fix this
            at org.araymond.joal.core.ttorent.client.announce.tracker.TrackerClient.handleTrackerAnnounceResponse(TrackerClient.java:134)
            at org.araymond.joal.core.ttorent.client.announce.tracker.TrackerClient.announce(TrackerClient.java:94)
            at org.araymond.joal.core.ttorent.client.announce.Announcer.run(Announcer.java:227)
            at java.lang.Thread.run(Thread.java:745)
    Reply With QuoteReply With Quote
    Thanks

  8. #6
    Guest Coder anthony-joal's Avatar
    Join Date
    22.03.17
    Location
    France
    P2P Client
    qBittorrent
    Posts
    188
    Activity Longevity
    0/20 9/20
    Today Posts
    0/5 ssssss188
    Quote Originally Posted by fhgmaghjhjk View Post
    Can't get it to work for any torrents, maybe utf8 is not supported?:

    Code:
    [WARN ] 2017-12-01 12:21:50.305 o.a.j.c.t.c.a.Announcer: Error while announcing stop for torrent [tvN] 그 녀석들의 이중생활.E02.171130.HDTV.H264.1080p-NEXT.mp4.
    com.turn.ttorrent.client.announce.AnnounceException: regular expression err for: , please ask sysop to fix this
            at org.araymond.joal.core.ttorent.client.announce.tracker.TrackerClient.handleTrackerAnnounceResponse(TrackerClient.java:134)
            at org.araymond.joal.core.ttorent.client.announce.tracker.TrackerClient.announce(TrackerClient.java:94)
            at org.araymond.joal.core.ttorent.client.announce.Announcer.run(Announcer.java:227)
            at java.lang.Thread.run(Thread.java:745)
    Hi @fhgmaghjhjk,
    Sorry to head that you encoutered a bug, i'll need some more information to get it fixed.

    Can you tell me with client you are using.

    Can you send me (by Private message) the complete log that JOAL gives you for this use case:
    1) Remove all torrents from "joal-conf/torrents".
    2) Start joal
    3) Add one (and only one) torrent to "joal-conf/torrents" (adding to much will make the log less readable for me).
    4) Wait for it to crash
    5) Get the whole log from the console

    It'll help me find out what's going on under the hood.
    Plus, if you can send me one of those torrent files it could be helpfull as well.
    Last edited by anthony-joal; 01.12.17 at 19:55.
    This is my signature. There are many others like it, but this one is mine.
    Reply With QuoteReply With Quote
    Thanks

  9. Who Said Thanks:

    H265 (02.12.17)

  10. #7
    Oh just switched from transmission 2.92 to another client and the crash is gone. Maybe try out transmission 2.92 on your side and if it has no problem I can switch back and give you logs. The problem is just that start up on a arm device takes very long, so I rather not restart to often.
    Reply With QuoteReply With Quote
    Thanks

  11. #8
    Guest Coder anthony-joal's Avatar
    Join Date
    22.03.17
    Location
    France
    P2P Client
    qBittorrent
    Posts
    188
    Activity Longevity
    0/20 9/20
    Today Posts
    0/5 ssssss188
    Well, that's kinda weird, i tested both transmission version and they do work on my side (in undertand your pain with ARM, i'm running on raspberry as well ^^).
    I'm refactoring the core right now to introduce new features and reduce CPU and thread overhead. My next task will be to speed it up.

    Are you sure that you spelled the client file name properly?
    This is my signature. There are many others like it, but this one is mine.
    Reply With QuoteReply With Quote
    Thanks

  12. Who Said Thanks:

    H265 (02.12.17)

  13. #9

    Join Date
    03.02.13
    Posts
    9
    Activity Longevity
    0/20 14/20
    Today Posts
    0/5 ssssssss9
    Joal, what port do I use in --server.port?
    Last edited by Warlock; 02.12.17 at 11:40.
    Reply With QuoteReply With Quote
    Thanks

  14. #10
    Guest Coder anthony-joal's Avatar
    Join Date
    22.03.17
    Location
    France
    P2P Client
    qBittorrent
    Posts
    188
    Activity Longevity
    0/20 9/20
    Today Posts
    0/5 ssssss188
    @Warlock

    By default the web-ui is disabled, you can enable it with some more arguments:
    --spring.main.web-environment=true: to enable the web context.
    --server.port=YOUR_PORT: the port to be used for both HTTP and WebSocket connection.
    --joal.ui.path.prefix="SECRET_OBFUSCATION_PATH": use your own complicated path here (this will be your first layer of security to keep joal secret). This is security though obscurity, but it is required in our case.
    --joal.ui.secret-token="SECRET_TOKEN": use your own secret token here (this is some kind of a password, choose a complicated one).

    Once joal is started head to: http://localhost:port/SECRET_OBFUSCATION_PATH/ui/

    choose the one you want, and use it in the webui-path and config.
    Last edited by anthony-joal; 02.12.17 at 13:46.
    This is my signature. There are many others like it, but this one is mine.
    Reply With QuoteReply With Quote
    Thanks

  15. Who Said Thanks:

    Lucius (03.12.17) , H265 (02.12.17)

  16. #11
    Guest Coder anthony-joal's Avatar
    Join Date
    22.03.17
    Location
    France
    P2P Client
    qBittorrent
    Posts
    188
    Activity Longevity
    0/20 9/20
    Today Posts
    0/5 ssssss188
    Version 2.0.8 has been released

    [Clients]
    • qBittorrent 4.0.0
    • qBittorrent 4.0.1
    • qBittorrent 4.0.2
    • qBittorrent 4.0.3
    This is my signature. There are many others like it, but this one is mine.
    Reply With QuoteReply With Quote
    Thanks

  17. Who Said Thanks:

    Lucius (21.12.17)

  18. #12

    problem

    it is very slow to access the web ui,and it says
    FAILED TO CONNECT TO JOAL, RETRY IN 8 SECONDS.
    over and over again
    Reply With QuoteReply With Quote
    Thanks

  19. Who Said Thanks:

    anthony-joal (21.12.17)

  20. #13
    Guest Coder anthony-joal's Avatar
    Join Date
    22.03.17
    Location
    France
    P2P Client
    qBittorrent
    Posts
    188
    Activity Longevity
    0/20 9/20
    Today Posts
    0/5 ssssss188
    Hi,

    I'll need a bit more informations to figure it out, and eventually solve the issue.

    What do you mean by slow?
    What happen before the webui shows up (blank page, 404, ...) ?
    On which platform is JOAL running (Desktop computer, raspberry, ...) and is the computer recent or is it old and slow ?

    The "FAILED TO CONNECT TO JOAL, RETRY IN 8 SECONDS" indicate that you didn't (or badly) set your connection informations. There is a red button a the top-left side of the web-ui, click on it and fill it according to the informations you have started JOAL with.
    This is my signature. There are many others like it, but this one is mine.
    Reply With QuoteReply With Quote
    Thanks

  21. #14
    Guest Coder anthony-joal's Avatar
    Join Date
    22.03.17
    Location
    France
    P2P Client
    qBittorrent
    Posts
    188
    Activity Longevity
    0/20 9/20
    Today Posts
    0/5 ssssss188
    Version 2.0.9 has been released

    [Clients]
    • uTorrent 3.5.0 (build 44294)
    • uTorrent 3.5.1 (build 44332)
    This is my signature. There are many others like it, but this one is mine.
    Reply With QuoteReply With Quote
    Thanks

  22. #15
    Member Cr@zYiNsEiN's Avatar
    Join Date
    06.04.17
    Location
    Earth
    P2P Client
    qBittorrent, BiglyBT Mod, mRatio and RatioMaster +
    Posts
    400
    Activity Longevity
    3/20 9/20
    Today Posts
    0/5 ssssss400
    Hi there,

    I tried setting "Joal-Server" up on my personal computer. However, I'm facing problems.

    Spoiler (My PC Specs Are here):

    OS TYPE:- Linux
    Flavor/Distributor ID:- Ubuntu
    Description: Ubuntu 15.10
    Release: 15.10
    Codename: wily
    OS Architecture: 32 bit


    Commands used:
    1) sudo mkdir "/home/xXXx/joal-conf"
    2) wget https://github.com/anthonyraymond/jo....9/joal.tar.gz
    3) tar -xvzf joal.tar.gz -C /home/xXXx/joal-conf
    4) chmod +x /home/xXXx/joal-conf/jack-of-all-trades-2.0.9.jar (also manually checked it by Nautilus File Manager)
    5) cd joal-conf
    6) ./jack-of-all-trades-2.0.9.jar
    Spoiler (Errors can be seen here):

    7) ./jack-of-all-trades-2.0.9.jar --debug
    Spoiler (Debugged info can be found here):


    Can you point out what is causing the problem here and possibly provide a fix? I also tried it on DSL (Damn Small Linux) which mounted to the same thing besides after multiple java conflicts (i.e., "The selected directory is not a valid home for JDK"). This is due to numerous versions of java being actively installed. However, this is not relevant since I want to run it on Ubuntu.

    Looking forward to your reply.
    ~cloud99
    Reply With QuoteReply With Quote
    Thanks

+ Reply to Thread
Page 1 of 7 123 ... LastLast

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •