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

[BUG]: 403 when I try to 'magic init' #255

Open
dcromster opened this issue Nov 25, 2024 · 1 comment
Open

[BUG]: 403 when I try to 'magic init' #255

dcromster opened this issue Nov 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dcromster
Copy link

dcromster commented Nov 25, 2024

Bug description

Hello!

After run 'magic init hello-world --format mojoproject' I got error:
`✔ Created /home/rom/Documents/Projects/mojo/hello-world/mojoproject.toml

ERROR error=HTTP status client error (403 Forbidden) for url (https://conda.modular.com/max/linux-64/repodata.json)

ERROR error=HTTP status client error (403 Forbidden) for url (https://conda.modular.com/max/linux-64/repodata.json)

× HTTP status client error (403 Forbidden) for url (https://conda.modular.com/max/linux-64/repodata.json)
`

If I go to https://conda.modular.com/max/linux-64/repodata.json from browser, I see CloudFlare error:
403 ERROR The request could not be satisfied. The Amazon CloudFront distribution is configured to block access from your country. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. Generated by cloudfront (CloudFront) Request ID: FSIYsqGbEvziI-Be6dooeJu8HXStpSsRPkCAZkSdYAiZN-ifcmYCMw==
If I go to URL throw VPN in browser, I recive content of file repodata.json.

I tried to run magic with VPN (tsocks or proxychains) got the same error and wget throw VPN show me VPN address.

Steps to reproduce

  • Include relevant code snippet or link to code that did not work as expected.
    magic init hello-world --format mojoproject
  • If applicable, add screenshots to help explain the problem.
  • Include anything else that might help us debug the issue.
    Trying to access to 'https://conda.modular.com/max/linux-64/repodata.json' from Russia.

System information

- What OS did you do install MAX on ?
Linux Mint (Ubuntu 24.04)
Linux home 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

- Provide version information for MAX by pasting the output of max -v`
no Max installed
- Provide version information for Mojo by pasting the output of mojo -v`
no Mojo installed
- Provide Modular CLI version by pasting the output of `modular -v`
no Modular installed
@dcromster dcromster added the bug Something isn't working label Nov 25, 2024
@dcromster
Copy link
Author

Ok. I asked to test friends from another region of Russia, from Canada and Finland. Result: only Russia is blocked.
I understand political situation, but... :(

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

2 participants