英文:
Downloading Sbt Launcher 1.3.10 Failing on CircleCI (Connection Refused, HTTP/HTTPS Issue)
问题
从今天开始,我们的一个CircleCI作业步骤,下载sbt Launcher 1.3.10的步骤失败了。经过进一步调查,CircleCI一直在使用的URL不再接受http连接。
正确的URL是https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt-launch/1.3.10/sbt-launch.jar
我正在尝试找出如何让CircleCI开始从https下载,因为似乎与config.yml中的任何内容都没有关联。有什么建议吗?我们的CircleCI设置和主机都是我们组织内部的。
当我使用FireFox通过http下载链接时,它会从https://akamai.bintray.com获取jar文件,这可能是我们在今天之前一直在使用的方式。Chrome拒绝连接。
英文:
Starting today, one of our CircleCI Job steps which downloads sbt Launcher 1.3.10 has failed to download. Upon further investigation, the URL that CircleCI has been using no longer accepts connections over http.
The correct URL is https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt-launch/1.3.10/sbt-launch.jar
I am trying to figure out how I can get CircleCI to start downloading from https, as it does not appear to be tied to anything in config.yml. Any suggestions? Our CircleCI setup & host are internal to our organization.
When I download the link using http via FireFox, it pulls the jar from https://akamai.bintray.com , which may be how we have been getting by prior to today. Chrome refuses the connection.
答案1
得分: 1
同事找到了根本原因:
https://www.lightbend.com/blog/lightbend-to-require-https-on-repos-starting-august-5-2020
CircleCI尚未更新其repo.typesafe.com地址,用于Scala SBT应用程序安装。我已经打开了PR来帮助促进这一过程。
英文:
A colleague found the root cause:
https://www.lightbend.com/blog/lightbend-to-require-https-on-repos-starting-august-5-2020
CircleCI has yet to update its repo.typesafe.com address for Scala SBT application installation. I have opened PRs to help facilitate that.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论