# Google OCR prerequisites?

**URL:** <https://forum.uipath.com/t/google-ocr-prerequisites/101222>\
**Category:** Help\
**Tags:** studio, ocr, activities\
**Created:** [March 11, 2019, 7:03am UTC](https://forum.uipath.com/t/google-ocr-prerequisites/101222 "2019-03-11T07:03:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![srogo](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@srogo](https://forum.uipath.com/u/srogo)\
**Post date:** [March 11, 2019, 7:03am UTC](https://forum.uipath.com/t/google-ocr-prerequisites/101222/1 "2019-03-11T07:03:56Z")

</div>

Hi! I would like to ask if there is anything I have to do before using Google OCR. I know that to use Microsoft OCR or Abbyy OCR it is needed to install additional software but I can’t find anything about Google OCR.

I’m facing one problem. On first machine everything works smoothly. On second machine activity takes 10 minutes and throws exception no matter what. Below you can see screenshot of activity and exception message.

 ![googleocr](https://global.discourse-cdn.com/uipath/original/3X/1/5/1563d28c91bab7da66e50e7c6d8c098602818116.jpeg)

> System.AggregateException: One or more errors occurred. —\> System.Exception: Error scraping using host process. Service is not available. —\> System.TimeoutException: This request operation sent to net.pipe://localhost/UiPath.Vision.Host/BrokerService\_IHostService\_627364 did not receive a reply within the configured timeout (00:10:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client. Server stack trace: at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at UiPath.Vision.Hosting.Service.IHostService.Scrape(OCRInput input, OCROptions options, OCROutput& output) at UiPath.Vision.Hosting.Service.HostServiceProxy.Scrape(OCRInput input, OCROptions options, OCROutput& output) — End of inner exception stack trace — at UiPath.Vision.Hosting.Service.HostServiceProxy.Scrape(OCRInput input, OCROptions options, OCROutput& output) at UiPath.Vision.VisionProcessor.\<\>c\_\_DisplayClass7\_1.\<ScrapeUsingHostService\>b\_\_0() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- Server stack trace: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at UiPath.Vision.VisionProcessor.ScrapeUsingHostService(OCRInput input, OCROptions options, CancellationToken cancelToken) at UiPath.Vision.VisionProcessor.Scrape(OCRInput input, OCROptions options, CancellationToken cancelToken, Boolean useHostProcess) at UiPath.Vision.UiImage.ScrapeOCR(OCROptions options, CancellationToken cancellationToken) at UiPath.Core.Activities.OCREngineActivity.&lt;&gt;c __DisplayClass36_0.&lt;BeginExecute&gt;b__ 0() at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]&amp; outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData&amp; msgData) at System.Func`1.EndInvoke(IAsyncResult result) at UiPath.Core.Activities.OCREngineActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity`1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) ---&gt; (Inner Exception #0) System.Exception: Error scraping using host process. Service is not available. ---&gt; System.TimeoutException: This request operation sent to net.pipe://localhost/UiPath.Vision.Host/BrokerService_IHostService_627364 did not receive a reply within the configured timeout (00:10:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client. Server stack trace: at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type) at UiPath.Vision.Hosting.Service.IHostService.Scrape(OCRInput input, OCROptions options, OCROutput&amp; output) at UiPath.Vision.Hosting.Service.HostServiceProxy.Scrape(OCRInput input, OCROptions options, OCROutput&amp; output) --- End of inner exception stack trace --- at UiPath.Vision.Hosting.Service.HostServiceProxy.Scrape(OCRInput input, OCROptions options, OCROutput&amp; output) at UiPath.Vision.VisionProcessor.&lt;&gt;c __DisplayClass7_1.&lt;ScrapeUsingHostService&gt;b__ 0() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()\<—

Did someone ever faced such problem with Google OCR?

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [March 12, 2019, 3:10pm UTC](https://forum.uipath.com/t/google-ocr-prerequisites/101222/2 "2019-03-12T15:10:17Z")

</div>

Hi @srogo

Due to this portion of the error:  
`This request operation sent to net.pipe:`  
I would suggest this post:

> [@Help! Can't run any processes](https://forum.uipath.com/t/help-cant-run-any-processes/92459/7):
>
> Okay I did a complete re- installation after deleting the folders from Roaming and Local in %appdata%. Before that I went to Windows features and enabled all the features under .Net after which I could see the net.pipe listener service running which was previously missing. This appears to have resolved the issue. I would like to sincerely thank everyone for their assistance and support. This really is a fantastic community slight_smile

---

<div class="post-metadata">

**Author:** ![srogo](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@srogo](https://forum.uipath.com/u/srogo)\
**Post date:** [March 14, 2019, 10:20am UTC](https://forum.uipath.com/t/google-ocr-prerequisites/101222/3 "2019-03-14T10:20:38Z")

</div>

This problem occured because I have used newest lang files for Google OCR with older version of UiPath. Solution was to use lang files from 2015.
