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

httpauth is not attached to replay request #6836

Open
ryanisn opened this issue May 6, 2024 · 0 comments
Open

httpauth is not attached to replay request #6836

ryanisn opened this issue May 6, 2024 · 0 comments
Labels
kind/triage Unclassified issues

Comments

@ryanisn
Copy link

ryanisn commented May 6, 2024

Problem Description

I set mitmproxy to run in reverse mode as a proxy to real server, and then protect mitmproxy with a pair of user:pass in the proxyauth option. A regular request would go through, but a reply of that same request would return 401 Unauthorized

Steps to reproduce the behavior:

  1. turn on reverse mode in mitmweb
  2. set basic auth in proxyauth in 'username:pass' format
  3. initiate a success request
  4. replay the request

System Information

Mitmproxy: 10.1.5
Python: 3.11.6
OpenSSL: OpenSSL 3.1.4 24 Oct 2023
Platform: Linux-4.14.276-211.499.amzn2.x86_64-x86_64-with-glibc2.31

@ryanisn ryanisn added the kind/triage Unclassified issues label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/triage Unclassified issues
Projects
None yet
Development

No branches or pull requests

1 participant