Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [Help] H@H client cannot connect to the test server

 
post Aug 23 2025, 15:34
Post #1
gtoff443



Lurker
Group: Lurkers
Posts: 2
Joined: 20-January 24


The IP address is correct, the port is communicating properly, and the overseas connection is working (VPS is in China). IPv6 is disabled.

No public IP, port forwarding is used

I'm not fluent in English, so I used Google Translate.
Additional information:
1. I checked the time.
2. I've run the command java -jar HentaiAtHome.jar --disable-ip-origin-check.

The error message is as follows:

root@ubuntu:/mnt/ehentai# java -jar HentaiAtHome.jar
2025-08-23T08:25:00Z [info] Hentai@Home 1.6.4 (Build 176) starting up
2025-08-23T08:25:00Z [info] Copyright © 2008-2024, E-Hentai.org - all rights reserved.
2025-08-23T08:25:00Z [info] This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v3 license.
2025-08-23T08:25:01Z [info] Loaded login settings from client_login
2025-08-23T08:25:01Z [info] Connecting to the Hentai@Home Server to register client with ID xxxxx...
2025-08-23T08:25:01Z [info] Reading Hentai@Home client settings from server...
2025-08-23T08:25:02Z [info] Applying settings...
2025-08-23T08:25:02Z [info] Finished applying settings
2025-08-23T08:25:02Z [info] CacheHandler: Attempting to load persistent cache data...
2025-08-23T08:25:02Z [info] CacheHandler: All persistent fields found, loading remaining objects
2025-08-23T08:25:02Z [info] CacheHandler: Loaded static range ages
2025-08-23T08:25:02Z [info] CacheHandler: Loaded LRU cache
2025-08-23T08:25:02Z [info] CacheHandler: Successfully loaded persistent cache data
2025-08-23T08:25:02Z [info] Requesting certificate from server...
2025-08-23T08:25:03Z [info] Starting up the internal HTTP Server...
2025-08-23T08:25:03Z [info] Internal HTTP Server was successfully started, and is listening on port 58807
2025-08-23T08:25:03Z [info] Notifying the server that we have finished starting up the client...
2025-08-23T08:25:11Z [WARN] Startup Failure: FAIL_CONNECT_TEST:Failed to connect to xxx[.]xxx.hath[.]network port 58807: Connection timed out
2025-08-23T08:25:11Z [info]
2025-08-23T08:25:11Z [info] ************************************************************************************************************************************
2025-08-23T08:25:11Z [info] The client has failed the external connectivity test.
2025-08-23T08:25:11Z [info] The server could not connect to the client, which usually means it is not publicly reachable from the internet.
2025-08-23T08:25:11Z [info] If you are behind a NAT and/or firewall, check that port 58807 is open and forwarded to this computer.
2025-08-23T08:25:11Z [info] If you need assistance with forwarding a port to this client, locate a guide for your particular router at https[:]//portforward[.]com/
2025-08-23T08:25:11Z [info] You may also want to check that x.x.x.x matches your public IPv4 address.
2025-08-23T08:25:11Z [info] Your outgoing and incoming IP address must be the same; the address above is your current outgoing IP as seen by the server.
2025-08-23T08:25:11Z [info] If your setup is using a non-transparent proxy, you may be able to fix this by starting the client with --disable-ip-origin-check
2025-08-23T08:25:11Z [info] This is mostly applicable if you are seeing 'Rejecting connection request during startup' errors referencing a local network IP.
2025-08-23T08:25:11Z [info] The client will remain running so you can diagnose firewall and port forwarding issues.
2025-08-23T08:25:11Z [info] Use Program -> Exit in windowed mode or hit Ctrl+C in console mode to exit the program.
2025-08-23T08:25:11Z [info] ************************************************************************************************************************************
2025-08-23T08:25:11Z [info]
2025-08-23T08:25:11Z [info] Startup notification failed.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 23 2025, 16:13
Post #2
StrongARM



Casual Poster
***
Group: Gold Star Club
Posts: 218
Joined: 1-August 16
Level 338 (Godslayer)


QUOTE(gtoff443 @ Aug 23 2025, 21:34) *

the port is communicating properly, and the overseas connection is working (VPS is in China). IPv6 is disabled.

An usual reason for this for a VPS in China is the datacenter's ICP filing enforcement. The provider would inspect incoming TLS requests and inject reset packet if the domain failed ICP filing.

You can test if it was this case by opening a port manually and connect to it.

On the VPS,
CODE
netcat -kl 58807

On your local machine, assuming your IP was 1.2.4.8,
CODE
curl -v https://hath.network --connect-to ::1.2.4.8:58807

CODE
curl -v http://hath.network --connect-to ::1.2.4.8:58807


See if you got Connection reset by peer.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 2 2025, 16:45
Post #3
q2656739379



Lurker
Group: Lurkers
Posts: 4
Joined: 26-July 25


in china you need to public IP
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 2 2025, 17:03
Post #4
q2656739379



Lurker
Group: Lurkers
Posts: 4
Joined: 26-July 25


If you are using a private IPv4 address, it is necessary to first determine the type of NAT being used. If the NAT type is NAT1, port forwarding can be achieved using UPnP or similar software. However, I have noticed that there is a lack of corresponding tutorials online regarding special networking scenarios in China. I am considering whether to share such guidance on relevant forums, but I have yet to locate a dedicated section for tutorial postings.[font=Arial Black]
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 2 2025, 17:17
Post #5
StrongARM



Casual Poster
***
Group: Gold Star Club
Posts: 218
Joined: 1-August 16
Level 338 (Godslayer)


QUOTE(q2656739379 @ Sep 2 2025, 23:03) *

However, I have noticed that there is a lack of corresponding tutorials online regarding special networking scenarios in China. I am considering whether to share such guidance on relevant forums, but I have yet to locate a dedicated section for tutorial postings.[font=Arial Black]


[portforward.com] https://portforward.com
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 3 2025, 12:59
Post #6
q2656739379



Lurker
Group: Lurkers
Posts: 4
Joined: 26-July 25


QUOTE(StrongARM @ Sep 2 2025, 17:17) *

[portforward.com] https://portforward.com

Ok ,i try.But I found it not as good as Lucky. Maybe it's because this software hasn't been adapted to the Chinese environment.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 10th September 2025 - 14:20