Azure AI | Machine Learning Studio

Bus It 0 Reputation points
2024-03-12T15:07:32.6833333+00:00

In Machine Learning Studio, launching and Index Job I have this error:

File "/azureml-envs/rag-embeddings/lib/python3.8/site-packages/azureml/rag/tasks/embed.py", line 345, in create_embeddings     _check_workers(embedder_futures, activity_logger)   File "/azureml-envs/rag-embeddings/lib/python3.8/site-packages/azureml/rag/tasks/embed.py", line 198, in _check_workers     future.get(timeout=1)   File "/azureml-envs/rag-embeddings/lib/python3.8/multiprocessing/pool.py", line 771, in get     raise self._value RuntimeError: Failed to embed 2 documents after 0s and 9 retries. Error code: 403 - {'error': {'code': '403', 'message': 'Public access is disabled. Please configure private endpoint.'}}

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,539 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,336 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 45,826 Reputation points
    2024-03-12T22:02:19.6333333+00:00

    @Bus It

    Thanks for reaching out to us, it seems you are working on a private environment, please config the workspace as below -

    https://learn.microsoft.com/en-us/azure/machine-learning/how-to-configure-private-link?view=azureml-api-2&tabs=cli

    The error message you're encountering indicates that the process is trying to access a resource that has public access disabled. The error message suggests that you should configure a private endpoint to access the resource. Here's what you can do:

    Configure a Private Endpoint: A private endpoint is a network interface within a specific Virtual Network (VNet) and Subnet in Azure. It represents your service in that VNet and allows connectivity only from within that VNet or from peered VNets.

    Enable Public Access: If the resource you're trying to access is yours, and you're sure that it's secure to do so, you could enable public access to it. However, this may not be recommended if the resource contains sensitive data or if it's critical for your application's functionality.

    Check Access Policies: Make sure that the appropriate access policies are set for the resource you're trying to access.

    Check Network Security Group Rules: If you're using Azure Virtual Networks, check the Network Security Group rules to ensure that outbound access to your resource isn't being blocked. Remember that these changes can have security implications, so it's important to understand them fully before implementing. If you're unsure, it's always a good idea to consult with a network or security expert.

    Please let me know if this is not your case, we can discuss further.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments