gitblit icon indicating copy to clipboard operation
gitblit copied to clipboard

close() called when useCnt is already zero

Open githubzhangfei opened this issue 2 years ago • 2 comments

jenkins is deployed in docker and git version 2.39.2 is installed in jenkins. when git goes to gitblit and uses https to pull code, he prompts me from time to time to close() called when useCnt is already zero!!!Wait about two minutes and ask again. What's the problem

githubzhangfei avatar Sep 02 '23 08:09 githubzhangfei

I am not sure I understand where that error message is shown. Are you saying that you run a Jenkins and the Jenkins has the Git Plugin and this error shows up in the Jenkins log? Or is this from running git on a terminal? Or is this message from the Gitblit log and if so, what is the behaviour on the git side?

flaix avatar Sep 05 '23 08:09 flaix

jenkins is deployed in docker and git version 2.39.2 is installed in jenkins. when git goes to gitblit and uses https to pull code, he prompts me from time to time to close() called when useCnt is already zero!!!Wait about two minutes and ask again. What's the problem

Hi, I have the same problem and hope I can help you. I don't speak English well, excuse me.

I use gitblit too, the version is 1.9.1, I found the gitblit's repo has double '/', like this:

gitblit_repo_url

and gitblit's jenkins.groovy file, I try print these two properties: jenkinsGitbaseurl, triggerUrl, the terminal show that there is also double '/'. So I modified the jenkins.groovy, like this:

gitblit_removeline

That's all right.

I thought it is a bug of gitblit, and I will upgrade gitblit to the latest version and try again someday.

GitHuFish avatar Jan 24 '24 09:01 GitHuFish