This is a somewhat silly situation, we have this third party application that stopped working on our work devices, its pretty obvious that some request is failing under the hood, so I set up a HTTPS sniffer on my desktop as a proxy.
But then, everything works flawlessly once I set the proxy on my device... Now I don't know how to properly debug this.
I'm using CharlesProxy for Windows, I've tried mitmproxy but the problematic application wasn't accepting the mitm certificate.
What can I try here? Is there any way I can sniff the HTTPS traffic from inside the phone? Like an app? Its a very weird error that seems to be solved be having a certificate and a proxy(?), but I need to sniff the request somehow because the application is not giving me any messages.
I can't use an emulator as this is a device specific issue. The error does not comes up in emulation.
The device I'm using is a Galaxy Tab A Android 5.11