My web app behind Cloudflare cannot be accessed by IPv6 clients

I have a strange situation that I have never encountered before. Almost everything else works correctly except when a IPv6 client tries to connect. This happens to my entire domain (including its subdomain). curl <mydomain> is fine but curl -6 <mydomain> would timeout after about 40s. Could someone suggest something I can go on please? Thanks
No description
13 Replies
theapologist316
theapologist316OP•4w ago
IPv6 Compatability is on and I cannot disable it anyway
WTDawson9
WTDawson9•4w ago
Could this be to do with what you're running on the domain?
theapologist316
theapologist316OP•4w ago
@WTDawson9 thanks but I think it's unlikely. I only have one A record (IPv4) and as long as I connect with IPv4, everything is fine, the server respond within 1 second. What I meant is, my server definitely cannot know if a connection is from IPv4 or IPv6
WTDawson9
WTDawson9•4w ago
Hmm, interesting What is the error you get when you connect over an IPV6 IP?
theapologist316
theapologist316OP•4w ago
PS C:\Users\lukev> curl -6 https://aitoolsworkspace.com -vvv
* Host aitoolsworkspace.com:443 was resolved.
* IPv6: 2606:4700:3035::6815:2dd1, 2606:4700:3033::ac43:db2d
* IPv4: (none)
* Trying [2606:4700:3035::6815:2dd1]:443...
* connect to 2606:4700:3035::6815:2dd1 port 443 from :: port 58093 failed: Timed out
* Trying [2606:4700:3033::ac43:db2d]:443...
* connect to 2606:4700:3033::ac43:db2d port 443 from :: port 58094 failed: Timed out
* Failed to connect to aitoolsworkspace.com port 443 after 42099 ms: Could not connect to server
* closing connection #0
curl: (28) Failed to connect to aitoolsworkspace.com port 443 after 42099 ms: Could not connect to server
PS C:\Users\lukev> curl -6 https://aitoolsworkspace.com -vvv
* Host aitoolsworkspace.com:443 was resolved.
* IPv6: 2606:4700:3035::6815:2dd1, 2606:4700:3033::ac43:db2d
* IPv4: (none)
* Trying [2606:4700:3035::6815:2dd1]:443...
* connect to 2606:4700:3035::6815:2dd1 port 443 from :: port 58093 failed: Timed out
* Trying [2606:4700:3033::ac43:db2d]:443...
* connect to 2606:4700:3033::ac43:db2d port 443 from :: port 58094 failed: Timed out
* Failed to connect to aitoolsworkspace.com port 443 after 42099 ms: Could not connect to server
* closing connection #0
curl: (28) Failed to connect to aitoolsworkspace.com port 443 after 42099 ms: Could not connect to server
@WTDawson9 it simply times out. and it is not due to my computer as well because I tried with other URL like example.com and stackoverflow.com, everything works fine.
WTDawson9
WTDawson9•4w ago
Hmm What about port 80?
theapologist316
theapologist316OP•4w ago
my domain has TLS enabled and port 80 should not accept requests from this domain but sure I will try:
PS C:\Users\lukev> curl -6 http://aitoolsworkspace.com -vvv
* Host aitoolsworkspace.com:80 was resolved.
* IPv6: 2606:4700:3033::ac43:db2d, 2606:4700:3035::6815:2dd1
* IPv4: (none)
* Trying [2606:4700:3033::ac43:db2d]:80...
* connect to 2606:4700:3033::ac43:db2d port 80 from :: port 58109 failed: Timed out
* Trying [2606:4700:3035::6815:2dd1]:80...
PS C:\Users\lukev> curl -6 http://aitoolsworkspace.com -vvv
* Host aitoolsworkspace.com:80 was resolved.
* IPv6: 2606:4700:3033::ac43:db2d, 2606:4700:3035::6815:2dd1
* IPv4: (none)
* Trying [2606:4700:3033::ac43:db2d]:80...
* connect to 2606:4700:3033::ac43:db2d port 80 from :: port 58109 failed: Timed out
* Trying [2606:4700:3035::6815:2dd1]:80...
WTDawson9
WTDawson9•4w ago
Hmm
theapologist316
theapologist316OP•4w ago
@Leo I have an EC2 instance with OpenVPN, I tried on either Remote Dekstop and OpenVPN, the request simply timed out but faster (within a few seconds).
WTDawson9
WTDawson9•4w ago
Ah The VPN may have issues
theapologist316
theapologist316OP•4w ago
right, I can't ping them as well. the IP Cloudflare resolves to me is 2606:4700:3033::ac43:db2d I just used it to test if it's my ISP issue or everyone's. Even without VPN I still have the issue (and the VPN cannot connect to my website too anyway). Viettel in Vietnam. That's strange because my EC2 instance is AWS in Virginia and it has the issue too. it returns HTML for you? that's strange indeed. I am trying to connect from another EC2 instance. I forgot that the EC2 instance I was using (+ OpenVPN) was the same instance that serve the website. Still I don't think that should be an issue because the website is behind Cloudflare so my server cannot know that anyway.
theapologist316
theapologist316OP•4w ago
This is the output for curl from my other instance. Still failed 😦
Want results from more Discord servers?
Add your server