H@H client ID: 49216
Question: Before December 1st (I don’t remember the exact date), the maximum speed of the H@H client was 40MB/s+. It's now 17015 KB/s and I want to get back to the previous maximum speed
Environment before and after maximum speed change:
1. The network environment has not changed. The client is located in CN. The ISP speed is 500Mb/s upstream and downstream. The actual speed measured by the speed test server using CN is up to 600Mb/s upstream and downstream. The router port is forwarded to the H@H client.
2. I reinstalled the operating system
Previously: Physical machine Windwos server 2022+ Hyper Windwos Server 2022, H@H runs on Hyper
Now: Physical machine Windwos server 2025+ Hyper Windwos Server 2025, H@H runs on Hyper
I tried the following after December 2024
1. Change the storage mode, physical machine PCIE3.0 SSD->smb->H@H to Hyper pass-through PCIE3.0 SSD->H@H. When verifying the cache, the SSD speeds before and after the change are: 10MB/s -> 160MB/s. Maximum speed is not restored.
2. Replace the H@H client and use hath-rust.1.8.0, but the maximum speed is not restored.
3. Upgrade the official H@H version, 1.6.3->1.6.4, the maximum speed is not restored
4. Replace Hyper with Windwos Server 2022 and use H@H.1.6.3 / H@H.1.6.4/hath-rust.1.8.0. The maximum speed is not restored.
5. Using H@H.1.6.4 this week, I saw more access error logs for [
xxx.xxx.xxx.xx]
http://xxx.xxx.xxx.xx/om/xxxxx from the error log, found several times that the GUI speed chart dropped from 16MB/s to 0.the --image-proxy related options are added to the startup command, and the maximum speed is not restored.
6.16 hours ago, I replaced port forwarding with nginx reverse proxy. 4 hours ago, I received a PM warning from Gallery System: H@H Client 49216 is unreachable, and the maximum speed has not been restored so far. What do I need to do, or can't I use a reverse proxy?
7. Forward the traffic port from the RPC server to H@H, and connections from other IPs go through the reverse proxy
When the H@H outgoing speed is stable at around 120Mb/s, before using the reverse proxy, the average number of connections displayed by the GUI is generally greater than 60, and after using it, the average number of connections is less than 10
NGINX distinguishes access paths in order to view requests other than image requests. As of now (about 2 hours) hath.network.8443.log/hath.network.8443.error.log has no content.
H@H log after using reverse proxy:
CODE
2024-12-21T08:33:41Z [info] {4695566/192.168.1.1} Code=200 Bytes=672633 GET /h/28435c4408943d00a5a45cfc095a3bec80c3607d-672633-1280-1848-jpg/keystamp=1734770400-1ea33bc6fd;fileindex=130414005;xres=1280/002.jpg HTTP/1.1
2024-12-21T08:33:41Z [info] {4695567/192.168.1.1} Code=200 Bytes=361490 GET /h/67ce10f1d721b9d4936dfa02018000ac2d8cba21-361490-1280-1810-wbp/keystamp=1734770400-e272f015e9;fileindex=168119317;xres=1280/0010_09.webp HTTP/1.1
2024-12-21T08:33:41Z [info] {4695566/192.168.1.1} Code=200 Bytes=672633 Finished processing request in 0.01 seconds
2024-12-21T08:33:41Z [info] {4695567/192.168.1.1} Code=200 Bytes=361490 Finished processing request in 0.00 seconds
2024-12-21T08:33:41Z [info] {4695568/192.168.1.1} Code=200 Bytes=250550 GET /h/d74e3d6c7b3766c341562f66962b4efea9cf02c5-250550-1280-1807-wbp/keystamp=1734770400-9aacf3e8f0;fileindex=156558716;xres=1280/110.webp HTTP/1.1
2024-12-21T08:33:41Z [info] {4695570/192.168.1.1} Code=200 Bytes=606831 GET /h/623d9c94a32f2783f747798b606ebf2ae7cece06-606831-1280-1760-jpg/keystamp=1734770400-a530f99563;fileindex=115419460;xres=1280/0014.jpg HTTP/1.1
2024-12-21T08:33:41Z [info] {4695569/192.168.1.1} Code=200 Bytes=638428 GET /h/33b34645012db39c3f97b1cd2d53a1baf2d4f93f-638428-1280-1916-jpg/keystamp=1734770400-ca4bb13ed6;fileindex=119134552;xres=1280/004.jpg HTTP/1.1
2024-12-21T08:33:41Z [info] {4695568/192.168.1.1} Code=200 Bytes=250550 Finished processing request in 0.00 seconds
2024-12-21T08:33:41Z [info] {4695569/192.168.1.1} Code=200 Bytes=638428 Finished processing request in 0.00 seconds
2024-12-21T08:33:41Z [info] {4695570/192.168.1.1} Code=200 Bytes=606831 Finished processing request in 0.01 seconds
Configuration currently in use:
H@H:
CODE
@start javaw -Xms256m -Xmx1024m -jar HentaiAtHomeGUI.jar --silentstart --port=8443 --disable-ip-origin-check --image-proxy-host=192.168.2.11 --image-proxy-type=http --image-proxy-port=7891
nginx:
CODE
server {
listen 8443 ssl;
listen [::]:8443 ssl;
server_name *.xxx.hath.network;
ssl_certificate /certificate/hath.network.crt;
ssl_certificate_key /certificate/hath.network.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 10m;
ssl_prefer_server_ciphers on;
ssl_verify_client off;
location /h {
proxy_http_version 1.1;
proxy_pass_header $http_host;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
proxy_send_timeout 5m;
proxy_read_timeout 5m;
#proxy_buffering off;
proxy_pass https://192.168.1.29:8443;
access_log off;
#access_log /etc/nginx/log/hath.network.h.8443.log main;
error_log /etc/nginx/log/hath.network.8443.error.log;
}
location / {
proxy_http_version 1.1;
proxy_pass_header $http_host;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
proxy_send_timeout 5m;
proxy_read_timeout 5m;
#proxy_buffering off;
proxy_pass https://192.168.1.29:8443;
#access_log off;
access_log /etc/nginx/log/hath.network.8443.log main;
error_log /etc/nginx/log/hath.network.8443.error.log;
}
}
This post has been edited by _oTwTo_: Dec 21 2024, 11:41