15 Pages V  1 2 3 > »   
Reply to this topicStart new topic
> Hentai@Home 1.6, Not the kind for horsies

 
post Jan 2 2020, 11:17
Post #1
Tenboro

Admin




1.6.1 - 2020-08-12

1.6.1 is not a required update, but adds some reliability improvements and checks to ensure correct operation.

- 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

1.6.0 is considered a stable release, and is a required update for clients running versions prior to 1.5.4. This release only has minor changes compared to 1.5.4, which remains a supported version and will not require an upgrade.

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.1, 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.

Other download options can be found at the usual place.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 2 2020, 20:54
Post #2
-Enforcer-



Casual Poster
***
Group: Gold Star Club
Posts: 231
Joined: 11-March 09
Level 342 (Godslayer)


Nice to see this project is still going, and going strong!


--------------------
Gigabit Hentai@Home File Server
**RETIRED**
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 2 2020, 23:23
Post #3
KitsuneAbby



Curse God of the Hentai Shrine
*********
Group: Catgirl Camarilla
Posts: 7,187
Joined: 12-July 14
Level 500 (Ponyslayer)


Do we need a minimum version of Java or something? I got this when updating my first client.

QUOTE
$ java -jar HentaiAtHome.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: hath/base/HentaiAtHomeClient : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:808)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:443)
at java.net.URLClassLoader.access$100(URLClassLoader.java:65)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.net.URLClassLoader$1.run(URLClassLoader.java:349)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:348)
at java.lang.ClassLoader.loadClass(ClassLoader.java:430)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:323)
at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
$ java -version
java version "1.7.0_201"
OpenJDK Runtime Environment (IcedTea 2.6.17) (7u211-2.6.17-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.201-b00, mixed mode)
$


--------------------
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 2 2020, 23:46
Post #4
nasu



さき★すかん
*******
Group: Gold Star Club
Posts: 1,637
Joined: 13-June 16
Level 381 (Godslayer)


QUOTE(decondelite @ Jan 2 2020, 21:23) *

Do we need a minimum version of Java or something? I got this when updating my first client.


You're running Java 7, make sure to update to 8 since previous versions are not supported.

QUOTE(Tenboro) *
What do I need to run Hentai@Home?

- [adoptopenjdk.net] OpenJDK, version 8 or newer. This is also available directly in most Linux distro repositories.


This post has been edited by nasu_sensei: Jan 2 2020, 23:47


--------------------
plz seed ♥
translated works | +karma


PM me if you need credits/GP to download a raw for TL/editing
or if you want help with tagging, renaming, expunging, etc.


Down all the following tags: (List generated Thu, 07 Jul 2022 11:25:05 UTC, 1143 galleries to go)
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 00:51
Post #5
KitsuneAbby



Curse God of the Hentai Shrine
*********
Group: Catgirl Camarilla
Posts: 7,187
Joined: 12-July 14
Level 500 (Ponyslayer)


My bad, did not see that detail. I put all the blame on the ninja edit. ph34r.gif


--------------------
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 02:53
Post #6
VampiricWulf



Newcomer
*
Group: Members
Posts: 35
Joined: 11-March 12
Level 344 (Lord)


Is anyone else experiencing their trust and quality dropping after the update?
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 04:16
Post #7
derpderp2



Casual Poster
***
Group: Gold Star Club
Posts: 207
Joined: 30-August 12
Level 433 (Godslayer)


thanks for the hard work like always
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 04:46
Post #8
FoolyDooly



Lurker
Group: Lurkers
Posts: 2
Joined: 25-May 09
Level 77 (Master)


QUOTE(VampiricWulf @ Jan 2 2020, 19:53) *

Is anyone else experiencing their trust and quality dropping after the update?

It's normal to see a little drop, affected by your downtime. It shouldn't be constantly dropping.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 06:23
Post #9
Me1_base_honor



Casual Poster
***
Group: Gold Star Club
Posts: 169
Joined: 31-July 16
Level 377 (Dovahkiin)


I am currently running h@h 1.6 on raspberry pi 4, oracle jdk 8, bbr enabled. I see a significant max speed drop from 80000kbps to 25000kbps. Before the update i run the client on port 80 and now is 443, is that normal and will not affect the performance of my client?
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 10:01
Post #10
mewsf



Casual Poster
****
Group: Gold Star Club
Posts: 459
Joined: 24-June 14
Level 500 (Ponyslayer)


QUOTE(VampiricWulf @ Jan 3 2020, 08:53) *

Is anyone else experiencing their trust and quality dropping after the update?

If your client is updated from 1.4 and hosted on a pppoe connection with a router, take a look at "The SSL handshake times out" part on the Wiki page.

QUOTE(Me1_base_honor @ Jan 3 2020, 12:23) *

I am currently running h@h 1.6 on raspberry pi 4, oracle jdk 8, bbr enabled. I see a significant max speed drop from 80000kbps to 25000kbps. Before the update i run the client on port 80 and now is 443, is that normal and will not affect the performance of my client?

Newer H@H client uses TLS encryption, and AFAIK raspberry pi doesn't have crypto accleration, which means it's normal that your client serves less bandwidth.


--------------------
是中国人,说普通话,简单的英文也能大致读懂. 欢迎指正我的错误.
I' Chinese and native speaker of Chinese language, can also talk in basic English, I'm sorry if my expression is not clear.
Corrections are always welcome.

请尽量使用MM联系我, 因为PM有时候注意不到. 你也可以在非官方的Hentaiverse Discord讨论群中找到我.
Please contact me via MM if possible, as PM may go unnoticed. You may also find me in the Unofficial Hentaiverse Discord server.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 12:53
Post #11
Me1_base_honor



Casual Poster
***
Group: Gold Star Club
Posts: 169
Joined: 31-July 16
Level 377 (Dovahkiin)


QUOTE(mewsf @ Jan 3 2020, 16:01) *

Newer H@H client uses TLS encryption, and AFAIK raspberry pi doesn't have crypto accleration, which means it's normal that your client serves less bandwidth.

Dat encryption uses 80% CPU, crying. Is there any more powerful Single board computer that can run h@h?
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 13:52
Post #12
mewsf



Casual Poster
****
Group: Gold Star Club
Posts: 459
Joined: 24-June 14
Level 500 (Ponyslayer)


QUOTE(Me1_base_honor @ Jan 3 2020, 18:53) *

Dat encryption uses 80% CPU, crying. Is there any more powerful Single board computer that can run h@h?


Any board with modern x86 cpus will do, although it cost more than ARM boards. I can't say about arm boards since I don't know much about them.


--------------------
是中国人,说普通话,简单的英文也能大致读懂. 欢迎指正我的错误.
I' Chinese and native speaker of Chinese language, can also talk in basic English, I'm sorry if my expression is not clear.
Corrections are always welcome.

请尽量使用MM联系我, 因为PM有时候注意不到. 你也可以在非官方的Hentaiverse Discord讨论群中找到我.
Please contact me via MM if possible, as PM may go unnoticed. You may also find me in the Unofficial Hentaiverse Discord server.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 13:53
Post #13
KISLEEY



Lurker
Group: Recruits
Posts: 9
Joined: 8-January 15
Level 35 (Journeyman)


Is it possible and/or supported to use nginx or anything else for reverse proxying requests to H@H daemon? I already run a few sites with HTTPS on a server I run my H@H client on, so port 443 is occupied, and I want to get my client working on that port, too.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 15:28
Post #14
Tenboro

Admin




QUOTE(KISLEEY @ Jan 3 2020, 12:53) *

Is it possible and/or supported to use nginx or anything else for reverse proxying requests to H@H daemon? I already run a few sites with HTTPS on a server I run my H@H client on, so port 443 is occupied, and I want to get my client working on that port, too.


It's not supported but there is an option to enable it (--disable-ip-origin-check) and it has been done; see this post.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 15:34
Post #15
DIENER



Newcomer
*
Group: Gold Star Club
Posts: 34
Joined: 18-March 11
Level 408 (Godslayer)


QUOTE(Me1_base_honor @ Jan 3 2020, 11:53) *

Dat encryption uses 80% CPU, crying. Is there any more powerful Single board computer that can run h@h?

Highest CPU usage I have ever seen on my RPi4 was around 30% but I only run 20k on my maximum burst speed.

You can try to use openJDK instead of oracle to see if that helps.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 15:37
Post #16
iPhone12



Regular Poster
******
Group: Gold Star Club
Posts: 822
Joined: 7-October 12
Level 500 (Godslayer)


I didn't expect the H@H to be updated.

Other than HTTPS security stuff, I thought everything is fine.

Anyway, it might be good signal showing that admins care about the system to improve.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 15:47
Post #17
hoking12



Lurker
Group: Recruits
Posts: 5
Joined: 8-February 19
Level 368 (Dovahkiin)


Just updated today, and have been running for about 12 hours. So far there hasn't been any significant performance degradations, even on the higher ports (>30000).
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 3 2020, 17:44
Post #18
Arith Undine



ElvenCon
******
Group: Catgirl Camarilla
Posts: 803
Joined: 24-August 11
Level 484 (Dovahkiin)


It's good to see a robust solution.


--------------------

Status: Vampire Survivors     Total Karma+: 595111     Karma gauge: 3.9x     Last seen on 2022-04-30
Karma Exhaustion: none               Last imbuement to the one at 2022-04-03 17:37
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 4 2020, 13:28
Post #19
eggplant69



Lurker
Group: Lurkers
Posts: 2
Joined: 8-October 18
Level 7 (Beginner)


As a solution to Drawer L's reverse proxy woes, it may be possible to set the X-Forwarded-For/X-Real-IP header. This would, however, require client implementation and I'm not sure if that would be of a high priority.
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post

 
post Jan 4 2020, 14:13
Post #20
bmgmhbmg



Lurker
Group: Lurkers
Posts: 4
Joined: 21-September 12
Level 40 (Journeyman)


Is it possible to support IPv6 in the future?
(My English was bad,translate with google)
User is offlineProfile CardPM
Report PostGo to the top of the page
+Quote Post


15 Pages V  1 2 3 > » 
Fast ReplyReply to this topicStart new topic
4 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
1 Members: thedemacia

 


Lo-Fi Version Time is now: 26th September 2022 - 08:37