Comments (15)
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ctstone @vkurpad.
from azure-sdk-for-python.
Thanks for your feedback.
Could you share the library versions you are using?
Form Recogniser library
azure-core
aiohttp
Thanks.
from azure-sdk-for-python.
Hi @Aizen-sama214. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.
from azure-sdk-for-python.
hi @xiangyan99 , I am using document analysis client of form recogniser of azure.ai.formrecognizer.aio and v 3.2
from azure-sdk-for-python.
Thank you. Could you also provide the version information of
azure-core
aiohttp?
from azure-sdk-for-python.
Hi @Aizen-sama214. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.
from azure-sdk-for-python.
azure-core==1.30.1
aiohttp==3.9.3
azure-ai-formrecognizer==3.3.0
from azure-sdk-for-python.
Thank you.
I tried it in my local devbox but could not repro it.
Could you share more context about the repro?
from azure-sdk-for-python.
Hi @Aizen-sama214. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.
from azure-sdk-for-python.
This is my code :
path_to_sample_documents = "./downloads/tabs-Full-stack Engineer Assignment.pdf"
from azure.core.credentials import AzureKeyCredential
from azure.ai.formrecognizer.aio import DocumentAnalysisClient
endpoint = os.environ["AZURE_FORM_RECOGNIZER_ENDPOINT"]
key = os.environ["AZURE_FORM_RECOGNIZER_KEY"]
document_analysis_client = DocumentAnalysisClient(
endpoint=endpoint, credential=AzureKeyCredential(key)
)
print(document_analysis_client)
async with document_analysis_client:
with open(path_to_sample_documents, "rb") as f:
poller = await document_analysis_client.begin_analyze_document(
"prebuilt-layout", document=f
)
result = await poller.result()
and my error :
azure.core.exceptions.ServiceRequestError: Cannot connect to host docextractor214.cognitiveservices.azure.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)')]
from azure-sdk-for-python.
Thank you.
I tried your code but I could not repo the failure.
Did you have a chance to try using some other environments?
from azure-sdk-for-python.
Hi @Aizen-sama214. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.
from azure-sdk-for-python.
Hi @Aizen-sama214, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!
from azure-sdk-for-python.
I have experienced the same problem in my local laptop. But the problem is gone in azure compute instance.
aiohttp==3.9.3
azure-core==1.29.5
My Code:
import os
import asyncio
from azure.ai.formrecognizer.aio import DocumentAnalysisClient
from azure.core.credentials import AzureKeyCredential
from dotenv import load_dotenv
load_dotenv()
formrecognizerservice = os.getenv('FORMS_RECOGNIZER_SERVICE')
endpoint =f"https://{formrecognizerservice}.cognitiveservices.azure.com/"
credential = AzureKeyCredential(os.getenv('FORMS_RECOGNIZER_KEY'))
client = DocumentAnalysisClient(endpoint, credential, verify=False)
async def rum():
res = await client.begin_analyze_document_from_url("prebuilt-layout", "https://www.irs.gov/pub/irs-pdf/fw4.pdf")
print(res.result())
loop = asyncio.get_event_loop()
loop.run_until_complete(rum())
loop.close()
My error:
azure.core.exceptions.ServiceRequestError: Cannot connect to host {formrecognizerservice}.cognitiveservices.azure.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1006)')]
from azure-sdk-for-python.
Hi @Aizen-sama214, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!
from azure-sdk-for-python.
Related Issues (20)
- Regenrating Log Analytics Workspace Shared Keys fails with missing parameter that cannot be set. HOT 1
- Race condition between non-async AI Search methods. HOT 1
- [pipeline] remove existing generated files before regeneration
- AzureML v2 sdk - Retrieving a job fails HOT 1
- [azure-mgmt-compute] get_instance_view method of virtual_machine_scale_set_vms paramter error. HOT 3
- [breaking_changes_tracker] support to detect new Model generated from Typespec
- [changelog] adopt `breaking_change_tracker` in pipeline
- cache_configuration cannot be set to Null (None in Python) to remove AFD Route Caching once turned on HOT 4
- AzureML SDKV2 - ml_client job stream error - ManagedIdentityCredential authentication unavailable HOT 1
- Document the APPLICATIONINSIGHTS_OPENTELEMETRY_RESOURCE_METRIC_DISABLED environment variable HOT 1
- Error while trying to delete local endpoint HOT 1
- TCN Forecaster: The provided path to the data in the Datastore does not exist. HOT 1
- Workspace AmlCompute does not have correct compute region from SDK. HOT 1
- AttributeError: 'StorageManagementClientConfiguration' object has no attribute 'api_version' HOT 1
- Azure Identity should not use Azure CLI's app ID HOT 1
- Adding more information to typeProperties key for a dataflow activity when using get() in DatasetsOperations class HOT 1
- Error (SearchIndexClient) Creating Index for Edm.ComplexType => The complex field ... cannot have the retrievable property set (STILL ONGOING) HOT 3
- Look into modifying `retry-after` headers to eliminate playback test poll waiting
- Invoice prebuilt models of Document Intelligence does not detect all line items HOT 1
- LROPoller.result() cannot occasionally locate the requested message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-python.