Skip to content

Some mobile apps (e.g. YouTube) stop working when using mitmproxy – how to allow encrypted pass-through like Charles? #8075

@pinkal26022005

Description

@pinkal26022005

Hello mitmproxy team,

I’m using mitmproxy to capture network traffic for testing purposes.
I noticed that some mobile apps (for example YouTube and other Google apps) stop working when mitmproxy is enabled.

In Charles Proxy, these apps still work because the traffic is forwarded encrypted (no SSL decryption), so the app is not blocked even though APIs are not visible.

I understand this is related to SSL pinning and QUIC/HTTP3, and that decrypting this traffic is not possible.
My question is:

What is the recommended way in mitmproxy to automatically allow encrypted pass-through (tunnel mode) for such apps/domains, without breaking the app, similar to Charles’ behavior?

Any best practices, flags, or examples would be very helpful.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureNew features / enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions