How can I stop my VM from moving slow and disconnecting with UDP errors

Cannoy Miller 0 Reputation points
2024-10-08T11:26:22.9833333+00:00

Whenever I login on the Azure portal I have no issues it moves smooth and everything is fine but after I create a VM and when I connect to the VM ( useing UDP ) the operating system moves very slowly and it keeps disconnecting and this error code keep pop up ( 0x112f ). I am not an expert, and I am trying to prepare for my AZ-500 exam.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,025 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Faisal Ahmed 80 Reputation points
    2024-10-08T11:33:22.6266667+00:00

    It sounds like you're experiencing performance and connectivity issues with your Azure VM, which can be frustrating. Here are some steps to troubleshoot and potentially resolve the issue:

    1. Check VM Size and Resources:

    • Ensure that the VM size you selected has adequate resources (CPU, memory) for the tasks you are performing. You can resize the VM if necessary.

    1. Network Configuration:

    • Verify that the network configuration, including Network Security Groups (NSGs) and firewalls, allows the necessary traffic. Ensure that UDP traffic is not being blocked.

    1. Remote Desktop Settings:

    • If you are using Remote Desktop Protocol (RDP) over UDP, try switching to TCP to see if the performance improves. You can do this by modifying the RDP settings on your client.

    1. Azure Diagnostics:

    • Enable Azure Diagnostics on your VM to collect logs and metrics. This can help identify any underlying issues with the VM.

    1. Update VM and Client Software:

    • Ensure that both the VM operating system and your client software are up to date with the latest patches and updates.

    1. Check for Resource Contention:

    • If multiple VMs or services are running in the same region or resource group, there might be resource contention. Consider distributing the load or using a different region.

    1. Review Azure Support Documentation:

    • Look up the specific error code 0x112f in the Azure support documentation for more detailed troubleshooting steps.

    1. Contact Azure Support:

    • If the issue persists, consider reaching out to Azure Support for assistance. They can provide more in-depth analysis and solutions.

    Here is a basic example of how you might resize a VM using Azure CLI:

    First, deallocate the VM

    az vm deallocate --resource-group MyResourceGroup --name MyVm

    Resize the VM

    az vm resize --resource-group MyResourceGroup --name MyVm --size Standard_DS3_v2

    Start the VM again

    az vm start --resource-group MyResourceGroup --name MyVm

    Replace MyResourceGroup and MyVm with your actual resource group and VM names.

    By following these steps, you should be able to identify and resolve the performance and connectivity issues with your Azure VM. Good luck with your AZ-500 exam preparation!

    0 comments No comments

  2. Srinud 2,620 Reputation points Microsoft Vendor
    2024-10-08T21:57:25.2+00:00

    Hi Cannoy Miller,
    Thank you for reaching out to us on the Microsoft Q&A forum.

    To address the issue with slow VM performance and UDP disconnections, please follow the steps below:

    • Ensure that the VM has sufficient resources such as CPU, memory, and network bandwidth to handle your workload. Insufficient resources can cause performance degradation and lead to frequent disconnections. If necessary, consider resizing the VM to a higher SKU to improve performance. Please refer the documentation for more information: Resize a VM.
    • Make sure the operating system and network drivers on the VM are up to date. Outdated drivers or OS versions may cause network-related issues, it could be result in slow performance and connectivity problems. Please refer the documentation for more information: Keep a Windows VM updated
    • Ensure that the required UDP ports are properly configured and open in the Network Security Group (NSG) and firewall settings. Additionally, review the network settings to check for any potential misconfigurations that could cause UDP disconnections.
      Please find the document for your reference: Troubleshoot Remote Desktop connections to an Azure virtual machine

    If the information provided has been helpful to you then please accept the answer by clicking the "Upvote and Accept Answer" on the post. We value your feedback, and it will help us to assist others who might have a similar query.
    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.