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

Proxy Error : connect to the server failed with status 407 Proxy Authentication Required #941

Open
tchandra415 opened this issue Oct 15, 2020 · 2 comments
Labels

Comments

@tchandra415
Copy link

Bug report

Trying to access the WSDL by using the proxy with credentials.
Note: here, the password contains a special letter(#) like "Savon#1234"

tried with below
1.
Savon.client(
wsdl: SERVICE_WSDL,
pretty_print_xml: true,
log: true,
logger: Logger.new(STDOUT),
log_level: :debug,
strip_namespaces: false,
convert_request_keys_to: :none,
proxy: "http://username:password@proxy_host:portnumber",
use_wsa_headers: true
)
2. Adding headers
**secret = Base64.strict_encode64("proxyusername:password")**
**headers: { "Proxy-Authorization" => "Basic #{secret}" }**
tried 2 ways.. but not able to access the services.

Current behavior:
Error:
Connect to the server failed with status 407 Proxy Authentication Required

Steps to reproduce current behavior:

Expected behavior:

System information:

  • ruby version: ruby 2.5.5p157
  • savon version: savon (2.12.0)
@stale
Copy link

stale bot commented Dec 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 19, 2020
@stale stale bot removed the stale label Jun 30, 2021
@stale
Copy link

stale bot commented Jan 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant