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!

This widget could not be displayed.

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.

This widget could not be displayed.

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

This widget could not be displayed.

I am waiting for a solution too.

This widget could not be displayed.

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!

This widget could not be displayed.

I am having the same issue since yesterday. 

This widget could not be displayed.

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..!!

This widget could not be displayed.

i have the same problem , any updates?

This widget could not be displayed.

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

This widget could not be displayed.

Same here.... Any news?

This widget could not be displayed.

Deploy it's working!!

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

169 views 9 2
Join discussion

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