Open VikashLalit opened 9 months ago
Did you set up the endpoints yourself or did you deploy the private endpoints pull request? You may want to check https://github.com/Azure-Samples/azure-search-openai-demo/pull/864 to see if you did anything differently than that PR.
@pamelafox I have configured private endpoint and selected network using azure portal for my storage resource, openai resource, search resources.
Its working if i use azure openai studio to create my webapp .
But when i try to use this repo , prepdocs.ps1 script is failing with above error
We have now merged full support for private endpoints. See deployment guide here: https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_private.md For prepdocs, we recommend first running it with private access disabled, then re-running it once the data is ingested.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Traceback (most recent call last):
File "C:\Users\vik\git\Azure-Demo\scripts\prepdocs.py", line 408, in
File "C:\Users\vik\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
File "C:\Users\vik\git\Azure-Demo\scripts\prepdocs.py", line 233, in main
File "C:\Users\vik\git\Azure-Demo\scripts\prepdocslib\filestrategy.py", line 58, in run
File "C:\Users\vik\git\Azure-Demo\scripts\prepdocslib\filestrategy.py", line 58, in
File "C:\Users\vik\git\Azure-Demo\scripts\prepdocslib\pdfparser.py", line 81, in parse
File "C:\Users\vik\git\Azure-Demo\scripts.venv\Lib\site-packages\azure\core\tracing\decorator_async.py", line 77, in wrapper_use_tracer
File "C:\Users\vik\git\Azure-Demo\scripts.venv\Lib\site-packages\azure\ai\formrecognizer\aio_document_analysis_client_async.py", line 132, in begin_analyze_document
File "C:\Users\vik\git\Azure-Demo\scripts.venv\Lib\site-packages\azure\core\tracing\decorator_async.py", line 77, in wrapper_use_tracer
File "C:\Users\vik\git\Azure-Demo\scripts.venv\Lib\site-packages\azure\ai\formrecognizer_generated\v2023_07_31\aio\operations_document_models_operations.py", line 189, in begin_analyze_document
File "C:\Users\vik\git\Azure-Demo\scripts.venv\Lib\site-packages\azure\ai\formrecognizer_generated\v2023_07_31\aio\operations_document_models_operations.py", line 114, in _analyze_document_initial
**azure.core.exceptions.HttpResponseError: (403) Public access is disabled. Please configure private endpoint.
Code: 403
Message: Public access is disabled. Please configure private endpoint.**
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful