deno icon indicating copy to clipboard operation
deno copied to clipboard

i cant access to deno.land packages from iran until i turn on my vpn !

Open hesam-init opened this issue 2 years ago • 7 comments

please fix it !

hesam-init avatar May 04 '22 18:05 hesam-init

Are those URLs normally accessible via your browser? (without VPN)

FKPSC avatar May 13 '22 14:05 FKPSC

@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

erfanium avatar May 24 '22 06:05 erfanium

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

hayd avatar May 24 '22 17:05 hayd

@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.

FKPSC avatar May 24 '22 17:05 FKPSC

@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.

erfanium avatar May 24 '22 19:05 erfanium

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).

hayd avatar May 24 '22 20:05 hayd

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.

stale[bot] avatar Jul 25 '22 05:07 stale[bot]

Still waiting for an update on this. I and many others are struggling to use Deno in Iran.

movahhedi avatar Jan 24 '23 21:01 movahhedi

I feel you folk, here in Cuba is the same

egmaleta avatar Apr 14 '23 16:04 egmaleta