-
Notifications
You must be signed in to change notification settings - Fork 138
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
##[error]Deployment failed: Error: Status: 403. Message: #28
Comments
I see you have a : in the application name. Wondering if that might be causing issues, I know we have issues uploading to S3 if there's a space in the name. Can you try with a test application without : in the name? |
We have similar problems and my application has a space within it. I think the actual issue might be the access policy to the default generated bucket by beanstalk. Other CI pipelines tend to upload to a new S3 bucket with custom policies. |
I think it's due to the Signature Version, could we support setting version like v4 for this Action? Just fixed by rebooting EC2. |
Rebooting EC2? |
Yep, after rebooting EC2, and redeploy successfully. |
For me, this was an illegal character "$" in the filename. |
For the record:
Tested on version 13. |
@Mdelaf Thanks. In the next version I'll check for those and put out an error message saying what the problem is before starting the deployment. |
I found that this problem also shows up when using special characters on the If you set In my case, I am using conventional commits for one of my projects. This commits have the following format: It's sad, because now I cannot have the latest commit in the version description. It would be cool if you can have a look on this @einaregilsson |
@Mdelaf I've just published version 14, which allows It's kind of weird, because I have to use the |
I tested the version 14 today and it's working like a charm. I appreciate this more than you'll ever know 😁 @einaregilsson |
I had this problem when using new lines in |
@ symbol in the |
Ok, I guess I have some things to look at for the next version. Some restrictions are because of S3 filenames, maybe I need to remove all bad characters from the file names but still allow them in the version label. |
Yep, it sure looked like the failing step was saving the S3 file with the special character in it. Looks like AWS says we should "likely" URL/hex encode a bunch of chars in the section "Characters that might require special handling": https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html Really weirdly loose guidance on that page, how are we supposed to URL encode things without being able to use %? Why not just define which characters we cant use? >_< |
This should be fixed in version 16. We now change any characters that's not alphanumeric, a dash or and underscore in the S3 filename and replace it with a dash. But the version label in Elastic Beanstalk keeps all the special characters. This above is a version label with lots of special characters, below is the filename in S3: As for newlines in So please, everyone try their problems again with v16 and report any issues that are still happening. The one thing that you cannot do with |
Is anyone having the same problem as of today? |
im runing a single container with dockerrun.aws.json
Hello guys in receiving that error when i use a new version label
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
application_name: vennly-player:develop
environment_name: vennly-player-develop-env
version_label: v1
region: us-east-2
deployment_package: deploy.zip
if i remove deployment_package property and use the running version as version label it works
but i need to run a new dockerrun.aws.json with an updated image name which is inside the zip file.
Any Ideas?
The text was updated successfully, but these errors were encountered: