AppService local git repository clone fails with: RPC failed; curl 56 GnuTLS recv error (-110)

silvester.adamik 1 Reputation point
2022-07-19T14:14:00.213+00:00

We have a bitbucket pipeline that executes a git clone command:

git clone --depth=1 https://<private_project>.scm.azurewebsites.net:443/<private_project_repo_name>.git azure_deploy --branch=master

Cloning into 'azure_deploy'...
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: the remote end hung up unexpectedly

This problem started to appear approximately in june, without any modification of our source code.

The problem is reproducible when we issue the git clone command also on mac and windows developer machines.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,407 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 24,971 Reputation points Microsoft Employee
    2022-07-20T20:20:09.523+00:00

    silvesteradamik-4171, Thanks for posting this question. Apologies you’re experience this issue since June. As I understand, when you say , “The problem is reproducible when we issue the git clone command also on mac and windows developer machines.” - the issue is not isolated/related to App Service.

    -If you’re leveraging self-hosted agent connect to site using 1.0 or 1.1 we may encounter connection termination error. Kindly use TLS1.2 in the self-hosted agent and then check.

    -If you’re also receiving _ANONYMOUS_USER_ID e, It is (as illustrated in Azure/azure-devops-cli-extension) the . Kindly try Azure pipeline to see if the sync source (ie the clone/pull) step works.
    Checkout this discussion thread, suggestion provided by VonC.

    -Because many Git repositories are moving away from master to main, also ensure that you push to the right branch in the App Service repository. See the steps outlined in the doc:

    -To isolate the issue further, kindly try the suggestions : RPC failures and http.postBuffer

    0 comments No comments