When running a selenium test with nighwatch and zalenium that is deployed on a jenkins server, if the tests are executed from a remote system there is no issue but if the test is executed from the same jenkins server it will fail during executeAsync with:
POST /wd/hub/session/63a916e0c8ce50877bd38d8cf75a220f/execute_async - ECONNRESET
Error: socket hang up
I know this is a generic selenium error message that manifests in different occasions but would be awesome to know how to debug the problem.
From nightwatch side, the test is running normally and it just receives a 500
zalenium, on the other side I can't access selenium logs due to an issue with zalenium...