gitblit-org / gitblit

pure java git solution
http://gitblit.com
Apache License 2.0
2.27k stars 670 forks source link

close() called when useCnt is already zero #1450

Open githubzhangfei opened 11 months ago

githubzhangfei commented 11 months ago

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

flaix commented 10 months ago

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?

GitHuFish commented 6 months ago

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.