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

S3 private links configuration for AWS, CORS #48

Open
poliarush opened this issue Oct 6, 2023 · 0 comments
Open

S3 private links configuration for AWS, CORS #48

poliarush opened this issue Oct 6, 2023 · 0 comments

Comments

@poliarush
Copy link
Contributor

poliarush commented Oct 6, 2023

https://app.crisp.chat/website/4192ab4e-8b76-4b7e-a8c4-ea66dea249e7/inbox/session_40e9f2c9-7a26-4033-9ea6-448bc2ef550b/

якщо вони дійсно вказані як приватні, а креди валідні, то є підозра, що AWS блокує доступ із тестомата
вам треба буде вручну вказати CORS налаштування бакета, і Allowed Origin вказавши наступні домени:

'https://app.testomat.io',
'https://trace.playwright.dev',
скиньте приклад полісі s3 aws
в доці немає які дозволи потрібно надати
При збереженні S3 кредів тестомат сам намагається записати ці дані в AWS, але здається це не проходить

<CORSConfiguration>
<CORSRule>
<AllowedOrigin>https://app.testomat.io</AllowedOrigin>
<AllowedOrigin>https://trace.playwright.dev</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<MaxAgeSeconds>3600</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>

застосуйте цей полісі до свого бакету

@poliarush poliarush added this to the 0.5.25 milestone Oct 6, 2023
@poliarush poliarush modified the milestones: 0.5.25, 0.5.27, 0.5.29 Oct 12, 2023
@poliarush poliarush modified the milestones: 0.5.29, 0.5.34 Dec 15, 2023
@poliarush poliarush removed this from the 0.5.34 milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants