Comments (13)
I was able to get around this by changing the EC2 instance size from t1.micro to t2.micro. I saw some notice about the instance utilizing high amounts of memory prior to the deployment failing so I gave a larger instance size a shot and it worked.
from aws-toolkit-azure-devops.
I haven't been able to reproduce the problem. In the console or toolkit can you snapshot the logs and post that. That feature will grab logging information from other sources on the instance that might give clues into why it failed.
from aws-toolkit-azure-devops.
This is great. Blew away my box to rebuild.
Now it has worked for 3 builds. Then boom! It breaks again.
Appears to be random.
First error appears to be....
Could not move C:\cfn\download_version_bundle.ps1.bak2 to C:\cfn\download_version_bundle.ps1.bak
2017-10-11 00:20:24,020
Any advice would be appreciated.
from aws-toolkit-azure-devops.
We've contacted the Elastic Beanstalk team to see if they have any insights as to what might be causing the fails. When we hear back we'll update the issue.
from aws-toolkit-azure-devops.
Is there anything special about the BlueHeronV3.dll file? Like is it a native dependency that is being pinvoked or does it have open file handles or anything? I'm trying to understand why IIS and msdeploy aren't able to unload that file.
from aws-toolkit-azure-devops.
Hello.
I am using .NET Core. BlueHeronV3.dll is the application that i have created.
If i use Visual Studio Tools for AWS the site deploys regularly and consistently.
It is only when using VSTS that this error occurs.
from aws-toolkit-azure-devops.
I still haven't been able to reproduce the issue but after looking at the code differences between VS Toolkit and the VSTS I have a theory that I'm confirming with the Beanstalk team.
from aws-toolkit-azure-devops.
Awesome. It is intermittent.
Let me know though. As i'd like to get my CI pipeline working again.
Thank you!
from aws-toolkit-azure-devops.
Neuroforge@, we're still looking into this and have a theory as to what is happening. Wondered if you could help us out in getting the request id and header data for the calls the task is making to Beanstalk to help us when working with the service team?
On Monday we shipped v1.0.8 of the tools and each task now has a set of diagnostic switches that will dump the request and response headers plus the unique request id the service gives to the call. After install, if you edit your Beanstalk task you'll see the two new switches in a collapsed 'Diagnostics' section toward the bottom of the configuration page.
Having selected both options, if you then toggle the 'system.debug' flag for your pipeline to 'true' and run the build, the debug log will contain the data we need in sections like this (there will be one section per Beanstalk api call):
2017-10-25T17:20:31.7568720Z ##[debug]AWS describeApplications request ID: b6793381-ffbf-433a-b3fa-db03e20dd751
2017-10-25T17:20:31.7568720Z ##[debug]---Request data for b6793381-ffbf-433a-b3fa-db03e20dd751---
2017-10-25T17:20:31.7568720Z ##[debug] Path: /
2017-10-25T17:20:31.7568720Z ##[debug] Headers:
2017-10-25T17:20:31.7568720Z ##[debug] User-Agent=aws-sdk-nodejs/2.94.0 win32/v6.10.3 promise
2017-10-25T17:20:31.7578722Z ##[debug] Content-Type=application/x-www-form-urlencoded; charset=utf-8
2017-10-25T17:20:31.7578722Z ##[debug] X-Amz-Content-Sha256=111d4e7c5490bd4a1b03b6d2ac581fdf974304376985324b9e40235c40114a07
2017-10-25T17:20:31.7578722Z ##[debug] Content-Length=90
2017-10-25T17:20:31.7578722Z ##[debug] Host=elasticbeanstalk.us-west-2.amazonaws.com
2017-10-25T17:20:31.7578722Z ##[debug] X-Amz-Date=20171025T172030Z
2017-10-25T17:20:31.7578722Z ##[debug] Authorization=AWS4-HMAC-SHA256 Credential=********/20171025/us-west-2/elasticbeanstalk/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=5608099abd088bfaffab832ea55fe27ac66de8089225572a77bbf7f04b7946ee
2017-10-25T17:20:31.7578722Z ##[debug]---Response data for request b6793381-ffbf-433a-b3fa-db03e20dd751---
2017-10-25T17:20:31.7578722Z ##[debug] Status code: 200
2017-10-25T17:20:31.7578722Z ##[debug] Headers:
2017-10-25T17:20:31.7578722Z ##[debug] content-type=text/xml
2017-10-25T17:20:31.7578722Z ##[debug] date=Wed, 25 Oct 2017 17:20:31 GMT
2017-10-25T17:20:31.7578722Z ##[debug] x-amzn-requestid=b6793381-ffbf-433a-b3fa-db03e20dd751
2017-10-25T17:20:31.7578722Z ##[debug] content-length=1658
2017-10-25T17:20:31.7578722Z ##[debug] connection=keep-alive
Would you mind grabbing the data and posting it here? There is no personally identifiable or confidential data in the output.
from aws-toolkit-azure-devops.
I had the same problem. Thanks to the hint from @ryanmord about the memory usage I got it running without actually upgrading the instance. Since I'm just developing a testing website for now, I could connect via RDP and stop the website in the IIS (developing a .Net Framework website). After that I could deploy again.
Of course this makes only sense if you're in development and fine connecting manually via RDP every time.
For production this is not a feasible solution.
from aws-toolkit-azure-devops.
Thanks to @ryanmord.. just upgrading t1.micro to t2.micro worked!!!
from aws-toolkit-azure-devops.
Closing due to inactivity and fixed issue
from aws-toolkit-azure-devops.
The problem continues for me, I have a t2.micro instance, when I run the pipeline I get the same error.
First time works second time doesn't,
I've searched everywhere and can't find a way to fix it.
from aws-toolkit-azure-devops.
Related Issues (20)
- Secrets Manager get secret task output not a valid json HOT 2
- AWS Service Connector
- Error when execute CLI actions using eu-south-2 region
- Pass a role ARN in runtime and use with service connection
- AWSShellScript: Keep original color when logging
- Running Terraform output command returns no result HOT 1
- S3 Upload use an endpoint
- S3 Upload Glob pattern STILL not finding files
- Azure DevOps Task 'AWS Tools for Windows PowerShell Script' - Ignore PS Module Check HOT 10
- Support for OIDC to authenticate without long lived credentials HOT 10
- Buidling code on master results in error when executing any task HOT 3
- Use s3ObjectKey or randomize S3 object name when uploading Cloudformation template
- Unable to push docker image on to amazon ECR
- AWS SSM Run Command issue with SNS Notifications
- Incompatible with IMDSv2 HOT 8
- LambdaNETCoreDeploy failing to upload to S3 with signature mismatch in version 5.8.1
- Task AWSCLI@1 fails on S3 cp command
- Ææ
- AccessDeniedException: Cross-account pass role is not allowed - but it's root account HOT 1
- ECRPushImage - Failed to obtain authorization token to log in to ECR, error: UnrecognizedClientException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-toolkit-azure-devops.