HoneyMoose
  • 首页
  • Java
  • Jersey
  • Jira
  • Confluence
  • U.S.
    • Real Estate
    • U.S. Travel
    • H1B
  • 项目和网站
    • CWIKI.US
    • OSSEZ 社区
    • WIKI.OSSEZ.COM
    • BUG.OSSEZ.COM
    • RSS.OSSEZ.COM
BLOG.OSSEZ.COM
A responsive blog theme focused om user reading experience
  1. Home
  2. Computer Science
  3. This article

AWS S3 使用 travis 编译的时候提示错误 Aws::S3::Errors::PermanentRedirect

2020年12月28日 39Browse 0Like 0Comments

具体的提示错误信息如下:

uploading "asciidoc/js/jquery-3.2.1.min.js" with {:content_type=>"application/javascript"}

/home/travis/.rvm/gems/ruby-2.4.5/gems/aws-sdk-core-2.11.632/lib/seahorse/client/plugins/raise_response_errors.rb:15:in `call': The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Aws::S3::Errors::PermanentRedirect)


这是因为在我们的配置文件下 travis 将会把数据存储到 S3 的 us-east-2 存储区。

 

travis-s3-01

 

如果你的 S3 存储没有设置到正确的存储区的话,你使用 travis 将数据上传到 S3 将会提示错误。

请参考 https://docs.travis-ci.com/user/deployment/s3/ 官方文档中有关 AWS S3 的配置。

当然你也可以在配置文件中添加

region: eu-west-2

来指定特定的存储区。

travis-s3-02

然后再次编译,你就发现编译成功的文件已经上传上去了。

https://www.ossez.com/t/aws-s3-travis-aws-permanentredirect/780

Tags: None
Last updated:2020年12月28日

Kratos

stay absorbed stay excellent

Like
< Previous
Next >

Comments

Cancel reply

Newest Hotspots Random
Newest Hotspots Random
程序员被辞了可以自己接外包不 现有 B1/B2 是否可以入境美国 货拉拉司机现在的心理阴影面积 Tomcat 是不是已经过气的容器 房地产经纪人为什么会给你设置邮件更新 廉价航空带来了什么糟糕的经历
是不是都喜欢出国旅游而不能接受国内游Java 要掌握多少才可以开发征信很好,单位不错为什么就是不给批信用卡Spring Data JPA 文档翻译的时候引用错误油涨了不少,都 2 以上了Pizza 在线等
用过最好用的中国信用卡是什么 印度最大贫民窟首次报告新冠确诊病例,意味着什么 Confluence 6 查看内容索引概要 Gradle 对包进行签名的时候提示错误 00B5050F 显示源代码及其子目录中的文件结构 Java 访问控制关键字
Categories
  • Akka
  • Algorithm(算法)
  • AMQP
  • Angular
  • CI
  • Compile And CI
  • Computer Science
  • Confluence
  • DataBase
  • Gradle
  • H1B
  • Hibernate
  • IDE
  • Java
  • Jersey
  • Jira
  • MariaDB
  • PrestaShop
  • Real Estate
  • Spring
  • Spring Batch
  • U.S.
  • U.S. Travel
  • 我的小厨

COPYRIGHT © 2020 HoneyMoose. ALL RIGHTS RESERVED.

THEME CWIKIUS.CN MADE BY VTROIS