Discussion:
500 Internal Server Error for Google OCR button
(too old to reply)
Bodhisattwa Mandal
2018-03-20 20:46:03 UTC
Permalink
Raw Message
Hi Sam,

The Google OCR button and the tool
<https://tools.wmflabs.org/ws-google-ocr/> is giving 500 internal server
error output from today, although the Cloud Vision API is working fine
<https://cloud.google.com/vision/docs/drag-and-drop>.

We have reported in phabricator here
<https://phabricator.wikimedia.org/T190216>. It would be great for us if
you please look into this matter urgently as all our options are suddenly
ceasing to work.

--
Bodhisattwa
Jayanta Nath
2018-03-20 20:50:09 UTC
Permalink
Raw Message
Please check it with one test file.

https://tools.wmflabs.org/ws-google-ocr/index.php?image=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F8%2F89%2FBengaliOCRtest.jpg&lang=bn

On Wed, Mar 21, 2018 at 2:16 AM, Bodhisattwa Mandal <
***@gmail.com> wrote:

> Hi Sam,
>
> The Google OCR button and the tool
> <https://tools.wmflabs.org/ws-google-ocr/> is giving 500 internal server
> error output from today, although the Cloud Vision API is working fine
> <https://cloud.google.com/vision/docs/drag-and-drop>.
>
> We have reported in phabricator here
> <https://phabricator.wikimedia.org/T190216>. It would be great for us if
> you please look into this matter urgently as all our options are suddenly
> ceasing to work.
>
> --
> Bodhisattwa
>
>
> _______________________________________________
> Wikisource-l mailing list
> Wikisource-***@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikisource-l
>
>
Sam Wilson
2018-03-21 01:02:25 UTC
Permalink
Raw Message
The error message could be more helpful, but basically this is because
there's a limit on the size of images that can be sent to the Cloud
Vision API.
With a smaller version of the same image, it is working:

https://tools.wmflabs.org/ws-google-ocr/index.php?image=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F8%2F89%2FBengaliOCRtest.jpg%2F424px-BengaliOCRtest.jpg&lang=bn
I think this is a different error to the one in
https://phabricator.wikimedia.org/T190216

On Wed, 21 Mar 2018, at 4:50 AM, Jayanta Nath wrote:
> Please check it with one test file.
>
> https://tools.wmflabs.org/ws-google-ocr/index.php?image=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F8%2F89%2FBengaliOCRtest.jpg&lang=bn>
> On Wed, Mar 21, 2018 at 2:16 AM, Bodhisattwa Mandal
> <***@gmail.com> wrote:>> Hi Sam,
>> The Google OCR button and the tool[1] is giving 500 internal server
>> error output from today, although the Cloud Vision API is working
>> fine[2].>>
>> We have reported in phabricator here[3]. It would be great for us if
>> you please look into this matter urgently as all our options are
>> suddenly ceasing to work.>>
>> --
>> Bodhisattwa
>>
>>
>> _______________________________________________
>> Wikisource-l mailing list
>> Wikisource-***@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikisource-l
>>
> _________________________________________________
> Wikisource-l mailing list
> Wikisource-***@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikisource-l


Links:

1. https://tools.wmflabs.org/ws-google-ocr/
2. https://cloud.google.com/vision/docs/drag-and-drop
3. https://phabricator.wikimedia.org/T190216
Loading...