Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 does not seem to work with Windows #9053

Open
jomillerOpen opened this issue Jul 5, 2024 · 2 comments · May be fixed by #9404
Open

IPv6 does not seem to work with Windows #9053

jomillerOpen opened this issue Jul 5, 2024 · 2 comments · May be fixed by #9404

Comments

@jomillerOpen
Copy link

Bug Report

Describe the bug
I have the following configuration to listen for TCP on any IPv6 address (tried also the localhost ::1 with same results):
[INPUT]
Name tcp
Chunk_Size 32
Format json
Listen ::
Port 5170
tag cs.systemmonitoring

[OUTPUT]
Name stdout
Format json_lines
json_date_format iso8601
json_date_key utc_timestamp
Match cs.systemmonitoring

If I use an IPv4 address instead it will work fine, but using the above IPv6 configuration and trying to send data to Fluent Bit results in the following:
[2024/07/05 16:37:08] [ info] [fluent bit] version=3.0.7, commit=73e72bdf9a, pid=3620
[2024/07/05 16:37:08] [ info] [storage] ver=1.5.2, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2024/07/05 16:37:08] [ info] [cmetrics] version=0.9.1
[2024/07/05 16:37:08] [ info] [ctraces ] version=0.5.1
[2024/07/05 16:37:08] [ info] [input:tcp:tcp.0] initializing
[2024/07/05 16:37:08] [ info] [input:tcp:tcp.0] storage_strategy='memory' (memory only)
[2024/07/05 16:37:08] [ info] [sp] stream processor started
[2024/07/05 16:37:08] [ info] [output:stdout:stdout.0] worker #0 started
[2024/07/05 16:37:16] [error] [D:\a\fluent-bit\fluent-bit\src\flb_network.c:236 errno=0] No error
[2024/07/05 16:37:16] [error] [input:tcp:tcp.0] could not accept new connection
[2024/07/05 16:37:16] [error] [D:\a\fluent-bit\fluent-bit\src\flb_network.c:236 errno=0] No error
[2024/07/05 16:37:16] [error] [input:tcp:tcp.0] could not accept new connection
(and continues looping like this until I close it)

Have tried both Windows Server 2012 and 2022.

To Reproduce
Used the latest fluent-bit-3.0.7-win64.zip package and added the above configuration options to the fluent-bit.conf file. Started fluent-bit with fluent-bit.exe -c C:\fluent-bit-3.0.7-win64\conf\fluent-bit.conf. Don't even have to send any data, the moment a TCP socket connection is established it will go into the above loop.

Expected behavior
For FluentBit to accept TCP IPv6 connections just like IPv4 ones.

Copy link
Contributor

github-actions bot commented Oct 4, 2024

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

@github-actions github-actions bot added the Stale label Oct 4, 2024
@jomillerOpen
Copy link
Author

Issue should be fixed in linked pull request.

@github-actions github-actions bot removed the Stale label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant