Appium - webdriverio - ERROR: connect ECONNREFUSED 127.0.0.1:4723 - appium

Intermittently I get ERROR: connect ECONNREFUSED 127.0.0.1:4723 when running tests in a container connecting to an android device. I have not been able to reproduce it consistently but it happens often.
I tried setting 'address' in the config file to '0.0.0.0' and '127.0.0.1' but neither resolved the issue. I tried adding 'wdaStartupRetries: 3' as well, but that did not fix the issue either.
Do you have thoughts on what might be causing this issue or how to fix it? Thank you.

Related

java.lang.Exception: The server rejected the connection: None of the protocols were accepted

I/we(the company) have a weird issue with Jenkins and the connection between Master and Slave.
After a while the connection is rejected/timed out for some reason.
We tried to start it as a Windows Service but that didn't go well(also error message). We try it again, maybe we didn't start it properly.
Below is the error Message(3) and the error from the Server(1) and slave(2)
How can we/I resolve this?
I read that this is still a bug in Jenkins but is there really no workaround?
1,2,3

ENOTFOUND: getaddrinfo ENOTFOUND api.heroku.com api.heroku.com:443 Error for heroku create

My steps are below:
Download the heroku-osx.pkg, and installed it.
$ heroku login with my account and password
cloned the ruby-getting-started: $ git clone https://github.com/heroku/ruby-getting-started.git
But when I run $ heroku create in my Terminal.
Reports the error:
Creating app... !
▸ ENOTFOUND: getaddrinfo ENOTFOUND api.heroku.com api.heroku.com:443
I have find the related question in SO:
I got error while using "git push heroku master"
Hibernate unable to create schema automatically on Heroku postgres
But they are not when execute $ heroku create comes out the error.
The same was happening to me on Mac OS X 10.12.6 in iTerm2 3.1.5
Restarting iTerm solved the issue for me.
Carelessly, I don't know why, I tried several times of :
$ heroku create
It create succeed, with the logs:
Creating app... done, ⬢ still-harbor-32209
https://still-harbor-32209.herokuapp.com/ |
https://git.heroku.com/still-harbor-32209.git
So, I think try several times will solve it.
It means that the connection between api.heroku.com with a port of 443 and to your PC failed and results to shutdown. Thus retrying the command will succeeds.
You may not be connected to the internet. Make sure to check your connection as it is required to complete this command.
I experienced the same issue recently.
To debug this:
1) I tried restarting my terminal entirely CMD+Q, but still hit the timeout issue
2) I ran a whois on my-heroku-app.com and that command also timed out, even though I could connect to it through my browser
3) I disconnected my VPN and ran a whois command. This fixed the issue
After reconnecting my VPN, everything worked smoothly. Not sure what caused the hiccup, but I hope these steps help for anyone trying to debug this.
This happened to me when the internet temporarily cut out for a few seconds while I was trying to run a heroku command.
The Heroku CLI returned Error: getaddrinfo ENOTFOUND api.heroku.com
As soon as the internet connection was restored, everything was back to normal
I had a similar issue. my OS is windows, I solve this problem by restarting my command line and running the command all over and everything worked fine
The problem for me was network connection, by checking and re-establishing connection, it worked perfectly fine
I was getting the same , Because I was connected to VPN and I think network was blocking the same . So disconnect VPN and try once.

Getting error after installing docker toolbox on windows. Error: connect ECONNREFUSED 10.0.75.2:2375

After installing docker toolbox, when tried to open kitematic, I am getting below error.
On clicking "Use VirtualBox", I get below error screen
This is a known issue which will be fixed soon,
as a temporary solution please try to add this entry to your hosts file (%windir%\drivers\etc\hosts):
127.0.0.1 docker.local

ArangoDB: 'Could not connect to 'tcp://127.0.0.1:8529' 'connect() failed with #10061

Sometimes my ArangoDB is going down with next error:
Error message 'Could not connect to 'tcp://127.0.0.1:8529' 'connect() failed with #10061
I can't understand the reason. It's look like I am turning on my PC and nothing do not work.
Before I fixed this problem with reinstall, but is there any better solution?
OS Windows
ArangoDB 2.8.7
The V8 version used in the pre ArangoDB 3 had occasional troubles in the garbage collection which would make ArangoDB in term go down.
This is fixed with ArangoDB 3.
Please upgrade your installation, and report back whether the problem still persists.
You can use netstat to check whether ArangoDB is listening to its default port 8529:
netstat -a
Active Connections
Proto Lokale Adresse Remoteadresse Status
...
TCP 127.0.0.1:8529 meschenich:0 LISTEN
...
If thats not the case, your client has nothing to connect to.
This could be due to firewall of an antivirus.
In my case it was Avast antivirus that was blocking connecting to that port.
I disabled all the antivirus shields and checked loading arangodb web server
http://127.0.0.1:8529
It connects after few minutes.
Reference : No connection could be made because the target machine actively refused it
I fixed the problem by restarting Windows.

calabash-ios: The app hangs when running automation

I'm using the simulator (iOS 9.0).
I’m running the command: device_target=UDID cucumber
The simulator starts and the app is loading, but then the console hang for few min until time out.
I have the same issue when I run it manually in the console:
calabash-ios console
start_test_server_in_background
The error that I get is:
#<RuntimeError: Timed out connecting to Calabash server after 10 retries. Make sure it is linked and App isn't crashing>
RuntimeError: Unable to make connection to Calabash Server at http://localhost:37265/`
Make sure you don't have a firewall blocking traffic to http://localhost:37265/.
running the command curl http://localhost:37265 and get the error - curl: (7) Failed to connect to localhost port 37265: Connection refused
what I’m missing?
(the app developed in Xamarin)
device_target=UDID cucumber
This is not doing what you expect. Calabash responds to DEVICE_TARGET not device_target.
My best guess is that you need to check whether your .app is linked with Calabash.
Please see these two pages:
https://github.com/calabash/calabash-ios/wiki#reporting-problems
https://github.com/calabash/calabash-ios/wiki/Updating-your-Calabash-iOS-version#what-version-of-the-server-is-embedded-in-my-app

Resources