Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 Forbidden error : #1544

Closed
AmirAslami opened this issue Nov 29, 2023 · 11 comments
Closed

403 Forbidden error : #1544

AmirAslami opened this issue Nov 29, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@AmirAslami
Copy link

Hello
Do not be tired

We in Iran need to use this wonderful technology of yours...

But as always and like some other things, your technology is also banned and we need VPN to use it so that we don't face the 403 problem and everything is done perfectly and perfectly...

Do you have a solution to bypass this problem?

Thanks...❤️

@AmirAslami AmirAslami added the bug Something isn't working label Nov 29, 2023
@AmirAslami AmirAslami changed the title need guidance : 403 Forbidden error : Nov 29, 2023
@eseidel
Copy link
Contributor

eseidel commented Nov 29, 2023

Shorebird currently uses Google Cloud Storage for storing patch and release artifacts. It appears Google Cloud Storage is currently unavailable in Iran:
https://support.google.com/cloudidentity/answer/2891389?hl=en
https://docs.shorebird.dev/faq#can-i-use-shorebird-in-my-country
shorebird doctor was also just updated to check for reachability of our servers.

I don't have any solution, no.

@eseidel eseidel closed this as completed Nov 29, 2023
@mahanabd
Copy link

mahanabd commented May 6, 2024

hello we have same problem.
is any way that we replace Google Cloud Storage with other storage?

@eseidel
Copy link
Contributor

eseidel commented May 6, 2024

403 is definitely unexpected. Are you still experiencing such @mahanabd?

@AmirJabbari
Copy link

We have still got 403
can we replace Google Cloud Storage with our storage or something like this
we need code push, Please give me a solution 

@eseidel
Copy link
Contributor

eseidel commented May 8, 2024

We do not currently have the ability to swap out storage, no:
#485

We are considering moving to a CDN soon (instead of direct use of Google Cloud), which may change connectivity.
#120

@AmirJabbari
Copy link

AmirJabbari commented May 14, 2024

Hello again @eseidel
i set a socks or http proxy in flutter app for access to shorebird update
but dont work

with this code i can access to shorebird endpoint

SocksProxy.initProxy(proxy: 'SOCKS5 serverIp:port'); await HttpClient() .getUrl(Uri.parse('https://api.shorebird.dev')) .then((value) { return value.close(); }) .then((value) { return value.transform(utf8.decoder); }) .then((value) { return value.fold( '', (dynamic previous, element) => previous + element); }) .then((value) => print('response $value')) .catchError((e) => print('eeeeee $e'));

now my question is can any way to request manualy with HttpClient to get update?

@mahanabd
Copy link

@eseidel
We are honored to have you here and thank you for your time.

I read the links you gave
Is there a specific date for changing your CDNs?

@eseidel
Copy link
Contributor

eseidel commented May 17, 2024

We do not currently have a timeline for moving our infrastructure onto a CDN. I expect it's probably another month or two away would be my guess.

@AmirJabbari
Copy link

Hello again @eseidel i set a socks or http proxy in flutter app for access to shorebird update but dont work

with this code i can access to shorebird endpoint

SocksProxy.initProxy(proxy: 'SOCKS5 serverIp:port'); await HttpClient() .getUrl(Uri.parse('https://api.shorebird.dev')) .then((value) { return value.close(); }) .then((value) { return value.transform(utf8.decoder); }) .then((value) { return value.fold( '', (dynamic previous, element) => previous + element); }) .then((value) => print('response $value')) .catchError((e) => print('eeeeee $e'));

now my question is can any way to request manualy with HttpClient to get update?

@eseidel any idea?

@mahanabd
Copy link

Hello. I hope our questions will not take much of your time.

Like Amir Jabari, I tried the proxy setting solution.
The interesting result is that sites like YouTube and Twitter (which are filtered in our country) are displayed in a web view by connecting a proxy.

Even the links:
https://api.shorebird.dev
https://download.shorebird.dev/
https://storage.googleapis.com/
When I called with HTTP, it responds.

But the "Code Push SDK" still cannot download the patch.

To make sure that the "Code Push" starts working after the proxy is turned on ,I set auto_update to false and call update manually .

Does Shorebird use a special method (such as time) to find out whether we are Iranian or not?

@AmirJabbari
@eseidel

@eseidel
Copy link
Contributor

eseidel commented May 21, 2024

Shorebird makes no attempt to restrict access by country, however our cloud provider does, in compliance with US law:
https://docs.shorebird.dev/faq/#can-i-use-shorebird-in-my-country
https://support.google.com/cloudidentity/answer/2891389?hl=en

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants