Hello guys, today I will post about an common error that I had a lot of times here. If you are having the same problem, here is the solution and the steps:
Error execution expired (Timeout::Error)
Failed to Log in #<RuntimeError: Could not parse response ''; the app has probably crashed>
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) for "999.999.9.999" port 37265 (http://999.999.9.999:37265))
Find the number of the process on 37265 port:
$ps aux | grep 37265
user | process | ....
root | 1234 | ....
Kill the process on 37265 port:
$kill -9 1234
– Check your Calabash version: https://github.com/calabash/calabash-ios/wiki/B1-Updating-your-Calabash-iOS-version
$gem list cucumber
– Check if your device is connected and not locked.