title: mitmproxy Client and Server disconnects whenever a specific app tries to use internet connection
body: <p>I have an app on my Android phone I try to debug, but whenever I enable PcapDroid to send the TLS decrypted requests and responses to my PC, it won't allow any internet access in the app. I get no error messages in mitmproxy.</p>
  <p>The only output is:</p>
  <pre><code>info: 192.168.xx.xxx:33396: client disconnect
  info: 192.168.xx.xxx:43544: server disconnect xxx.xxx.xxx.xxx:443
  </code></pre>
  <p>and once in a while this is seen in the logs:</p>
  <pre><code>warn: 192.168.xx.xxx:43544: Client TLS handshake failed. The client may not trust the proxy's certificate for api.example.com (OpenSSL Error([('SSL routines', 'ssl3_read_bytes', 'sslv3 alert certificate unknown')]))
  </code></pre>
  <p>This is the only request that is reporting it's failed TLS handshake. I know this request is something unimportant, so I wonder why none of the other more important requests aren't reporting anything.</p>
  <p>Other apps are sending data fine.</p>
  <p>Why is this app not allowing any internet connection? I have patched it with apk-mitm, as I do with all my other apps, to allow for inspection.</p>