Why an HTTPS proxy does not see an app's traffic

The proxy is set up and the certificate is installed, yet the app's requests are missing or die in the TLS handshake. Six scenarios, with a network-level diagram of each and what it looks like in the proxy.

1. The app ignores the proxy and connects directly

The app ignores the system proxy setting and reads a proxy only from environment variables or its own configuration, if at all:

  • Flutter: Dart's HttpClient ignores the system proxy; set one in findProxy in a debug build.
  • Java: ignores the system setting and HTTPS_PROXY; needs -Dhttps.proxyHost / -Dhttps.proxyPort or -Djava.net.useSystemProxies=true.
  • Node.js: built-in fetch and http ignore HTTP_PROXY without NODE_USE_ENV_PROXY=1 (Node 24+).
  • Go, Python requests, .NET, curl read HTTP_PROXY / HTTPS_PROXY; curl reads plain-HTTP proxy only from lowercase http_proxy.

On Linux, Solpuga's transparent mode redirects such apps to the proxy at the kernel level (see Settings).

Sequence diagram: the app sends TCP SYN and TLS ClientHello straight to the server, and the proxy takes no part in the connection

In the proxy: other apps' traffic, none from this one.

Solpuga filtered to httpbin.org lists one GET from Safari, while the Flutter demo app beside it got HTTP 200 without passing through the proxy

Only the request from Safari came through

2. The app uses the proxy but does not trust its certificate

Traffic reaches the proxy, but the TLS handshake fails. The proxy signs a leaf certificate for each host with its own root CA; the app accepts it only if that root is in the trust store the app consults:

Fix: put the root in the system store, or let the app trust the user store.

Sequence diagram: after CONNECT the proxy answers ClientHello with a certificate signed by its own root CA, the app replies with an unknown ca alert, and the handshake breaks off

Safari in the iOS simulator warns that the connection is not private, and Solpuga lists a CONNECT to httpbin.org:443 with the TLS error “tls handshake eof”

A connection attempt appears and immediately ends with a TLS error

3. SSL pinning aborts the TLS handshake

With SSL pinning the app, after the chain check, compares the server's public key (SPKI pin) or certificate (certificate pin) with a built-in value. The forged leaf carries the proxy's key, so the check fails even when the system trusts the proxy's root CA. See SSL pinning.

Sequence diagram: the certificate chain check passes, the SHA-256 SPKI pin check fails, and the app sends the proxy a pin mismatch alert

In the proxy: a short-lived connection with a TLS error, as in case 2, though the system trusts the certificate.

An Android pinning demo: the normal request gets HTTP 200, the pinned one fails with SSLPeerUnverifiedException, and Solpuga shows “Client closed the connection” for its CONNECT

Two requests to the same URL: one went through, the other failed with an error

4. The app uses its own TLS stack or certificate store

The app bundles its own TLS library (BoringSSL, OpenSSL, mbedTLS), its own CA list, or pins inside its own stack. The system trust store is not used. Firefox, for example, keeps its own store, and on Linux may need the root certificate imported in its settings.

Sequence diagram: the app’s own TLS stack checks the server certificate against its own CA store and pins, and the system trust store is not used

Here the certificate is installed, curl and Lynx get 200, Firefox fails:

Solpuga on Linux: requests from curl and lynx return 200, while the CONNECT from Firefox to httpbin.org:443 fails with “received fatal alert: BadCertificate”

It is the HTTPS request that failed

5. Parts of the app use different network stacks

Typical for large apps: the main API client respects the proxy; analytics, push, WebSockets, image loading and payment SDKs use other stacks and go direct.

Diagram: the app’s main HTTP client goes through the proxy, the analytics SDK and image loading connect directly, and WebSocket uses its own stack

6. The app uses a protocol the proxy does not handle

HTTP/2. A proxy that speaks only HTTP/1.1 offers only http/1.1 in ALPN. Most clients fall back to it; clients that require HTTP/2, such as gRPC, fail.

HTTP/3 / QUIC runs over UDP/443; debugging proxies listen on TCP. Browsers with a proxy configured use it over TCP. Apps with their own QUIC stack connect over UDP directly; with UDP/443 blocked they fall back to TCP.

Sequence diagram: the proxy listens only on TCP, the app completes a QUIC handshake with the server over UDP/443, and the proxy sees no traffic

The server advertises HTTP/3 in alt-svc, but the request went through the proxy over TCP:

Solpuga shows a Chrome request to quic.nginx.org over HTTP/1.1, and the raw response carries the header alt-svc: h3=":443"

The response is available over HTTP/3, but here we see HTTP/1.1

Conclusion

Missing traffic is not always a bug: it may follow from the app's network design or a limit of the tool.

View in Solpuga

Related