modularml / max

A collection of sample programs, notebooks, and tools which highlight the power of the MAX Platform
https://www.modular.com
Other
379 stars 50 forks source link

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

Open dcromster opened 6 days ago

dcromster commented 6 days ago

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

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 commented 3 days ago

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... :(