Skip to content

Proxy-Authorization header solves Proxy 407#631

Closed
MarcosVillacanas wants to merge 1 commit into
quickfix-j:masterfrom
MarcosVillacanas:master
Closed

Proxy-Authorization header solves Proxy 407#631
MarcosVillacanas wants to merge 1 commit into
quickfix-j:masterfrom
MarcosVillacanas:master

Conversation

@MarcosVillacanas

Copy link
Copy Markdown

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

chrjohn commented May 2, 2023

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

Hi @MarcosVillacanas

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

@chrjohn

chrjohn commented Dec 21, 2024

Copy link
Copy Markdown
Member

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

@chrismmilburn

Copy link
Copy Markdown

I have tested this and it works (basic authentication).

@chrjohn

chrjohn commented Feb 12, 2026

Copy link
Copy Markdown
Member

Superseded by #1136

@chrjohn chrjohn closed this Feb 12, 2026
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.

5 participants