deno
deno copied to clipboard
i cant access to deno.land packages from iran until i turn on my vpn !
please fix it !
Are those URLs normally accessible via your browser? (without VPN)
@FKPSC No There's a problem with google cloud services config which doesn't allows any secure SSL handshake with Iranian IPs. (http just works but it will redirect the request to https again)
I can provide a VPS located in Iran if you want to debug it
IANAL. I suspect this is GCP respecting US sanctions on Iran, and likely Deno company must adhere to the sanctions too (unless it were to apply for, and be successful in getting, an exemption- like GitHub have).
https://home.treasury.gov/policy-issues/financial-sanctions/sanctions-programs-and-country-information/iran-sanctions https://home.treasury.gov/policy-issues/financial-sanctions/faqs/630
@erfanium If you cannot access those URLs by browser either, that is not a deno issue.
I suggest you close this issue and try to get support on GCP forums.
If this is an issue of nations blocking each other, you might have better luck setting up and using a proxy server. I wish you good luck.
@hayd This can be true, but I've never seen this type of sanctions on Iran. here is some examples from services that they are blocking Iranian users:
$ curl https://docker.io -I
HTTP/1.0 403 Forbidden
cache-control: no-cache
content-type: text/html
$ curl https://www.mongodb.com -I
HTTP/2 403
server: CloudFront
date: Tue, 24 May 2022 19:47:45 GMT
content-type: text/html
content-length: 986
x-cache: Error from cloudfront
via: 1.1 ce18b5517bbba48636fceebb7d62ba00.cloudfront.net (CloudFront)
x-amz-cf-pop: BAH53-C1
x-amz-cf-id: jp-i553pLUSi0ZBokrkIYGlSoLmYqwc3OGLqFwIZLyQwadzoe9uTVg==
Thay are all responding with 403 status code, but deno.land doesn't event accepts the request!
$ curl https://deno.land
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to deno.land:443
deno.land was available in Iran for like one year ago.
deno.land was available in Iran for like one year ago.
It's possible that this was prior to GCP (IIRC deno.land was originally hosted on AWS / Cloudflare).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
Still waiting for an update on this. I and many others are struggling to use Deno in Iran.
I feel you folk, here in Cuba is the same