Today is November 14th. I ran a build at just before 11am today (1600UTC) I think this is related to the maintence scheduled to disable TLS 1.0
I have a fleet of linux machines building gradle builds for me. I cleared the cache on one of them (rm ~/.gradle/cache), after this my build could no longer resolve plugins.
I am using pluginmanagement { repositories { gradlePluginPortal } } in settings.gradle.kts
Example log output:
* What went wrong:
Plugin [id: 'org.ajoberstar.grgit', version: '3.1.1'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'org.ajoberstar.grgit:org.ajoberstar.grgit.gradle.plugin:3.1.1')
Searched in the following repositories:
Gradle Central Plugin Repository
I saw the same issue with the kotlin plugin (1.3.21).
15:25:10 * What went wrong:
15:25:10 Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.3.21'] was not found in any of the following sources:
15:25:10
15:25:10 - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
15:25:10 - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.3.21')
15:25:10 Searched in the following repositories:
15:25:10 Gradle Central Plugin Repository
15:25:10
15:25:10 * Try:
15:25:10 Run with --info or --debug option to get more log output. Run with --scan to get full insights.
15:25:10
15:25:10 * Exception is:
15:25:10 org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.3.21'] was not found in any of the following sources:
15:25:10
15:25:10 - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
15:25:10 - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.3.21')
15:25:10 Searched in the following repositories:
15:25:10 Gradle Central Plugin Repository
15:25:10 at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.resolveToFoundResult(DefaultPluginRequestApplicator.java:262)
15:25:10 at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.access$100(DefaultPluginRequestApplicator.java:63)
15:25:10 at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$1.transform(DefaultPluginRequestApplicator.java:91)
15:25:10 at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$1.transform(DefaultPluginRequestApplicator.java:88)
15:25:10 at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:205)
15:25:10 at org.gradle.util.CollectionUtils.collect(CollectionUtils.java:200)
15:25:10 at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:88)
15:25:10 at org.gradle.kotlin.dsl.provider.PluginRequestsHandler.handle(PluginRequestsHandler.kt:49)
15:25:10 at org.gradle.kotlin.dsl.provider.StandardKotlinScriptEvaluator$InterpreterHost.applyPluginsTo(KotlinScriptEvaluator.kt:190)
15:25:10 at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.applyPluginsTo(Interpreter.kt:364)
15:25:10 at Program.execute(Unknown Source)
15:25:10 at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.eval(Interpreter.kt:506)
15:25:10 at org.gradle.kotlin.dsl.execution.Interpreter.eval(Interpreter.kt:206)
15:25:10 at org.gradle.kotlin.dsl.provider.StandardKotlinScriptEvaluator.evaluate(KotlinScriptEvaluator.kt:114)
15:25:10 at org.gradle.kotlin.dsl.provider.KotlinScriptPluginFactory$create$1.invoke(KotlinScriptPluginFactory.kt:51)
15:25:10 at org.gradle.kotlin.dsl.provider.KotlinScriptPluginFactory$create$1.invoke(KotlinScriptPluginFactory.kt:36)
15:25:10 at org.gradle.kotlin.dsl.provider.KotlinScriptPlugin.apply(KotlinScriptPlugin.kt:34)
15:25:10 at org.gradle.configuration.BuildOperationScriptPlugin$1$1.run(BuildOperationScriptPlugin.java:69)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
15:25:10 at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
15:25:10 at org.gradle.configuration.BuildOperationScriptPlugin$1.execute(BuildOperationScriptPlugin.java:66)
15:25:10 at org.gradle.configuration.BuildOperationScriptPlugin$1.execute(BuildOperationScriptPlugin.java:63)
15:25:10 at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:48)
15:25:10 at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:63)
15:25:10 at org.gradle.configuration.project.BuildScriptProcessor$1.run(BuildScriptProcessor.java:44)
15:25:10 at org.gradle.internal.Factories$1.create(Factories.java:25)
15:25:10 at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:200)
15:25:10 at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:186)
15:25:10 at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:41)
15:25:10 at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
15:25:10 at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
15:25:10 at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject$1.run(LifecycleProjectEvaluator.java:106)
15:25:10 at org.gradle.internal.Factories$1.create(Factories.java:25)
15:25:10 at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:183)
15:25:10 at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)
15:25:10 at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withProjectLock(DefaultProjectStateRegistry.java:226)
15:25:10 at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:220)
15:25:10 at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:186)
15:25:10 at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:95)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
15:25:10 at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
15:25:10 at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:67)
15:25:10 at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:695)
15:25:10 at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:143)
15:25:10 at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)
15:25:10 at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:60)
15:25:10 at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:41)
15:25:10 at org.gradle.initialization.DefaultGradleLauncher$ConfigureBuild.run(DefaultGradleLauncher.java:302)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
15:25:10 at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
15:25:10 at org.gradle.initialization.DefaultGradleLauncher.configureBuild(DefaultGradleLauncher.java:210)
15:25:10 at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
15:25:10 at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:134)
15:25:10 at org.gradle.internal.invocation.GradleBuildController$1.execute(GradleBuildController.java:58)
15:25:10 at org.gradle.internal.invocation.GradleBuildController$1.execute(GradleBuildController.java:55)
15:25:10 at org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:82)
15:25:10 at org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:75)
15:25:10 at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:183)
15:25:10 at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)
15:25:10 at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:75)
15:25:10 at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:55)
15:25:10 at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:31)
15:25:10 at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
15:25:10 at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:58)
15:25:10 at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
15:25:10 at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:39)
15:25:10 at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:51)
15:25:10 at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:45)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
15:25:10 at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
15:25:10 at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
15:25:10 at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:45)
15:25:10 at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:49)
15:25:10 at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:46)
15:25:10 at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:78)
15:25:10 at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:46)
15:25:10 at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31)
15:25:10 at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:42)
15:25:10 at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:28)
15:25:10 at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
15:25:10 at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:52)
15:25:10 at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:59)
15:25:10 at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:36)
15:25:10 at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:68)
15:25:10 at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:38)
15:25:10 at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:37)
15:25:10 at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:26)
15:25:10 at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
15:25:10 at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
15:25:10 at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:60)
15:25:10 at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:32)
15:25:10 at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)
15:25:10 at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)
15:25:10 at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:48)
15:25:10 at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:32)
15:25:10 at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
15:25:10 at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
15:25:10 at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
15:25:10 at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
15:25:10 at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
15:25:10 at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
15:25:10 at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
15:25:10 at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
15:25:10 at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
15:25:10 at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
15:25:10 at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
15:25:10 at org.gradle.util.Swapper.swap(Swapper.java:38)
15:25:10 at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
15:25:10 at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
15:25:10 at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:50)
15:25:10 at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
15:25:10 at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)
15:25:10 at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
15:25:10 at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
15:25:10 at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:81)
15:25:10 at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
15:25:10 at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
15:25:10 at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
15:25:10 at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:295)
15:25:10 at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
15:25:10 at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
15:25:10 at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
15:25:10
What version of the JDK are you using. If you are using a version higher than JDK 1.6 you should have at least TLS 1.1 support. What version of Gradle are you using? Can you run with --stacktrace?
Also, your configuration should be (don’t forget the parenthesees)
Plugin [id: 'net.researchgate.release', version: '2.6.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'net.researchgate.release:net.researchgate.release.gradle.plugin:2.6.0')
Searched in the following repositories:
Gradle Central Plugin Repository
checking with --debug flag it appears to be ssl connection problem to gradle.
Maybe is just part of the migration and it might work tomorrow or it needs more investigation on gradle side.
I got this problem today also. Not the same plugin every time
First
* What went wrong:
Plugin [id: 'de.undercouch.download', version: '4.0.1'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'de.undercouch.download:de.undercouch.download.gradle.plugin:4.0.1')
Searched in the following repositories:
Gradle Central Plugin Repository
Then I ran the build again
* What went wrong:
Plugin [id: 'org.beryx.runtime', version: '1.8.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'org.beryx.runtime:org.beryx.runtime.gradle.plugin:1.8.0')
Searched in the following repositories:
Gradle Central Plugin Repository
Then I ran the build again
* What went wrong:
A problem occurred configuring root project 'application'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve gradle.plugin.com.google.gradle:osdetector-gradle-plugin:1.6.2.
Required by:
project : > com.google.osdetector:com.google.osdetector.gradle.plugin:1.6.2
> Could not resolve gradle.plugin.com.google.gradle:osdetector-gradle-plugin:1.6.2.
> Could not get resource 'https://plugins.gradle.org/m2/gradle/plugin/com/google/gradle/osdetector-gradle-plugin/1.6.2/osdetector-gradle-plugin-1.6.2.pom'.
> Could not HEAD 'https://plugins.gradle.org/m2/gradle/plugin/com/google/gradle/osdetector-gradle-plugin/1.6.2/osdetector-gradle-plugin-1.6.2.pom'.
> Received fatal alert: access_denied
> Could not resolve com.google.gradle:osdetector-gradle-plugin:1.6.1.
Required by:
project : > org.openjfx.javafxplugin:org.openjfx.javafxplugin.gradle.plugin:0.0.8 > org.openjfx:javafx-plugin:0.0.8
> Could not resolve com.google.gradle:osdetector-gradle-plugin:1.6.1.
> Could not get resource 'https://plugins.gradle.org/m2/com/google/gradle/osdetector-gradle-plugin/1.6.1/osdetector-gradle-plugin-1.6.1.pom'.
> Could not GET 'https://plugins.gradle.org/m2/com/google/gradle/osdetector-gradle-plugin/1.6.1/osdetector-gradle-plugin-1.6.1.pom'.
> Received fatal alert: access_denied
Then I ran the build again, again, again. Not the same plugin it complains about.
Then lastly it works again. Until next time.
It is more a problem when used with --refresh-dependencies. One case: We have 3 build servers, all identical. When building gradle --refresh-dependencies build on number 3 we always get Received fatal alert: access_denied
Edit: The two build servers that worked used Gradle 5.0, while the one that got this problem was using Gradle 5.6.1
There is a bug in some earlier versions of JDK 11 and 12 where the JDK was unable to support TLSv3. If possible I recommend making a minor JDK version bump to resolve this issue.
@JLLeitschuh
I did have the correct gradlePluginPortal config, I just rewrote everything instead of copy pasting. I apologize if that created vonfusion.
I ran with adoptopenjdk-openjdk11-jdk-11.0.2.9 in a docker container. There was no cache available.
I ran with debug, it looks like it was able to download at least one thing from gradle (and it had no problem talking to our local plugin repo)
I have attached two log snippets form the same build command. It happened to succeed downloading the kotlin plugin, but then failed on grgit. It has been inconcistent which plugin fails.
@JLLeitschuh thx, I bumped to open jdk 11.0.2 and now it seems it uses by default TLSv1.2 and that works fine (it’s not trying with/sees TLSv1.3 - this i don’t know why )