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-Authorization header solves Proxy 407 #631

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarcosVillacanas
Copy link

HTTP Proxy authentication was failing with a 407 error code. After an in-depth review, we discovered that the header sending was incorrect since the Proxy-Authorization key was missing. This pull request aims to solve this issue by configuring the appropriate header for HttpProxyRequest whenever credentials are provided. Note that the code supports both NTLM and Basic authentication methods. This code fixes our problem due to the correct authentication process from the headers set.

HTTP Proxy authentication was failing with a 407 error code.
After an in-depth review, we discovered that the header sending was incorrect since the Proxy-Authorization key was missing.
This pull request aims to solve this issue by configuring the appropriate header for HttpProxyRequest whenever credentials are provided. Note that the code supports both NTLM and Basic authentication methods.
This code fixes our problem due to the correct authentication process from the headers set.
@chrjohn
Copy link
Member

chrjohn commented May 2, 2023

Hi @MarcosVillacanas , thanks for the PR 👍
However, I personally cannot validate if this change is OK (also see #596) so it will probably take some time unless someone with more proxy experience can validate it for me. ;)
BTW, are you able to give me a hand with #596 ? Basically it is about testing QFJ against the current MINA 2.2 release.
Thanks and cheers
Chris

@the-thing
Copy link
Contributor

Hi @MarcosVillacanas

Can you share the proxy software and version you are using? Thanks.

@chrjohn
Copy link
Member

chrjohn commented Dec 21, 2024

@slachiewicz thanks for the review. Can you confirm that this is working?

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

Successfully merging this pull request may close these issues.

4 participants