Skip to content

Cannot open mitmproxy UI via port forward in UI #9240

Closed
@MrPeacockNLB

Description

@MrPeacockNLB

Description

We want to inspect all workspace application traffic. I found mitmproxy would fit here perfectly. But it is not possible to access the mitmweb UI via port forward. Opening port of the web UI shows 404 not found.

image

Steps to reproduce

  • install mitmproxy
  • start mitmweb with mitmweb -p 8888 --web-port 4444 --mode reverse:http://127.0.0.1:8000
  • open UI on port 4444 via port forwarding
  • 404 shows up in the browser

Notes

  • accessing UI via curl http://localhost:4444 shows the html code from mitmweb
  • Opening the proxied app works as aspected
  • all traffic gets shown in the TUI of mitmproxy
  • not tested: port forwarding via CLI to localhost

Metadata

Metadata

Assignees

Labels

networkingArea: networkings2Broken use cases or features (with a workaround). Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions