robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

unable to open socket: [Errno 10061] #217

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by tonytian... on 8 Nov 2011

I am not sure whether it's a defect. I am just a beginner. When I try starting selenium server and openning google home page, I get errors like below: working directory: C:\Users<user name> command: pybot.bat --argumentfile c:\users<user name>\appdata\local\temp\RIDErvhqgf.d\argfile.txt --listener C:\Python27\lib\site-packages\robotide\contrib\testrunner\SocketListener.py:5010 "D:\Robot Framework\WebPageTest" unable to open socket: [Errno 10061]

After that, the server time out. My OS is Win7 and I have Java TM6 update29 installed.

Could you please guide me to fix this error?

Thanks a lot!

spooning commented 9 years ago

Originally submitted to Google Code by tomaszos... on 17 Nov 2011

Hi, I have the same problem. I solve it by running ride.py "as administrator". Because this option is not available directly on .py file I create simple ride.bat file with containing only "ride.py". When I run my new ride.bat file using "run as administrator" the problem disapired.

I hope it will help you.

Best regards. Tomasz

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 14 Dec 2011

@⁠ tonytian_tt: I assume that you are starting the test execution from RIDE?

If so, this is basically a RIDE/Windows 7 issue, since RIDE tries to open a socket, which seems to require elevated privileges in Win 7.

In any case, this is not directly related to SeleniumLibrary.