步骤
结果
输出窗口显示:
Commencing deployment for project 0x10c-cloud
...building deployment package obj\Debug\Package\Archive...
...deployment package created at E:\dev\path-to-my-stuff\project-here\obj\Debug\Package\Archive
...build of project archive completed succesfully
...starting deployment to AWS Elastic Beanstalk environment 'mysite'
...starting incremental deployment to environment 'mysite'
5-10分钟后收到错误弹出:
Error deploying new application: Unhandled error during deployment: Deployment Failed: Deployment to AWS Elastic Beanstalk failed with exception: processing .
Deployment to AWS Elastic Beanstalk environment 'mytest' did not complete successfully
"C:\Users\Kieren\appdata\local\AWSToolkit\logs\vs2010\log.txt"
处的日志文件包含:
2012-12-04 20:04:21,957 [29] DEBUG Amazon.AWSToolkit.VisualStudio.VS2010Package - Output to AWS output window pane: ...deployment package created at E:\dev\0x10c\Dev\mytest\mytest\obj\Debug\Package\Archive
2012-12-04 20:04:21,957 [7] DEBUG Amazon.AWSToolkit.VisualStudio.VS2010Package - Output to AWS output window pane: ...build of project archive completed succesfully
2012-12-04 20:04:21,957 [7] INFO Amazon.AWSToolkit.VisualStudio.VS2010Package - ...build of project archive completed succesfully
2012-12-04 20:04:21,970 [88] DEBUG Amazon.AWSToolkit.VisualStudio.VS2010Package - Output to AWS output window pane: ...starting deployment to AWS Elastic Beanstalk environment 'mytest'
2012-12-04 20:04:21,971 [88] INFO Amazon.AWSToolkit.ElasticBeanstalk.Commands.DeployNewApplicationCommand - Deploy to AWS Elastic Beanstalk: ...starting deployment to AWS Elastic Beanstalk environment 'mytest'
2012-12-04 20:04:21,974 [88] DEBUG Amazon.AWSToolkit.VisualStudio.VS2010Package - Output to AWS output window pane: ...starting incremental deployment to environment 'mytest'
2012-12-04 20:04:21,974 [88] INFO Amazon.AWSToolkit.ElasticBeanstalk.Commands.DeployNewApplicationCommand - Deploy to AWS Elastic Beanstalk: ...starting incremental deployment to environment 'mytest'
2012-12-04 20:04:21,975 [88] INFO Amazon.AWSToolkit.ElasticBeanstalk.Commands.DeployNewApplicationCommand - ...staging deployment from work folder E:\dev\0x10c\Dev\0x10c-cloud\0x10c-cloud\obj\Debug\Package\Archive
2012-12-04 20:04:21,975 [88] INFO Amazon.AWSToolkit.ElasticBeanstalk.Commands.DeployNewApplicationCommand - ...commit repository root set at C:\Users\Kieren\AppData\Local\AWSDeploy\4e72fcb2\
2012-12-04 20:14:21,416 [88] DEBUG Amazon.AWSToolkit.VisualStudio.VS2010Package - Output to AWS output window pane: Deployment to AWS Elastic Beanstalk failed with exception: processing .
2012-12-04 20:14:21,417 [88] INFO Amazon.AWSToolkit.ElasticBeanstalk.Commands.DeployNewApplicationCommand - Deploy to AWS Elastic Beanstalk: Deployment to AWS Elastic Beanstalk failed with exception: processing .
2012-12-04 20:14:21,417 [88] ERROR Amazon.AWSToolkit.ElasticBeanstalk.Commands.DeployNewApplicationCommand - Deployment to AWS Elastic Beanstalk failed with exception: processing .
2012-12-04 20:14:21,417 [88] DEBUG Amazon.AWSToolkit.VisualStudio.VS2010Package - Output to AWS output window pane: Error deploying new application: Unhandled error during deployment: Deployment Failed: Deployment to AWS Elastic Beanstalk failed with exception: processing .
2012-12-04 20:14:21,417 [88] INFO Amazon.AWSToolkit.ElasticBeanstalk.Commands.DeployNewApplicationCommand - Deploy to AWS Elastic Beanstalk: Error deploying new application: Unhandled error during deployment: Deployment Failed: Deployment to AWS Elastic Beanstalk failed with exception: processing .
2012-12-04 20:14:21,417 [88] ERROR Amazon.AWSToolkit.ElasticBeanstalk.Commands.DeployNewApplicationCommand - Error deploying new application: Unhandled error during deployment: Deployment Failed: Deployment to AWS Elastic Beanstalk failed with exception: processing .
2012-12-04 20:15:07,811 [88] DEBUG Amazon.AWSToolkit.VisualStudio.VS2010Package - Output to AWS output window pane: Deployment to AWS Elastic Beanstalk environment 'mytest' did not complete successfully
2012-12-04 20:15:07,814 [88] INFO Amazon.AWSToolkit.ElasticBeanstalk.Commands.DeployNewApplicationCommand - Deploy to AWS Elastic Beanstalk: Deployment to AWS Elastic Beanstalk environment 'mytest' did not complete successfully
注意!在部署开始后几乎整整10分钟就会发生故障..然后我会想到超时。但要解决这个问题呢?我已经订购了光纤宽带但它没有一周到达;)如果我重新部署到同一个应用程序,它会很快失败:只需一分钟,而不是10分钟。
应用程序"存在"在我的AWS浏览器中,但它下面没有环境。
尝试过的事情
答案 0 :(得分:0)
如果运行状况检查网址没有返回200,那么您的应用将无法部署。因此,如果您在启动时发生了某些事情,例如检查数据库尚未设置,并且您的健康检查网址正在访问该页面,那么您将收到此错误。