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

**URL:** <https://discourse.julialang.org/t/giterror-code-error-class-ssl-ssl-error-0xffffffff-error-generic-error/109170>\
**Category:** General Usage\
**Tags:** question\
**Created:** [January 23, 2024, 8:14pm UTC](https://discourse.julialang.org/t/giterror-code-error-class-ssl-ssl-error-0xffffffff-error-generic-error/109170 "2024-01-23T20:14:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Post date:** [January 23, 2024, 8:14pm UTC](https://discourse.julialang.org/t/giterror-code-error-class-ssl-ssl-error-0xffffffff-error-generic-error/109170/1 "2024-01-23T20:14:41Z")

</div>

I am trying to push using LibGit2.

```julia
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

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

```

Any help on what could be the cause is highly appreciated
