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

NO_PROXY #26

Closed
kpirkl opened this issue Mar 29, 2024 · 1 comment
Closed

NO_PROXY #26

kpirkl opened this issue Mar 29, 2024 · 1 comment

Comments

@kpirkl
Copy link

kpirkl commented Mar 29, 2024

You might want to add a note to the readme for others that sit behind a firewall that are experiencing the challenge of Proxy Service. HTTPClient under the covers supports the environment variable NO_PROXY

Adding this to my code gets it working otherwise it's very difficult to diagnose.
System.Environment.SetEnvironmentVariable("NO_PROXY", "localhost");

You can close this issue.. I just wanted to share it with you as I struggled for an hour this morning trying to determine why the code did not work from my office.

@awaescher
Copy link
Owner

Thanks for clarifying this. However I guess this is the default behavior of the .NET HttpClient, so I think think I'll add this explicitly to the readme.

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

No branches or pull requests

2 participants