Repair Generic Error in Customized Exercise Utilizing Batch Account in ADF
Azure Batch is used to run large-scale parallel and high-performance computing (HPC) batch jobs effectively in Azure. Azure Batch creates and manages a pool of compute nodes (digital machines), installs the functions you need to run, and schedules jobs to run on the nodes. There is no cluster or job scheduler software program to put in, handle, or scale. As an alternative, you employ command-line scripts, or the Azure portal to configure, handle, and monitor your jobs.
Whereas executing a C# code in a customized exercise utilizing batch exercise in ADF generally it might get the error “The underlying connection was closed An surprising error occurred on a ship. —> System.IO.IOException Unable to learn knowledge from the transport connection An current connection was forcibly closed by the distant host. —> System.Web.Sockets.SocketException: An current connection was forcibly closed by the distant host”. However whereas executing it regionally in Visual Studio debug mode it might be successful.
In such a state of affairs, we have to test the SSL/TLS certificates offered within the batch account VM’s net server. That is the hyperlink that may be helpful to find out which TLS is best for which .Web Framework Transport Layer Safety (TLS) greatest practices with .NET Framework | Microsoft Study. To test the SSL/TLS model used within the batch account VM you possibly can log to the batch VM (Join utilizing Distant Desktop to an Azure VM operating Home windows – Azure Digital Machines | Microsoft Study)
Examine the system degree TLS 1.2 under
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSecurityProvidersSchannelProtocolsTLS 1.2Client]“DisabledByDefault”=dword:00000000“Enabled”=dword:00000001.
To open the registry location you possibly can take the assistance of this doc Easy methods to open Registry Editor in Home windows 10 – Microsoft Assist.
If correct TLS certification is current then you possibly can test the compute node metrics (Disk Utilization & CPU) whereas operating the code it was going until 100% attributable to which certificates weren’t getting within the VM and Porper handshake was not occurring submit creating a brand new batch pool concern acquired resolved.
Think about using the ‘2022-datacenter’ SKU as an alternative of ‘2012-r2-datacenter’ for the reason that latter is nearing expiration
Know extra about our firm at Skrots. Know extra about our companies at Skrots Companies, Additionally checkout all different blogs at Weblog at Skrots