selenium-google-code-issue-archive icon indicating copy to clipboard operation
selenium-google-code-issue-archive copied to clipboard

Selenium not supporting on pure IPv6 environments

Open lukeis opened this issue 8 years ago • 2 comments

Originally reported on Google Code with ID 8144

Steps to simulate:

1. Ran Selenium hub on IPv6 following is error:

[root@isi-fedora-034 rakhi]# java -jar selenium-server-standalone-2.44.0.jar -role
hub -debug
13:36:48.408 INFO - Launching a selenium grid server Exception in thread "main" org.openqa.selenium.WebDriverException:
Could not find a non-loopback ip4 address for this machine Build info: version: '2.44.0',
revision: '76d78cf', time: '2014-10-23 20:02:37'
System info: host: 'isi-fedora-034', ip: '5484:2137:7a08:b31a:0:0:0:86', os.name: 'Linux',
os.arch: 'amd64', os.version: '3.11.10-301.fc20.x86_64', java.version: '1.8.0_25'
Driver info: driver.version: unknown
 at org.openqa.selenium.net.NetworkUtils.getIp4NonLoopbackAddressOfThisMachine(NetworkUtils.java:73)
 at org.openqa.grid.web.Hub.<init>(Hub.java:88)
 at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:103)

We are tried couple of things but results were unsuccessful

1.  Tried to configured VMware network adapter with IPv6 Environment
2.  Tried to disable the VMware network adapter  
3.  Tried to move Client & Server on IPv4 environment and kept cluster in IPv6 environment
but didn’t worked for us ( Due to Nat64 limitation – routing of IPv4 to IPv6 not possible)
4.  Tried to assign loopback address to Client machine for IPv4 & Ipv6


What is the expected output? What do you see instead?

The client daemon should be run on pure Ipv6 environment without any error/issue and
the valid IP get registered on selenium server daemon.



Selenium version: 2.44
OS: Fedora
Browser: Chrome
Browser version: 38.0.2125.111

Please suggest if any workaround is available to run client/server daemons on pure
IPv6 environments

Thanks,
Pramodkumar


Reported by pramod.ite on 2014-11-07 09:06:32

lukeis avatar Mar 04 '16 09:03 lukeis

Reported by barancev on 2014-11-07 10:47:48

  • Labels added: Component-Grid

lukeis avatar Mar 04 '16 09:03 lukeis

Reported by luke.semerau on 2015-09-17 17:47:30

  • Labels added: Restrict-AddIssueComment-Commit

lukeis avatar Mar 04 '16 09:03 lukeis