Page MenuHomePhabricator

Google OCR not working
Closed, DuplicatePublic

Description

Google OCR button and tool using Cloud Vision API is returning 500 internal server error. The Cloud Vision API is working fine.

⧼error⧽ undefined Server error: POST https://googlevision-api-proxy.wmflabs.org/v1/images:annotate?key=AIzaSyDmX0md47UZQYhIJasys3IqcWhdr9u73PU resulted in a 500 Internal Server Error response: <title>500 Internal Server Error</title>

500 Internal Server E (truncated...)

Screenshot from 2018-03-21 02-23-45.png (1,366×768 px, 416 KB)

Event Timeline

This may have been caused by the nginx proxy failures identified in T190218: Quarry server errors caused by Cloud VPS shared proxy failures. @jayantanth or @Bodhisattwa can you check and see if the service is working again?

If this isn't a passing error relating to the issue bd080 mentions above, another thing to confirm is that the image file is not too large (right click on that scan image, and 'show image'; the gadget sends the approx. 1000px image that's used for display). Although, it should be returning a more precise error if that is happening.

Both the button and the tool are working now again. Thanks!