ls-remote reports gnutls_handshake() failed #25258
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us what version of Renovate you run.37.26.0 If you're self-hosting Renovate, select which platform you are using.Gitea or Forgejo Was this something which used to work for you, and then stopped?It used to work, and then stopped Describe the problemAfter updating Gitea to 1.20.5, renovate cannot access repositories anymore. The log shows:
Using
Unfortunately, the whole Gitea instance is private and I don't have an alternative minimal repository. Relevant debug logsSee above Have you created a minimal reproduction repository?I have explained in the description why a minimal reproduction is impossible |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 33 replies
-
try the git command from the renovate image |
Beta Was this translation helpful? Give feedback.
-
With
|
Beta Was this translation helpful? Give feedback.
-
yes, we use latest tools.
No, it works, i've tested on github
so it's definetly something on your environment and not on renovate side. |
Beta Was this translation helpful? Give feedback.
-
Ok, after spending way too much time on this issue, I created a new image based on renovate-slim where I recompiled git with openssl instead of gnutls as backend. With this, everything works as expected. It seems like in somewhat complex reverse proxy setups, gnutls has issues, but I did not figure out what would be needed to fix them. If someone stumbles upon this:
|
Beta Was this translation helpful? Give feedback.
-
I am hitting this issue using both the slim and normal images from ghcr.io/renovatebot/. The internal Forgejo instance is reachable via HTTPS using a Let's encrypt certificate. Using curl inside the container works, but the ls-remote call fails:
Any idea what could cause this? |
Beta Was this translation helpful? Give feedback.
Ok, after spending way too much time on this issue, I created a new image based on renovate-slim where I recompiled git with openssl instead of gnutls as backend. With this, everything works as expected.
It seems like in somewhat complex reverse proxy setups, gnutls has issues, but I did not figure out what would be needed to fix them.
If someone stumbles upon this: