opendiffy / diffy

Other
1.25k stars 142 forks source link

Authorization from header not shared #72

Closed SebastianSolidwork closed 1 year ago

SebastianSolidwork commented 1 year ago

I need to do a Basic authorization to access the APIs, but all calls fail with Unauthorized. I have it at the header of the call of the proxy, but its not shared when Diffy calls the 3 instances. I see that in Wireshark. I tried the newest Jar 22.10.13.00 as well as the docker image. image

puneetkhanduri commented 1 year ago

Can you log the headers observed by primary, secondary, and candidate? I am curious if only the Authorization header is the only one getting dropped.

SebastianSolidwork commented 1 year ago

I have additional header data "Whatever: SomeContent". This is also dropped.

Sent to the proxy from me: image

Sent from the proxy to all 3 servers, just the port differs: image

puneetkhanduri commented 1 year ago

Thanks. Found the issue. Stay tuned for a fix.

puneetkhanduri commented 1 year ago

The latest release fixes the problem. Please confirm this works for you. We will be updating our docker image shortly.

SebastianSolidwork commented 1 year ago

It works! Thanks

puneetkhanduri commented 1 year ago

Awesome!