Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Sharath AV [YML] October 10, 2017

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

2 votes
Pratikto Ariestyadi October 10, 2017

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

daniel_kanchev October 10, 2017

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

0 votes
Sharath AV [YML] October 10, 2017

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.

0 votes
douglasxtrategie October 10, 2017

Deploy it's working!!

0 votes
Eduardo Jose Pin October 10, 2017

Same here.... Any news?

0 votes
and_proietti October 10, 2017

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

0 votes
matamx October 10, 2017

i have the same problem , any updates?

0 votes
mario_pinho October 10, 2017

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

0 votes
Daniel Campos October 10, 2017

I am having the same issue since yesterday. 

0 votes
Pratikto Ariestyadi October 10, 2017

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

mario_pinho October 10, 2017

Thanks Pratikto!!!

Pratikto Ariestyadi October 10, 2017

No worries, hope they fix it soon!

0 votes
Ihor Vozhdai October 10, 2017

I am waiting for a solution too.

0 votes
douglasxtrategie October 10, 2017

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

0 votes
daniel_kanchev October 10, 2017

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events