-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
unable to upload screenshots/videos to S3 #51
Comments
I have the exact issue before then disappeared after 2 days - no clue what is causing on a specific machine, and on another one, it never happened (both are windows) |
@dineshk-qa thanks for reporting the issue! Would be useful to run the failed tests locally with similar settings with |
Here is Cypress in DEBUG mode Getting 400 due to @danielvianna - Yes uploading through postman is working fine, but I have checked using my user not that role |
I've found something interesting in the
Does the S3_ACL need to be set to a region? Thanks, |
I believe the fix for this would be just to change the line |
There was a bug introduced in the latests release. Should be fixed in https://github.com/agoldis/sorry-cypress/releases/tag/v0.2.5. @dineshk-qa Please tell me if that somehow resolves the issue, because the issue was opened before the bug was introduced 😃 |
@agoldis actually our S3 bucket was hosted in ap-southeast-2 and we were not setting the region and it was taking the default value, so we had that issue. |
I used the CloudFormation template you provided to create and run the stack.
Director and dashboard services are working fine and results are displayed.
but S3 uploads are not working.
I have checked the aws role has the policy attached for respective S3 bucket put operations.
Here's the CloudWatch log extract:
No error is displayed in log.
So it looks like it is uploading but there are no files in the bucket.
Although uploading error is shown in gitlab log
Is there any S3 related setting we need to in our cypress project.
The text was updated successfully, but these errors were encountered: