Use ipv6 address as default when out_forward and macOS catalina #2867
Labels
bug
Something isn't working
ipv6
waiting-for-user
Similar to "moreinfo", but especially need feedback from user
Describe the bug
out_forward tries to connect
::1
instead of127.0.0.1
because the following code uses first value(which is ipv6 address) as the hostname.fluentd/lib/fluent/plugin/out_forward.rb
Line 731 in 8f2ea4b
#2865 (comment)
To Reproduce
Needs macOS catalina (I'm not sure other versions of macOS)
server
client
getaddrinfo(3) returns the values in a different order on ubuntu and macOS.
Expected behavior
Use ipv6 address when setting
localhost
to host at server section of out_forwardYour Environment
Your Configuration
Same as the To Reproduce
Your Error Log
Additional context
The text was updated successfully, but these errors were encountered: