Azure Devops The SSL connection could not be established, see inner exception.

hide 1 Reputation point
2021-05-20T02:43:33.187+00:00

Thank you for your help.
This time, I asked a question because the error occurring in my environment cannot be resolved.
The contents are as follows.

From May 14th, Azure Devops cannot deploy to VMs in a specific environment.
· Errors occurring in Azure Devops

Unable to deploy to the virtual machine '<MY-VM>' as the machine is offline.

I added the VM to Azure Active Directory before the above error occurred (to configure Azure Key Vault).
I thought that the addition was the cause of the deployment failure, so I canceled it, but the error did not change.

I tried to reinstall the Azure Devops agent on the VM.
However, the installation failed due to the following error:

GET request to https://dev.azure.com/<my-project>/_apis/connectionData?connectOptions=1&lastChangeId=<lastChangeId>&lastChangeId64=<lastChangeId64> failed. System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
   at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)

Also, when removing an agent that originally existed, the console displays the error The SSL connection could not be established, see inner exception..
-> After restoring the VM, the agent can be deleted (installation cannot be done with the above error).

Could you teach me the following method based on the current situation?
What I want is to install a new azagent on the VM.

Does anyone know the answer to this question?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
44,049 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-05-20T02:44:52.71+00:00

    The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem

    --please don't forget to Accept as answer if the reply is helpful--

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.