Hi I have a question, I prefer it to be answered b...
# off-topic
y
Hi I have a question, I prefer it to be answered by moderators Since Supabase is based on USA and USA imposed some export laws that prevents American companies to work with Iranian people, does Supabase has any restrictions for Iranian developers or requests made from IPs based in Iran to Supabase APIs?
s
I'm not sure of the exact answer to this, but I'm sure someone on the team with more information will get back to you soon. I would however think that this could be something the company hosting the infrastructure could have in place or your very own ISP could have this restriction in place.
a
Hello, @yamins. Supabase's backend infrastructures is based on Amazon Web Services. Therefore, AWS serving policies and limitations are applied.
There shouldn't be any restrictions for Iranian requests unless AWS indicated so in their docs. About your problem, Supabase recently found a bug in their migration, that caused a few projects to work unexpectedly.
You should contact support by filling in the "Feedback" widget in Supabase Dashboard.
@Ant probably can take a look into this if necessary.
Update: apparently, AWS announced that they won't be supporting Iran requests due to restrictions in 2019. You can learn more about it here: https://iranintl.com/en/world/amazon-cuts-services-iran https://www.google.com/amp/s/www.aljazeera.com/amp/economy/2019/10/2/locked-out-why-is-amazon-blocking-iranians-from-its-services
y
Interesting points, thank you for your response. currently I can work with supabase and it seems I'm not restricted but sometimes it doesn't work which I suspected that maybe problem is from restrictions.
s
When you say it doesn't work sometimes, what sort of error do you get or what happens when it doesn't work?
y
I can load my project but table editor is not loaded and API requests are timed out.
However I don't know if that's a restriction from amazon or internal restrictions in Iran.
s
I don't really know what the laws are like in Iran, but are you allowed to use VPNs?
y
I can use it but technically it's not allowed.
s
I would suggest trying to use Supabase with a VPN and see if you get the same results
Btw if this is something that could get you into trouble then don't do it
y
I tried that, with VPN it's ok. Well I can use VPN when I'm working with my project, editing table, testing API but I rather not force my users to use VPN.
a
Then you would have to use an alternative way since Iran is blocked from using AWS
s
I guess for now my best suggestion would be to use self hosted Supabase
You will miss out on some features for now, but they will be added as time goes along
It would also mean you have to manage your own infra
y
That's acceptable.
a
Good luck on that, @yamins. Hope you can resolve the connectivity problem soon.
y
That's good idea too.
@User @User again, Thank you for your responses.
a
No problem. 😁
y
@User it may sound silly but I created a new project with south asia region and now it works without VPN, my main project region is eu west. is there anyway to change project region? I know I can export all data and import to another project but that sounds exhaustive!
a
I'm not in the right position to relocation your new project for you. However, you can contact Supabase support team by sending your message via the "Feedback" widget on Supabase Dashboard.
I'll leave this case to you guys, @User.
y
Thank you.