无法将应用程序上传到Amazon S3 [英] Unable to upload application to Amazon S3

查看:152
本文介绍了无法将应用程序上传到Amazon S3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Eclipse,最新版本,最新的Java AWS SDK我可以突然不再部署到elasticbeanstalk(在服务器上运行,AWS /部署到AWS Elastic Beanstalk)。

Using Eclipse, latest version, latest Java AWS SDK I can suddenly no longer deploy to elasticbeanstalk (neither "Run on Server" nor AWS/Deploy to AWS Elastic Beanstalk).

我可以导出一个war文件,并通过beanstalk web控制台上传w / o问题。
它曾经工作了几个月,我没有改变任何东西,凭证确定。
我得到的错误信息是:

I can export a war file and upload via beanstalk web console w/o problems. It used to work for months and I didn't change anything, credentials are ok. The error message I get is:


无法将应用程序上传到Amazon S3:AWS身份验证需要
a有效日期或x-amz-date头(服务:Amazon S3;状态码:
403;错误代码:AccessDenied;请求ID:xxx)

Unable to upload application to Amazon S3: AWS authentication requires a valid Date or x-amz-date header (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: xxx)

Bump?搜索无处不在...
任何帮助真的欢迎!

Bump? Searched everywhere... Any help truly welcome!

推荐答案

我遇到同样的问题。我的解决方案:

I was experiencing the same issue. My solution:


  1. 删除所有aws首选项(Windows:user dir .aws)

  2. 卸载AWS插件(帮助 - >关于 - >安装详细信息)。在已安装的软件选项卡上,突出显示所有AWS插件,然后选择卸载。

  3. 然后,从以下位置重新安装所需的插件: http://aws.amazon.com/eclipse ,一切都很好。

  1. Remove all aws preferences (Windows: user dir .aws)
  2. Uninstall the AWS Plugins (Help->About->Installation Details). On the installed Software tab, highlight all AWS plugins and select uninstall.
  3. I then Reinstalled required plugins from: http://aws.amazon.com/eclipse and all was well again.

在卸载和重新安装之间重新启动eclipse)

(There were restarting of eclipse between uninstall and reinstall too)

无需删除环境并创建新的环境。

No need to remove the environments and create new ones.

这篇关于无法将应用程序上传到Amazon S3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆