docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.76k stars 1.08k forks source link

403 error attempting to create swarm token #1304

Closed nathanleclaire closed 8 years ago

nathanleclaire commented 8 years ago

On my DigitalOcean droplet (ostensibly in SFO1 datacenter):

$ docker run swarm:latest create
... pull ...
<html><body><h1>403 Forbidden</h1>
Since Docker is a US company, we must comply with us export control regulations. In an effort to comply with these, we now block all IP addresses that are located in Cuba, Iran, North Korea, Sudan, and Syria. If you are not in one of these countries and are blocked, please reach out to https://support.docker.com
</body></html>

Hey, I'm not in Iran y'all!!

cc @abronan @vieux @aluzzardi

nathanleclaire commented 8 years ago

Works fine directly from my VM in the SF office though.

anweiss commented 8 years ago

+1 getting same error here...running on Azure VM

abronan commented 8 years ago

This error is hilarious :smile:

Y'all in Cuba just admit it.

We'll look into it and try from some provider's VM to see if we run into the same issue.

xbglowx commented 8 years ago

Taking a look at the geoip blocking. Please let me know your public IPs.

abronan commented 8 years ago

thanks @xbglowx

xbglowx commented 8 years ago

Is this still happening for everyone?

abronan commented 8 years ago

@nathanleclaire @anweiss Can you retry and see if that works?

xbglowx commented 8 years ago

The problem is still there. Seems your swam endpoints are hitting our staging environment.

xbglowx commented 8 years ago

I found the problem. Should be fixed for all in stage. Good thing I didn't push this change out to prod yet.

nathanleclaire commented 8 years ago

Looks good on my end now

abronan commented 8 years ago

Nice :+1:

Closing. Thanks @xbglowx !

nathanleclaire commented 8 years ago

:+1:

MrAta commented 8 years ago

@abronan hey dudes! im from iran and need to use docker for my research! Open source communities never make sanctions against any country! because it is in contradiction with their brand:"free knowledge" so why docker does so? its like a joke! its a disaster for me and my friend that we can't access docker hub from iran! if you search a little and see your around, you would find that iran is far different from other countries like syria , sudan and north korea! i never support iran's government policies about the world and vice versa! because knowledge and science is holy. and politics are very low level in counter with science and knowledge to cause an impact on science and knowledge so that it couldn't be used by all. so im sorry for all who made this silly decision. دریغ است که ایران ویران شود

Dev-l0p commented 8 years ago

hi guys ... i have this problem too. anybody can fix this problem ?

دوستان عزیز این مشکل چطوری میشه رفع کرد . داکر لازمم نمیدونم چی کار کنم ... همه جا هنوز ما تحریمیم ؟

MrAta commented 8 years ago

hi @clacki We've used proxy servers. that is we have another server abroad and by using shadow socks proxy and polipo we created a tunnel and then we could pull from docker's hub. this is a great tut. hope be helpful.