OCRProcessor and attempting to reconnect to the server

I'm using Blazor server side 18.4.0.43 + AspNetCore 5.0.2 and I add this request here because the problem appeared to me using the OCRProcessor with a pdf document but I suppose this could be a generic question where I don't find  a solution.

I'm using this function successfully with a pdf file to get the text inside the images
processor.PerformOCR(lDoc, hostingEnv.ContentRootPath + @"/tessdata/");

if I use it in my PC running the application in VisualStudio, for a Pdf size of 5 MB, it takes about 30 seconds to give me a result.
It's normal and this is not the problem.

If I deploy the application in a shared hosting server, after about 8 or 10 seconds, I always receive the message "attemptig to reconnect to the server 1 of 8..." and then I always lost the connection

Is there a solution to avoid this status ? 
I suppose it's related to the SignalIR configuration but is there any parameter I can change in my application to avoid it ?
Or is it something configured in the shared hosting server so I don't have any solution ?
Thanks



1 Reply

GK Gowthamraj Kumar Syncfusion Team March 24, 2021 02:10 PM UTC

Hi Walter, 

Thank you for contacting Syncfusion support. 

The reported error message is not related to our OCR library, it may occur due to a configuration or connection problem. Kindly please more details about this such as a complete sample with replication steps and server environment details (OS, Bit version, RAM, etc),  to check the generic problem on our end. So, that it will be helpful for us to analyze and assist you further on this.   

Regards, 
Gowthamraj K 


Loader.
Up arrow icon