Closed hesam-init closed 2 years ago
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 even 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
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.
LOL
@hayd GitHub got a pass? How? Just curious.
@angeldollface It's a lie. you can't still buy GitHub services in Iran, because global payment methods are not available
@erfanium So GH services cannot be accessed in Iran?
@angeldollface
I believe deno.land registry
and jsr.io
services also don't violate US export law (as they are free and public services), so Deno Company can request their cloud provider (I guess GCP) to allow traffic from Iran.
2 years later... I can download Node and NPM packages with ease. Deno is supposed to be a better alternative to Node, but I can't download/update Deno, I can't install any packages and I can't view the docs or anything at all that involves Deno servers. LOL. It's so frustrating to see that both Node and Deno suck in different ways. How is that in this universe there are no better alternatives?
2 years later...
I can download Node and NPM packages with ease.
Deno is supposed to be a better alternative to Node, but I can't download/update Deno, I can't install any packages and I can't view the docs or anything at all that involves Deno servers.
LOL.
It's so frustrating to see that both Node and Deno suck in different ways.
How is that in this universe there are no better alternatives?
This isn't exactly Deno's fault. Be mad at Iran's government, or America's government. Whoever fault it actually is.
On a side note, Proton VPN offers a free tier. You just don't get to choose which servers you connect to.
https://github.com/user-attachments/assets/0ee3208f-64ab-4fb3-898b-0fca932799dd
NOTE: I don't know what was the matter with deno.com in the video. Cache, maybe.
NOTE: Even https://bun.sh works. Can't say the same when installing Bun, it doesn't work :)
Only Deno related websites didn't work in that video.
NOTE: I'm not saying all sites in the world work.
There was a UI library called (shadcn-svelte) and their CLI didn't properly work on all locations. They moved the hosting to another place and things started working. So my experience changed from getting frustrated to getting things working in seconds.
Programming is about solving problems, and what I'm seeing here is problems are being ignored because it does not affect the news about how good/bad Deno is. This issue is closed.
NOTE: This message is not to ignore all the work that the team and others have done.
On a side note, Proton VPN offers a free tier. You just don't get to choose which servers you connect to.
The problem is, this issue is solvable.
Never mind. Even if this gets fixed, Deno still going to suck.
I wish Deno was about building something better for people, instead of trying to get the majority of people to use it.
After years of work, this is what Deno is.
I guess Deno will never be the tool that I'm looking for. Never asked for much, to be honest.
please fix it !