Open Gomez opened 8 years ago
I haven't looked at what EEA Graylogger does in detail, but this looks like the general issue with graypy and IPv6 we encountered in our code as well.
graypy relies on Python's default built-in logging Handlers to open the sockets. Their lack of IPv6 support is known as Python issue 14855.
So for those running the problem as well, you may work around it by subclassing the Handler e.g. like this:
class IPv6GELFUDPHandler(graypy.GELFUDPHandler):
def makeSocket(self):
return socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
If i try to add a ipv6 only domainname or the ipv6 ip i get this error:
Does someone use it with ipv6? Some1 a hint?