I get the following error randomly:
OpenQA.Selenium.WebDriverException: A exception with a null response was thrown sending an HTTP request to the remote WebDriver server for URL http://XXXXX:4723/wd/hub/session/2227ce9e-3887-4156-ac11-b71a91cbd397/appium/app/close. The status of the exception was NameResolutionFailure, and the message was: nodename nor servname provided, or not known nodename nor servname provided, or not known
---> System.Net.WebException: nodename nor servname provided, or not known nodename nor servname provided, or not known
---> System.Net.Http.HttpRequestException: nodename nor servname provided, or not known
---> System.Net.Sockets.SocketException (0xFFFDFFFF): nodename nor servname provided, or not known
Which makes no sense. Appium studio is running on the same computer, the hostname is correct and hostnames rarely disappear in the middle of a test run.
I suspect a misleading error message which brings me to the actual question:
What is the actual problem here?