Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
IPv6 Address family not supported by protocol
bench last edited by
we're running QtWebengine 5.7 under Linux version 4.1.33-yocto-standard. Due to reasons we don't use IPv6 in our environment and it is disabled by kernel command line parameter ipv6.disable=1. Nevertheless in the logs we see that qtwebengine is trying to access IPv6 addresses and throws errors when we open an URL.
ERROR:socket_posix.cc(82)] CreatePlatformSocket() returned an error, errno=97: Address family not supported by protocol
Is there a way to disable IPv6 or to suppress these messages? The application is working fine, just the logs are messed up. Getting up to 6 errors with each URL called.
(All urls we're using have IPv4 entries in /etc/hosts)
Hi and welcome to devnet,
That's a question you should bring to the QtWebEngine mailing list. You'll find there the QtWebEngine module developers/maintainers. This forum is more user oriented.