Skip to content

git clone from concurrent clients within container causes socket close error #240

@raje312

Description

@raje312

jgit version 6.10.1.202505221210-r with java 11 results in 1 or 2 failures ( socker close error) when 10 clients execute git clone concurrently within same container. 5.11.0.202103091610-r did not have this issue

java.lang.RuntimeException: Failed to clone git repository: https://gitlaburl......./numbus.git, Reason: Socket closed
at com.dale.numbus.deployment.DeployService.prepareForDeployment(DeployService.java:152)
at com.dale.numbus.deployment.DeployService.startDeployment(DeployService.java:64)
at com.dale.numbus.deployment.DeploymentController.lambda$start$0(DeploymentController.java:140)
at io.micronaut.scheduling.instrument.InvocationInstrumenterWrappedRunnable.run(InvocationInstrumenterWrappedRunnable.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)

Metadata

Metadata

Assignees

No one assigned

    Labels

    need infoWaiting for more information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions