CodeDeploy plugin not working - throwing "500 internal server error"

We've been using the CodeDeploy plugin for Bitbucket for over a year now( https://marketplace.atlassian.com/plugins/bitbucket-aws-codedeploy/cloud/overview).

But today, it has suddenly throwing an error when we try to deploy code using this plugin.

The error is: 500 internal server error

More details:

Internal Server Error
The server encountered an internal error ormisconfiguration and was unable to completeyour request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be availablein the server error log.500 internal server error

 

Steps to reproduce: 

1) Select a particular commit or branch.

2) Click on "Deploy to AWS" button.

3) Select deployment group

4) Click on Submit

 

On doing this, the submit button gets disabled, and nothing happens.

In the developer console of the browser, in the network tab, you can see that an AJAX call failed with 500 internal server error.

You can see the screenshot of this here:

12 answers

Same problem for me as well, it seems they did something yesterday as I was using it yesterday and it works fine.

I have submitted a support ticket, hopefully I could get an answer soon.

Edit: I've got a first response from their support team
Hi,

Thank you for contacting Atlassian Support.
We are currently investigating the issue with AWS CodeDeploy returning a 500 error.
Our Engineers are working on investigating this issue and we will update you on this ticket as soon as we have any additional information.
We appreciate your patience while we are working to address this issue.

Thank you.
Bitbucket Cloud Team


At least we know that they aware of this issue, we can only wait for now.
This issue has been logged in public issue as well, you can see the status for these 2 issues
https://bitbucket.org/site/master/issues/14978/jquery-errors-when-a-code-deploy
https://bitbucket.org/site/master/issues/14981/codedeploy-plugin-failed

 

Edit 2: Haven't try it yet, but apparently they've fixed it

Hi Everybody,
Thank you for your patience while we were working on resolving this issue.
Our Engineers have now deployed a fix for the issue with CodeDeploy to AWS, this should resolve the errors you have been experiencing earlier.
Can you please try the deploy now and let us know if you run into any issues.
We appreciate your cooperation.
Thank you.
Bitbucket Cloud Team

@Pratikto Ariestyadi same here :( Nice to hear that we are not the only ones having this problem. Please let us know if you hear from the support guys. Thanks in advance!

I also have the same problem with the CodeDeploy plugin for AWS. In Safari I see the following fatal error:

"ReferenceError: Can't find variable: e"

This seems to be part of the following ajax call:

$.ajax({type: 'POST', url: '/deployment?jwt=' + context.jwt + '&deployment_group=' + deployment_group + '&commit_like_id=' + context.id + '&repo_uuid=' + context.repo_uuid + '&repo_url=' + context.repo_url, data: ''}
).done(function(data) {
AP.require('history', function(history) {
history.go(0);
});
dialog.close();
}).error(function(data) {
var message = ("" + data.responseText).replace(/\"/g,'').replace(/\'/g,'')
console.error(e);
alert("Error occurred - " + message);
dialog.getButton('submit').enable();
dialog.close();
});

It will be great if someone can check this issue - I am sure many people use the same plugin for BitBucket.

Mesmo problema aqui! Desde ontem a tarde não consigo fazer nenhum Deploy. 

I am waiting for a solution too.

Same problem for me as well, it seems they did something yesterday as I was using it yesterday and it works fine.

I have submitted a support ticket, hopefully I could get an answer soon.

Edit: I've got a first response from their support team
Hi,

Thank you for contacting Atlassian Support.
We are currently investigating the issue with AWS CodeDeploy returning a 500 error.
Our Engineers are working on investigating this issue and we will update you on this ticket as soon as we have any additional information.
We appreciate your patience while we are working to address this issue.

Thank you.
Bitbucket Cloud Team


At least we know that they aware of this issue, we can only wait for now.
This issue has been logged in public issue as well, you can see the status for these 2 issues
https://bitbucket.org/site/master/issues/14978/jquery-errors-when-a-code-deploy
https://bitbucket.org/site/master/issues/14981/codedeploy-plugin-failed

No worries, hope they fix it soon!

I am having the same issue since yesterday. 

Same issue over here, no project deploy working...

No issues reported at AWS end.... so it should be some issue on the Atlassian/Bitbucket plugin..!!

i have the same problem , any updates?

Same issue for deploying our application... Waiting for news!

Same here.... Any news?

Deploy it's working!!

Looks like they have fixed the issue. I was able to deploy successfully.

I thought this was the only way to reach-out to the support, but this was supposed to be raised in https://bitbucket.org/site/master/issues/14978/jquery-errors-when-a-code-deploy

There, they have confirmed that they have resolved this.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,749 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you