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

Windows: No_Proxy list is not being honoured #9502

Open
cbotha opened this issue Oct 18, 2024 · 0 comments
Open

Windows: No_Proxy list is not being honoured #9502

cbotha opened this issue Oct 18, 2024 · 0 comments

Comments

@cbotha
Copy link

cbotha commented Oct 18, 2024

Bug Report

Describe the bug
In Windows the agent ignores the NO-PROXY list environmental variable and keeps on defaulting to a connection via the proxy server.

We're using ElasticSearch output but the error can be produced with HTTP output as well.

To Reproduce

$env:NO_PROXY = 'company_server.local' & "C:\Program Files\fluent-bit\bin\fluent-bit.exe" -c "C:\Program Files\fluent-bit\conf\fluent-bit.conf"
Fluent Bit v3.1.9
* Copyright (C) 2015-2024 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io

______ _                  _    ______ _ _           _____  __
|  ___| |                | |   | ___ (_) |         |____ |/  |
| |_  | |_   _  ___ _ __ | |_  | |_/ /_| |_  __   __   / /`| |
|  _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / /   \ \ | |
| |   | | |_| |  __/ | | | |_  | |_/ / | |_   \ V /.___/ /_| |_
\_|   |_|\__,_|\___|_| |_|\__| \____/|_|\__|   \_/ \____(_)___/

[2024/10/18 09:28:58] [ info] [fluent bit] version=3.1.9, commit=431fa79ae2, pid=3596
[2024/10/18 09:28:58] [ info] [storage] ver=1.5.2, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2024/10/18 09:28:58] [ info] [cmetrics] version=0.9.6
[2024/10/18 09:28:58] [ info] [ctraces ] version=0.5.6
[2024/10/18 09:28:58] [ info] [input:winevtlog:winevtlog.0] initializing
[2024/10/18 09:28:58] [ info] [input:winevtlog:winevtlog.0] storage_strategy='memory' (memory only)
[2024/10/18 09:28:58] [ info] [sp] stream processor started
[2024/10/18 09:28:58] [ info] [output:tcp:tcp.0] worker #0 started
[2024/10/18 09:28:58] [ info] [output:tcp:tcp.0] worker #1 started
[2024/10/18 09:29:00] [error] flb_establish_proxy error: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta type="copyright" content="Copyright (C) 1996-2016 The Squid Software Foundation and contributors">

Expected behavior
Agent should connect and skip using the proxy

Your Environment
Version used: v3.1.9
Configuration:
Operating System and version: Windows Server 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant