robotframework / PythonRemoteServer

Robot Framework remote server implemented with Python
Apache License 2.0
152 stars 83 forks source link

Getting Error 10060 while using Remote Server and running tests #41

Closed h3xh4wk closed 7 years ago

h3xh4wk commented 7 years ago

Hi, I am not able to run tests given in examples. Not able to connect to the server running on the same Windows 7 PC.

image

Please see the image; In one command window, the server has already started. but while running tests, I get error 10060; [ ERROR ] Error in file 'C:\Users\jitendrasi\gitrepos\PythonRemoteServer\example \tests.robot': Getting keyword names from library 'Remote' failed: Calling dynam ic method 'get_keyword_names' failed: Connecting remote server at http://192.168 .0.103:8270 failed: [Errno 10060] A connection attempt failed because the connec ted party did not properly respond after a period of time, or established connec tion failed because connected host has failed to respond

h3xh4wk commented 7 years ago

I tried running the robotremoteserver.py test $IP:$PORT, and it prints No remote server running at http://$IP:$PORT. Well, it works when I use loopback address on the same Windows PC.

It works when I try the same thing on a Linux box i.e. by running the server and client targeting the $IP of one of my interfaces.

It also works when I run the tests.robot from Windows 7 by giving an $IP of one of my interfaces of the Linux installed as a guest on VirtualBox on Windows Host. strange. I don't know what I am missing while replicating the same steps on Windows 7.

h3xh4wk commented 7 years ago

I tried running both server and client on my personal Windows PC which is not part of any corporate domain. It works. I think it might be some firewall 🔥 issue. Hoping to close this one soon.