Hello Gupta, Shalu,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are having issue while deploying an Azure Machine Learning setup with private endpoints.
Most of all, the error you got, "Failed to establish a new connection: [Errno -2] Name or service not known," typically points to DNS resolution issues. However, the lists of a few steps below and links associated provide more steps and reading for better understand of related error on how you can resolve the issue.
- Your DNS settings should be correctly configured, if you're using Azure DNS, verify that the private DNS zones for
privatelink.blob.core.windows.net
andprivatelink.file.core.windows.net
are correctly linked to your virtual network - and if you're using a custom DNS solution, make sure it can resolve the necessary FQDNs. You can test this by runningnslookup <fqdn>
from a VM within the same virtual network. - https://learn.microsoft.com/en-us/azure/machine-learning/how-to-troubleshoot-secure-connection-workspace?view=azureml-api-2 - Double-check your private endpoints is associated with the appropriate resources and recreating the private endpoints can resolve configuration issues. - https://learn.microsoft.com/en-us/azure/machine-learning/how-to-configure-private-link?view=azureml-api-2
- Verify that your NSGs allow traffic to and from the necessary services.- https://learn.microsoft.com/en-us/azure/machine-learning/how-to-configure-private-link?view=azureml-api-2
- Should there be any proxy, it might be interfering with the connection. Try disabling the proxy temporarily to see if it resolves the issue. - https://learn.microsoft.com/en-us/azure/machine-learning/how-to-troubleshoot-secure-connection-workspace?view=azureml-api-2
- Use the Azure Machine Learning workspace diagnostic API to identify any configuration problems with your workspace. - https://learn.microsoft.com/en-us/azure/machine-learning/how-to-troubleshoot-secure-connection-workspace?view=azureml-api-2
- You've mentioned that the roles are configured, but it's worth double-checking that there are no missing permissions. - https://learn.microsoft.com/en-us/azure/machine-learning/how-to-configure-private-link?view=azureml-api-2.
The above are areas the which the error might be troubleshoot. Except there is general (temporary) downtime and/or IP Address issue.
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.