GitError(Code:ERROR, Class:SSL, SSL error: 0xffffffff - ERROR - Generic error)

I am trying to push using LibGit2.

LibGit2.push(LibGit2.GitRepo(tmpdir); remoteurl, refspecs=["+refs/heads/main:refs/heads/main"], credentials)

as far as I can tell, the tmpdir is a valid git repository, the remoteurl is valid, the refspec exists locally, and the credentials are valid. but I get this error

GitError(Code:ERROR, Class:SSL, SSL error: 0xffffffff - ERROR - Generic error)

Any help on what could be the cause is highly appreciated

1 Like