CreatePlatformSocket() returned an error: An inval

2019-02-25 12:57发布

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条回答
我只想做你的唯一
2楼-- · 2019-02-25 13:37

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.

查看更多
登录 后发表回答