CreatePlatformSocket() returned an error: An invalid argument was supplied. (0x27t6) Port not available. Exiting… in Selenium Webdriver

孤者浪人 提交于 2019-12-02 00:32:55

问题


I am getting the below errors when running Selenium script. Recently I did setup Selenium grid and started noticing after that. I stopped the Hub and restarted the system also but still having same issue. Also tried with latest Chrome and IE Drivers.

Chrome Error:

Starting ChromeDriver 2.28.455520 (cc17746adff54984afff480136733114c6b3704b) on port 11055
Only local connections are allowed.
[0.147][SEVERE]: CreatePlatformSocket() returned an error: An invalid argument was supplied. (0x2726)
[0.147][SEVERE]: CreatePlatformSocket() returned an error: An invalid argument was supplied. (0x27t6) Port not available. Exiting...

IE Error:

Failed to start the server with: port = '2305', host = '', log level = '', log file = '', whitelisted ips = ''

回答1:


This issue is resolved now after I moved the driver executables from network driver to local drive. I guess some policies changed in our company so stopped working before.



来源:https://stackoverflow.com/questions/42838273/createplatformsocket-returned-an-error-an-invalid-argument-was-supplied-0x2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!