-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Proxy authentication (username, password) #12
Comments
Do one of these: In the URIvar proxy = new HttpsProxyAgent('https://username:password@your-proxy.com'); Set the
|
thanks ! |
Hi, there. |
Yes please, add this to the readme/docs @TooTallNate :) |
👍 worth mentioning, assumed the options listed would be exhaustive, so had to come digging here to confirm auth works. |
Bump :) Would be great on the readme |
…t options (#86807) ## Summary A user received a `407` response when using a `registryProxyUrl` format like `http://user:pass@host:port` I believe the issue is we're not including the [`auth` property as described in this issue](TooTallNate/proxy-agents#12 (comment)). Add tests to ensure it only adds `auth` if username & password are given. ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ``` getProxyAgentOptions auth property present & correct if given username and password ✓ proxy url is http (1 ms) ✓ proxy url is https missing if not given username and password ✓ proxy url is http ✓ proxy url is https ```
…t options (#86807) (#89071) ## Summary A user received a `407` response when using a `registryProxyUrl` format like `http://user:pass@host:port` I believe the issue is we're not including the [`auth` property as described in this issue](TooTallNate/proxy-agents#12 (comment)). Add tests to ensure it only adds `auth` if username & password are given. ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ``` getProxyAgentOptions auth property present & correct if given username and password ✓ proxy url is http (1 ms) ✓ proxy url is https missing if not given username and password ✓ proxy url is http ✓ proxy url is https ``` Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
How to make it that it could use a txt file. |
It would be nice to have this information in the readme. It would be easier to search for |
The header is called Proxy-Authorization not Proxy-Authentication. |
Hi, in my company and using HttpsProxyAgent library, only the first one is working properly, aka, URI, the 2 others failed to authenticate. |
I am getting an openssl error, but not sure if it is due to my proxy service provider, smartproxy: Error in audio stream for JdUVIwuNy_c: [Error: C037E8F4D43E0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:358: |
Hello,
Is the proxy authentication implemented ? Cannot find it, e.g.a proxy requires username and password else status 407 will be returned...
I would be appreciated for any help,
David
The text was updated successfully, but these errors were encountered: