Reason: org.openqa.selenium.WebDriverException: An unknown error has occurred

I got this issue when running tests on a mobile cloud provider. Seem they have no clues about this and they are investigating, so I just want to ask whether you guys know what should I do

The error is: Reason: org.openqa.selenium.WebDriverException: An unknown error has occurred, this happens when there is no response from their appium server, e.g when findElement happens:

  • This works fine: ‘Got response with status xxx’ is seen findElement
    2022-04-16 04:10:44:078 [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:30334/wd/hub/session/a7b2f765-56bc-4703-81e0-7131fc19b1e2/elements] with body: {"strategy":"id","selector":"xxxxx","context":"","multiple":true} 2022-04-16 04:10:44:620 [WD Proxy] Got response with status 200: {"sessionId":"a7b2f765-56bc-4703-81e0-7131fc19b1e2","value":[{"ELEMENT":"005e21f8-c950-48ca-9a7f-c1008a7e59f2","element-6066-11e4-a52e-4f735466cecf":"005e21f8-c950-48ca-9a7f-c1008a7e59f2"}]}

  • When issue happen: ‘Got response with status…’ is NOT seen and my test script stop there with the error “Reason: org.openqa.selenium.WebDriverException: An unknown error has occurred”
    2022-04-16 04:10:44:078 [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:30334/wd/hub/session/a7b2f765-56bc-4703-81e0-7131fc19b1e2/elements] with body: {"strategy":"id","selector":"xxxxxxxxxx","context":"","multiple":true}

Anyone can know what might went wrong, my scripts run fine on my local devices