Failed to connect to https://ocr.api.dev.smartbear.com.
Hi All,
Since couple of days I have a lot of (random) moments of tests failing and passing on another run. The error I get is the following:
Failed to connect to https://ocr.api.dev.smartbear.com. The server returned an invalid or unrecognized response.
My internet connection seems to be good. I remember I had this like months ago just once for a test. Since last week and this week I encounter it in every regression and every thime another test is impacted by it.
Can someone please help me with this:
Some example codes are:
1) OCR.Recognize(geODinButton).BlockByText("Proceed").Click();
2) OCR.Recognize(Aliases.geodin.GeODinOM.PN_Window.PN_MethodActive.TFormContainer.MES_Editor.ScrollWin.TMES_EditorPages.TMES_EditorPage4.TGeODinMesdataTimeLineRuler.TGeODinPanel.TGeODinPanel.TGeODinLabel).CheckText("*01/08/2025 00:00 - 09/05/2027 03:04*");
TestComplete uses a web service residing at ocr.api.dev.smartbear.com, which uses Google Vision API. It sends images to the service and obtains the text recognition results. The computer, on which your tests run, must have access to the web service. If you have firewalls or proxies running in your network this can cause issues.
If you enter https://ocr.api.dev.smartbear.com in your browser, it should open Swagger i.e. SmartBear OCR API, and if you get an invalid response, then the service could be down.
You can get more information at https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/ocr/requirements.html , and also see post OCR service failed. request contains invalid argument | SmartBear Community