Deploy Azure Stack HCI [ERROR: [SSL: UNEXPECTED_EOF_WHILE_READING]

PERICK Ludovic 0 Reputation points
2024-10-23T13:02:32.1166667+00:00

Hello,

On the deployment "Deploy Azure Stack HCI" i have issue when we arrive at the step
"Deploy Arc infrastructure components"

We don't use, any proxy server it's connect internet directly.

if someone have idea.

Best regards

Ludovic

I have this error message ,

Type 'DeployArb' of Role 'MocArb' raised an exception: [DeployArb:GetArcHciMgmt before Install] Correlation ID: 73e2f552-7e56-4e05-a360-98c14160a705. C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd provider register --namespace Microsoft.HybridConnectivity --wait returned a non empty error stream [ERROR: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006) Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self-signed certificate. Please add this certificate to the trusted CA bundle. More info: https://docs.microsoft.com/cli/azure/use-cli-effectively#work-behind-a-proxy.]

On the log file i have this message:

2024-10-23 10:46:12 Verbose [MocArb:DeployArb] Failed Tests : [

{

    "TestName":  "Test Az ArcAppliance Validate",

    "TestResult":  "Failed",

    "Details":  "C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\wbin\\az.cmd arcappliance show --resource-group \"*xxxxxxxx*\" --subscription xxxxxxxx --name \"LABHCICLUSTER-arcbridge\" --only-show-errors returned a non empty error stream [ERROR: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006) Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self-signed certificate. Please add this certificate to the trusted CA bundle. More info: https://docs.microsoft.com/cli/azure/use-cli-effectively#work-behind-a-proxy.] at [at Invoke-ArcHciAzCommandLine, C:\\Program Files\\WindowsPowerShell\\Modules\\ArcHci\\1.0.98\\ArcHci.psm1: line 3186 at Invoke-ArcHciAzCommand, C:\\Program Files\\WindowsPowerShell\\Modules\\ArcHci\\1.0.98\\ArcHci.psm1: line 3062 at Get-ArcHciResourceBridge, C:\\Program Files\\WindowsPowerShell\\Modules\\ArcHci\\1.0.98\\ArcHci.psm1: line 5227 at Test-ArcHciAzArcApplianceValidate, C:\\Program Files\\WindowsPowerShell\\Modules\\ArcHci\\1.0.98\\ArcHci.psm1: line 7483 at Test-ArcHciEnableArcMgmt, C:\\Program Files\\WindowsPowerShell\\Modules\\ArcHci\\1.0.98\\ArcHci.psm1: line 8265 at DeployArbInternal, C:\\NugetStore\\Microsoft.AzureStack.MocArb.LifeCycle.1.2408.1.5\\content\\Scripts\\MocArbHelper.psm1: line 1233 at DeployArb, C:\\NugetStore\\Microsoft.AzureStack.MocArb.LifeCycle.1.2408.1.5\\content\\Scripts\\MocArbLifeCycleManager.psm1: line 253 at \u003cScriptBlock\u003e, C:\\CloudDeployment\\ECEngine\\InvokeInterfaceInternal.psm1: line 139 at Invoke-EceInterfaceInternal, C:\\CloudDeployment\\ECEngine\\InvokeInterfaceInternal.psm1: line 134]"

},

{

    "TestName":  "Overall ArcHci Mgmt Precheck Result",

    "TestResult":  "Failed",

    "Details":  "At least one of the prechecks required for Arc Mgmt installation failed. See above tests for more details."

}

]

2024-10-23 10:46:12 Verbose [MocArb:DeployArb] DeployArb:FinallyBlock:Cleanup:Logging out from AZ

2024-10-23 10:46:12 Verbose [MocArb:DeployArb] Doing AZ Logout

Azure Stack HCI
Azure Stack HCI
A hyperconverged infrastructure operating system delivered as an Azure service that provides security, performance, and feature updates.
358 questions
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
436 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay kumar Mandha 1,040 Reputation points Microsoft Vendor
    2024-10-23T22:37:53.2533333+00:00

    Hi PERICK Ludovic,
    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    Based on your question, what I understand is that when you are trying to deploy Azure Arc infrastructure components using the Azure CLI, you are getting an SSL error, is that correct? If that is the case, The error indicates a certificate verification failure referring to a proxy-related issue, but you have mentioned you are not using a proxy server. Could you please try the following below things.

    First, check your network settings to ensure that your firewall allows outbound connections to Azure services and that DNS is resolving Azure endpoints correctly. It’s also important to verify that your system has the latest root CA certificates you can usually update these through your operating system.

    Make sure you have the latest version of Azure CLI installed. You can easily update it by running az upgrade.

    Lastly, double check your environment for any leftover proxy settings in your environment variables (like HTTP_PROXY or HTTPS_PROXY) that might be affecting the Azure CLI.

    Please let us know if the issue is resolved after trying the steps mentioned above. If you need any further information, we will be happy to assist you as needed.

    If you found this information helpful, please click an accepting the answer and "Upvote" on my post for other community members' reference User's image


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.