Problems with certificates while uploading source code to git server

jgarza's Avatar

jgarza

30 Sep, 2021 10:08 PM

To complement previous report of another user, I can use my website, but can't upload source code to the git server.
I get the error fatal: unable to access 'https://XXXXX.git/': SSL certificate problem: certificate has expired

  1. Support Staff 1 Posted by rune on 30 Sep, 2021 10:48 PM

    rune's Avatar

    Hi,

    Happy to help! I believe this issue only affects relatively old versions of the Git client (on Windows at least), so I'd definitely recommend upgrading to a more recent version if you're using Git for Windows currently. That being said, the certificate has just been updated to prevent this error - we're monitoring how this change could potentially affect other clients, but for now you should be able to use Git repository even with an older version of Git.

    If you're still seeing issues it'd be great if you could let me know the Git version/client you're using (e.g. the output returned from running git --version).

    Best,
    Rune

  2. 2 Posted by jgarza on 30 Sep, 2021 10:53 PM

    jgarza's Avatar

    Hi Rune!

    I don't think its a version problem.
    I am using Sourcetree 3.0.12 and Visual Studio 2019 16.11.3 and have the problem with both.
    SourceTree reports:
    fatal: unable to access 'https://[email blocked]/autodata.git/': SSL certificate problem: certificate has expired

    Visual Studio reports:
    Error encountered while pushing branch to the remote repository: Git failed with a fatal error.
    Git failed with a fatal error.
    the remote end hung up unexpectedly
    the remote end hung up unexpectedly

  3. Support Staff 3 Posted by rune on 30 Sep, 2021 10:56 PM

    rune's Avatar

    Hi,

    Thanks for that information! Can you give this another try now with both clients?

    Best,
    Rune

  4. 4 Posted by jgarza on 30 Sep, 2021 11:07 PM

    jgarza's Avatar

    Visual Studio returns:

    RPC failed; HTTP 413 curl 22 The requested URL returned error: 413

    Error encountered while pushing branch to the remote repository: Git failed with a fatal error.

    Git failed with a fatal error.

    the remote end hung up unexpectedly

    the remote end hung up unexpectedly

     

    Sourcetree hangs.

     

    De: rune
    Enviado: jueves, 30 de septiembre de 2021 05:56 p. m.
    Para: [email blocked]
    Asunto: Re: Problems with certificates while uploading source code to git server [Support #120358]

     

    // Please reply above this line
    ==================================================

    From: rune (Support staff)

    Hi,

    Thanks for that information! Can you give this another try now with both clients?

    Best,
    Rune

    On Thu, Sep 30 at 03:53 PM PDT, jgarza wrote:

    Hi Rune!

    I don't think its a version problem.
    I am using Sourcetree 3.0.12 and Visual Studio 2019 16.11.3 and have the problem with both.
    SourceTree reports:
    fatal: unable to access 'https://[email blocked]/autodata.git/': SSL certificate problem: certificate has expired

    Visual Studio reports:
    Error encountered while pushing branch to the remote repository: Git failed with a fatal error.
    Git failed with a fatal error.
    the remote end hung up unexpectedly
    the remote end hung up unexpectedly

    Having trouble reading this? View this discussion online: Problems with certificates while uploading source code to git server.

    To unsubscribe and stop receiving emails from http://support.appharbor.com, visit this page

     

     

  5. 5 Posted by jgarza on 30 Sep, 2021 11:31 PM

    jgarza's Avatar

    In Sourcetree I am using the embedded git client with version 2.18.0
    I upgraded the client version.
    I get
    error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
    Pushing to https://[email blocked]/autodata.git

  6. 6 Posted by jgarza on 01 Oct, 2021 02:29 PM

    jgarza's Avatar

    Ok, with fresh eyes I spotted the problem: Entity Too Large.
    I reviewed the files and I found a big zip file (almost 150Mb) that I commited by mistake a couple commits ago.
    I will remove the file from git and try again and report to you.

    Thanks for try to help me.

    Best regards.

  7. 7 Posted by jgarza on 01 Oct, 2021 04:10 PM

    jgarza's Avatar

    I confirm that I can upload to git again.
    Thank you for the help Rune!!

  8. jgarza closed this discussion on 01 Oct, 2021 04:10 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac