GoogleCloudPlatform / document-ai-samples

Sample applications and demos for Document AI, the end-to-end document processing platform on Google Cloud
https://cloud.google.com/document-ai
Apache License 2.0
215 stars 94 forks source link

If x pages per minute, how many pages can be requested per second, millisecond, or nanosecond? #822

Open hajunho opened 2 months ago

hajunho commented 2 months ago

I encountered the following error. I have roughly resolved it with approximate numbers, but I would like to know the exact limit.

1007)')))
An error occurred: HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded with url: /token (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))
An error occurred: 400 Request contains an invalid argument. [field_violations {
  field: "raw_document.content"
  description: "Document size (34381195) exceeds the limit: 20971520."
}
]
An error occurred: HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded with url: /token (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))
An error occurred: HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded with url: /token (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))
An error occurred: 400 Request contains an invalid argument. [field_violations {
  field: "raw_document.content"
  description: "Document size (33770199) exceeds the limit: 20971520."
}
]

Thank you.