Node.js Selenium IPv6 Issue (SocketException Protocol family unavailable)

前端 未结 2 388
醉话见心
醉话见心 2020-12-17 17:22

This error only happens when I spawn the ios-driver jar as a Node.js child.

The error is java.net.SocketException: Protocol family unavailable

seleni

2条回答
  •  春和景丽
    2020-12-17 18:15

    I don't have much idea about it, what so far I've found is that this can be binding issue with java. More details is on following link:(It is not the updated information, it may lead to answer)

    http://diario.beerensalat.info/2008/10/12/java_and_ipv6_on_bsd.html

    If that is not the case, as this post suggests to change it to higher port should work. "Protocol family unavailable" error while using VisualVM

提交回复
热议问题