chromium / hstspreload.org

:lock: Chromium's HSTS preload list submission website.
https://hstspreload.org
BSD 3-Clause "New" or "Revised" License
785 stars 92 forks source link

Error: Cannot connect using TLS #220

Open aradalvand opened 1 year ago

aradalvand commented 1 year ago

I'm trying to submit my site (amademy.com) at hstspreload.org, but I keep getting the following error:

Error: Cannot connect using TLS We cannot connect to https://amademy.com using TLS ("Get \"https://amademy.com\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)").

image

This can't be a duplicate of #43 because I'm not using IPv6 at all.

I also tested the site with testlocal.ly — see the results — which confirmed that the website is in fact accessible from San Francisco and various other locations.

But the site itself is hosted in Iran, and I also tested other Iranian websites (e.g. digikala.com, aparat.com), it yields the same error:

image

I also tried the hstspreload command-line tool, I get this output:

image

Even though the preloadabledomain command confirms that the site meets the requirements:

image

What is going on? Thanks in advance.

lgarron commented 1 year ago

You do seem to be using this correctly! Sometimes there are issues with a CDN like Cloudflare blocking certain user agents or IPs by default — any chance the site might be using one of those?

@christhompson or @agl, is this something you'd be able to debug in Google Cloud?

aradalvand commented 1 year ago

Hi @lgarron, thank you for the response. I'm not sure about the other websites (digikala.com, aparat.com) but mine isn't using a CDN or any kind of a proxy, for that matter, in front of the main server. The DNS A record points directly to the IP of the server. So, that can't be the problem, I don't think.

nharper commented 1 year ago

This appears to be an issue where GCP is blocking access to the IP addresses for those domains.

aradalvand commented 1 year ago

This appears to be an issue where GCP is blocking access to the IP addresses for those domains.

Strange... Why would it do that?

nharper commented 1 year ago

Strange... Why would it do that?

It appears GCP blocks Iranian IP addresses. I don't know why GCP blocks Iranian IP addresses.