I am using github actions for CI builds of my Play application. I have been doing builds fine for many months. But a couple of days ago the build failed on the CI machine with the following error:
Error: lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
Error: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.play/sbt-plugin/scala_2.12/sbt_1.0/2.8.0/jars/sbt-plugin.jar: download error: Caught javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https /repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.play/sbt-plugin/scala_2.12/sbt_1.0/2.8.0/jars/sbt-plugin.jar
logLevel := Level.Warn
resolvers += Resolver.sbtPluginRepo(“releases”)
addSbtPlugin(“com.typesafe.play” % “sbt-plugin” % “2.8.0”)
The build fails for both the symbolic resolver and the explicit resolver (repo.typesafe.com/typesafe/releases/). However, I can access and download the plugin manually from my development machine.
I have created an issue at github for this problem. But I was wondering if anyone has had a similar issue recently that they were able to solve. Or whether there is another repository for the sbt plugin that I can try.