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
– Check your Cucumber version:
$gem list cucumber
– Check your XCode version:
$gcc --version
– Check your ruby version:
$ruby --version
$rvm list
– Check if your device is connected and not locked.
Thank you guys ! See you next week π