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

dose this support China region? #33

Open
laolongju opened this issue Oct 8, 2019 · 1 comment
Open

dose this support China region? #33

laolongju opened this issue Oct 8, 2019 · 1 comment

Comments

@laolongju
Copy link

I try to test Z3 in China Region, the test is failed cause by the 403 Forbidden.
I replace the bucket with Tokyo region, the test can be success.

Traceback (most recent call last):
File "/usr/local/bin/z3", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/z3/snap.py", line 53, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/z3/snap.py", line 587, in main
bucket = boto.connect_s3(s3_key_id, s3_secret, **extra_config).get_bucket(bucket)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 509, in get_bucket
return self.head_bucket(bucket_name, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 542, in head_bucket
raise err
boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden

@rciorba
Copy link
Contributor

rciorba commented Oct 27, 2019

If boto supports the china region, then z3 should as well.
Also according to the FAQ https://www.amazonaws.cn/en/about-aws/china/faqs/ you need a separate set of credentials to access AWS China.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants