ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.35k stars 177 forks source link

Cannot capture WSS from android emulator #1991

Open jadx2 opened 2 months ago

jadx2 commented 2 months ago

Description

I am using HiveMQ as my apps mqtt client. I've connected my android emulator to Proxyman. But it is not capturing the WSS transactions, just the API ones to HTTPS. Is something missing on my config? I have the domain in the SSL enable list

NghiaTranUIT commented 2 months ago

From what I see, MQTT isn't really a web socket, it's working under a TCP connection. As a result, Proxyman can't capture it since Proxyman only support HTTP/HTTPS/WS/WSS.

If you don't see any traffic, it means HiveMQ doesn't respect the system proxy -> This data goes straight to the Internet.

Can you give this tutorial a try? https://docs.hivemq.com/hivemq/latest/user-guide/proxy-protocol.html

By setting Proxy and Port to Proxyman (IP = 127.0.0.1, Port=9090) and see if it works?