> Hentai@Home 1.6 Stable, Not the kind for horsies

 
post Jan 2 2020, 12:17
Post #701
Tenboro

Admin




The most recent version is 1.6.4. The minimum recommended version is 1.6.3. The minimum supported version is 1.6.2.

Clients running a recent version (1.6.3 or newer) have a 50% bonus to range priority promotions.


1.6.4 - 2024-12-13

This is an optional update. It has some improvements to remove unused files from old caches, prevent corrupted files and reduce the latency of connecting to the client, but no important bug fixes or required compatibility additions.

- If the filesize of a cached file does not match the expected size, we now ignore it and perform a backend fetch instead.

- To prevent long-term bitrot, we now occasionally verify the integrity of requested files as they are being served. This will check a particular file no more often than once per week, and it will check no more than one file every two seconds. This should cause no additional I/O or RAM usage, and should have negligble impact on CPU usage.

- CPU-starved clients can disable this verification checking by starting the client with --disable-file-verification. Note however that if the monitoring system detects corrupted files in your cache, your client will be flagged for a full cache verification on next startup, which can take a long time, so it is recommended to leave it enabled unless the client is actually CPU-starved.

- Partially because of the new file integrity checking, the LRU cache table is now created even if --use-less-memory is used. This will increase the memory requirements in this mode by about 2 MB, but reduce disk I/O.

- Fixed an issue where if a directory chosen for cache pruning did not exist or was inaccessible (due to a file system or permission issue), the pruning mechanism would loop trying to prune said directory.

- If the cached number of static ranges is higher than the number of static ranges returned by the server during startup, we now force a cache rescan to prevent files in removed ranges from clogging up the cache.

- If a static range was removed, the range directory is now deleted on the first cache rescan. Previously it would delete the files, but leave the directory until the next rescan.

- Re-enabled TLS 1.3, which among other things reduces the latency for establishing a HTTPS connection to the client. It was originally disabled due to a significantly higher failure rate compared to TLS 1.2 caused by broken proxies, firewalls and other network filtering devices, but since TLS 1.3 usage is widespread at this point, this should no longer be a problem.

- TLS 1.0 and 1.1 were disabled as they are deprecated and insecure, with support being [techcommunity.microsoft.com] dropped from modern operating systems. Everything that supports the root cert of the current certificate authority more than likely supports TLS 1.2.



1.6.3 - 2024-05-12

This is a recommended update. It may become a required update in the future.

- Added experimental proxy support for backend image server requests. This allows you to use a SOCKS (v4 or v5) or HTTP proxy if connectivity to the image servers is unreliable, which is mostly relevant in regions with heavy internet censorship.

This adds three arguments that can be passed on startup:

--image-proxy-host=<host> - hostname or IP address for the proxy
--image-proxy-type=<type> - can be "socks" or "http". defaults to "socks" if not provided
--image-proxy-port=<port> - the port of the proxy. defaults to 1080 for SOCKS and 8080 for HTTP if not provided

It does not support proxies that require authentication.

While it will technically work to use Tor as a SOCKS proxy, this should be avoided as Tor is too slow for this purpose.

- The currently selected RPC server will no longer reset when the server list is refreshed, as long as the current server is still in the list. This should make the --rpc-server-ip argument more useful.

- Improved reliability of reading HTTP request headers with some browser/locale combinations.

- Corrected a potential resource exhaustion issue.


1.6.2 - 2023-09-14

This is now a required update due to lack of WebP support on previous versions.

- Fixed an issue on some setups where, when running a test against other clients, two competing threads could reach a lock in an unexpected order, which would make the client report a failure before it actually ran the test.

- Fixed an issue where, if the cache was moved without preserving file modification dates and the cache is full, the cache pruner could get stuck in a loop of not finding any files to prune.

- In very rare cases, when loading persistent cache data on startup, the internal Java object deserializer could get stuck in an infinite loop if the files had been corrupted by some software or hardware issue, which required manually deleting them. We now automatically delete those files on the next startup if this happens.

- Added a way for the server to tell a client to shut down in case of persistent network configuration issues.

- Added some MIME types for possible future use.


1.6.1 - 2020-08-12

- A sanity check for certificate expiry has been added. If a client does not successfully refresh the certificate for whatever reason, it will now shut down gracefully 24 hours before the certificate actually expires instead of failing silently.

- If the system time is off by more than 24 hours, a warning advising you to correct it will now be printed regularly. Failure to do so might make the certificate check trigger prematurely or fail to trigger at all.

- During proxy requests, when a file is requested but not found in cache, the backend will now provide an alternative source link in addition to the primary one. If the client is unable to connect to the primary source, it will automatically fall back to the secondary one.

- H@H now makes a best-effort attempt to include filesystem overhead for slack space in its cache size calculations. By default this calculation assumes a filesystem block size of 4kB which is by far the most common, adding an estimated overhead of 2 GB per 1 million files - roughly 0.5% for your average H@H cache.

Note that if your cache was at ~100%, this means it will be slighly over and prune this amount from the cache at the next startup. If you already left some extra space, you can increase the H@H cache by this amount BEFORE starting up to compensate. If you abort startup after seeing the pruning message, it will have to rescan the cache at next startup.

This does not reduce the amount of static ranges you can store at a given setting; it just adds 2kB (or blocksize/2) average overhead per file for the internal resource tracking.

You can specify a different blocksize with --filesystem-blocksize=xxx or turn this off by using --filesystem-blocksize=0


1.6.0 - 2020-01-02

Compared to 1.4.2, this incorporates all changes in the 1.5 experimental branch. You can find those release notes here.

- When refreshing HTTPS certs, the client will now wait longer (up to five minutes) before it attempts starting the server back up if the listening thread takes unexpectedly long to terminate.

- When handling file requests, cache misses did not count towards the "total files sent" stat. (This only affected the readout in the GUI, server-side stats are not calculated by the clients.)


To update an existing client: shut it down, download Hentai@Home 1.6.4, extract the archive, copy the jar files over the existing ones, then restart the client.

The full source code for H@H is available and licensed under the GNU General Public License v3, and can be downloaded here. Building it from source only requires OpenJDK 8 or newer.

For information on how to join Hentai@Home, check out The Hentai@Home Project FAQ.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Posts in this topic
Tenboro   Hentai@Home 1.6 Stable   Jan 2 2020, 12:17
-Enforcer-   Nice to see this project is still going, and going...   Jan 2 2020, 21:54
decondelite   Do we need a minimum version of Java or something?...   Jan 3 2020, 00:23
nasu_sensei   [quote name='decondelite' post='5591407' date='Jan...   Jan 3 2020, 00:46
decondelite   My bad, did not see that detail. I put all the bla...   Jan 3 2020, 01:51
VampiricWulf   Is anyone else experiencing their trust and qualit...   Jan 3 2020, 03:53
FoolyDooly   [quote name='VampiricWulf' post='5591545' date='Ja...   Jan 3 2020, 05:46
derpderp2   thanks for the hard work like always   Jan 3 2020, 05:16
Me1_base_honor   I am currently running h@h 1.6 on raspberry pi 4, ...   Jan 3 2020, 07:23
mewsf   [quote name='VampiricWulf' post='5591545' date='Ja...   Jan 3 2020, 11:01
Me1_base_honor   [quote name='mewsf' post='5591765' date='Jan 3 202...   Jan 3 2020, 13:53
mewsf   [quote name='Me1_base_honor' post='5591848' date='...   Jan 3 2020, 14:52
DIENER   [quote name='Me1_base_honor' post='5591848' date='...   Jan 3 2020, 16:34
次元游荡者   [quote name='mewsf' post='5591765' date='Jan 3 202...   Jan 27 2020, 05:24
KISLEEY   Is it possible and/or supported to use nginx or an...   Jan 3 2020, 14:53
Tenboro   [quote name='KISLEEY' post='5591884' date='Jan 3 2...   Jan 3 2020, 16:28
iPhone12   I didn't expect the H@H to be updated. Other ...   Jan 3 2020, 16:37
hoking12   Just updated today, and have been running for abou...   Jan 3 2020, 16:47
Arith Undine   It's good to see a robust solution.   Jan 3 2020, 18:44
eggplant69   As a solution to Drawer L's reverse proxy woes...   Jan 4 2020, 14:28
bmgmhbmg   Is it possible to support IPv6 in the future? (M...   Jan 4 2020, 15:13
Maximum_Joe   [quote name='bmgmhbmg' post='5592638' date='Jan 4 ...   Jan 4 2020, 17:29
ZHUOZA   [quote name='Maximum_Joe' post='5592703' date='Jan...   Mar 6 2020, 15:07
bluestealth   Hello, I have been running 1.6.0 since its releas...   Jan 5 2020, 10:22
decondelite   I don't know how you've pulled that out te...   Jan 5 2020, 12:48
Mocka   [quote name='decondelite' post='5593188' date='Jan...   Jan 7 2020, 21:03
Me1_base_honor   [quote name='decondelite' post='5593188' date='Jan...   Jan 8 2020, 12:00
sbrd95   I haven't really got anything to complain abou...   Jan 8 2020, 16:46
Me1_base_honor   [quote name='sbrd95' post='5594985' date='Jan 8 20...   Jan 8 2020, 19:28
jadoeman   [quote name='Me1_base_honor' post='5595041' date='...   Jan 9 2020, 08:02
decondelite   [quote name='Me1_base_honor' post='5595041' date='...   Jan 10 2020, 01:30
cb000   [quote name='decondelite' post='5595737' date='Jan...   Jan 10 2020, 08:53
cb000   I am now running H@H in a docker container, the do...   Jan 10 2020, 08:53
shioshio333   hi,guys. Could I get gallery id from cached file p...   Jan 8 2020, 20:33
mewsf   when using "click here if the image fails loa...   Jan 8 2020, 21:52
Tenboro   [quote name='mewsf' post='5595099' date='Jan 8 202...   Jan 8 2020, 23:50
blue penguin   [quote name='Me1_base_honor' post='5594885' date='...   Jan 9 2020, 00:18
cb000   I have same speed issues with my Raspberry Pi 3B. ...   Jan 9 2020, 13:39
Sapo84   [quote name='cb000' post='5595492' date='Jan 9 202...   Jan 9 2020, 17:10
KISLEEY   Performance problems on Raspberry Pis might be rel...   Jan 9 2020, 15:18
sbrd95   [quote name='decondelite' post='5595737' date='Jan...   Jan 10 2020, 11:22
jadoeman   Perhaps dumb question (and perhaps one that I woul...   Jan 11 2020, 02:09
Tenboro   H@H will shut down cleanly on a SIGHUP or TERM, so...   Jan 11 2020, 11:20
jadoeman   So, it's less of an issue of it being impossib...   Jan 11 2020, 20:04
Me1_base_honor   5xxx range requires 2hours to scan. OOF   Jan 12 2020, 09:26
F0D   Is it normal that switching to 1.6 will have a ver...   Jan 12 2020, 11:20
Tenboro   [quote name='F0D' post='5597243' date='Jan 12 2020...   Jan 12 2020, 12:34
dusan112   thank you :D   Jan 13 2020, 18:09
F0D   After restart my NAS and reset everything, now it ...   Jan 15 2020, 10:10
caxerx   I have a interesting problem, actually I can't...   Jan 16 2020, 03:30
Tenboro   [quote name='caxerx' post='5599281' date='Jan 16 2...   Jan 16 2020, 10:08
caxerx   [quote name='Tenboro' post='5599481' date='Jan 16 ...   Jan 16 2020, 15:04
Tenboro   [quote name='caxerx' post='5599599' date='Jan 16 2...   Jan 16 2020, 16:34
caxerx   [quote name='Tenboro' post='5599686' date='Jan 16 ...   Jan 17 2020, 08:25
decondelite   -NVM, I'll try something in the near future, t...   Jan 18 2020, 11:04
blue penguin   [quote name='次元游荡者' post='5606200' date=...   Jan 27 2020, 05:40
jsrfuture   I just installed a client in docker and everything...   Jan 29 2020, 09:20
supasonix   2020-01-29T20:06:47Z Logging started 2020-...   Jan 29 2020, 23:30
Justin iZ Here   I'm also getting the exact same issue, H@H was...   Feb 2 2020, 21:31
Tenboro   [quote name='supasonix' post='5607881' date='Jan 2...   Feb 2 2020, 23:51
Justin iZ Here   [quote name='Tenboro' post='5610653' date='Feb 2 2...   Feb 3 2020, 06:29
supasonix   [quote name='Justin iZ Here' post='5610870' date='...   Feb 3 2020, 09:35
Justin iZ Here   Yup I might as well delete H@H off my PC because i...   Feb 4 2020, 00:11
supasonix   [quote name='Justin iZ Here' post='5611272' date='...   Feb 4 2020, 01:53
Justin iZ Here   [quote name='supasonix' post='5611300' date='Feb 4...   Feb 12 2020, 20:22
Kumouri   I'm having a really weird issue, my logs are f...   Feb 6 2020, 22:19
zpfsmile   thankyou Tenboro :)   Feb 13 2020, 03:43
jadsgames   nice   Feb 16 2020, 07:39
次元游荡者   2020-02-20T01:34:50Z [info] Starting up the intern...   Feb 20 2020, 04:43
blue penguin   ^ read the text in front of you, it exist for a re...   Feb 20 2020, 04:52
qxxaxxa   why the picture data of my ehentai client is blurr...   Feb 20 2020, 07:56
MIUI   The quality of one of my h@h client often dropped ...   Feb 20 2020, 12:35
Tenboro   [quote name='MIUI' post='5621498' date='Feb 20 202...   Feb 20 2020, 16:18
次元游荡者   [quote name='Tenboro' post='5621622' date='Feb 20 ...   Feb 23 2020, 07:45
gununu   2020-02-20T15:54:12Z [info] Starting up the intern...   Feb 20 2020, 19:04
次元游荡者   [quote name='gununu' post='5621736' date='Feb 21 2...   Feb 21 2020, 14:02
Me1_base_honor   how to solve "fail to get initial stat from s...   Feb 22 2020, 06:49
Maximum_Joe   https://ehwiki.org/wiki/Technical_Issues#Startup_E...   Feb 22 2020, 07:45
Me1_base_honor   [quote name='Maximum_Joe' post='5622604' date='Feb...   Feb 22 2020, 12:31
Bouowmx   How can I get H@H to interact nicely with Windows ...   Feb 22 2020, 07:49
Maximum_Joe   Shut down the program and wait for it to terminate...   Feb 22 2020, 08:19
SamuelZon   2020-02-28T03:55:02Z [debug] Finished in 0 ms, wri...   Feb 29 2020, 08:56
CanIaxeyouaquestion   I'm also getting an SSL problem on my ARM serv...   Mar 4 2020, 10:14
Tenboro   Those most likely aren't "SSL problems...   Mar 4 2020, 10:18
CanIaxeyouaquestion   I tried checking the port, it seems to be fine. (S...   Mar 4 2020, 10:26
Tenboro   [quote name='CanIaxeyouaquestion' post='5629582' d...   Mar 5 2020, 10:18
blue penguin   [quote name='CanIaxeyouaquestion' post='5629582' d...   Mar 4 2020, 13:51
CanIaxeyouaquestion   Done. I'll leave it running. 2020-03-06T02...   Mar 6 2020, 06:16
Tenboro   [quote name='CanIaxeyouaquestion' post='5630717' d...   Mar 6 2020, 23:52
ZHUOZA   Great! I've been looking forward to an HTT...   Mar 6 2020, 15:05
CanIaxeyouaquestion   Sent the IP. It's running Java 8. owner@ns53...   Mar 7 2020, 09:07
CanIaxeyouaquestion   2020-03-07T08:01:35Z Logging started 2020-...   Mar 7 2020, 14:45
gununu   A little help here... 2020-03-21T06:16...   Mar 21 2020, 09:33
nek   hi the speed tested by hentai@home is wrong for me...   Mar 22 2020, 06:45
lollos   hi all i have lost all my data from a hd crash , i...   Mar 23 2020, 17:03
Maximum_Joe   http://ehentaihip.com/hentaiathome.php   Mar 23 2020, 17:06
lollos   [quote name='Maximum_Joe' post='5642671' date='Mar...   Mar 23 2020, 17:24
Fox_Lnc   Thanks and look forward to the next update   Mar 25 2020, 05:48
mewsf   I used to make a suggestion that users who run H@H...   Mar 28 2020, 07:52
Aiko Constantine   got it, thanks   Apr 9 2020, 05:26
8 Pages V  1 2 3 > » 


Fast ReplyReply to this topicStart new topic
7 User(s) are reading this topic (4 Guests and 0 Anonymous Users)

 


Lo-Fi Version Time is now: 25th December 2024 - 02:25