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