Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Raw encrypted traffic issue

Open lime-green opened this issue 1 year ago • 4 comments

Description

I'm connecting to mongo and using Proxyman's SOCKS5 proxy to intercept the traffic. Proxyman recognizes the traffic as encrypted (correctly, although it says "This HTTPS response is encrypted", it's not https). If I press the button "Enable all domains from "python"" then further requests show:

The operation couldn’t be completed. (NIOCore.ChannelError error 0.) (code=0)

Additionally, after clicking the button my application can no longer connect to mongoDB so it's doing something incorrect to the request.

I'm not sure why the decryption step would fail here, but maybe something to do with assuming https protocol? If the protocol can't be determined then can it fallback just to showing the raw data?

Proxyman 5.9.0 MacOS Sonoma 14.5

lime-green avatar Sep 26 '24 16:09 lime-green

It's an error because Python doesn't accept self-signed certificates by default.

You should use the Automatic Setup (https://docs.proxyman.io/debug-devices/python) -> Start your Python script on this Terminal -> It will work 👍

I'm not sure if you can see MongoDB connection, because it's SSH connection, not a HTTP/HTTPS

NghiaTranUIT avatar Sep 26 '24 16:09 NghiaTranUIT

@NghiaTranUIT the error is coming from Proxyman. Python can connect fine I did the Automatic Setup. image

It shouldn't matter if it's HTTP/HTTPS, just show me the raw data

lime-green avatar Sep 26 '24 16:09 lime-green

If you use Automatic Setup, your Python script is already working under HTTP Proxy. No need to use the SOCKS Proxy anymore.

Can you turn off the SOCKS Proxy off and try again?

NghiaTranUIT avatar Sep 27 '24 01:09 NghiaTranUIT

@NghiaTranUIT raw socket traffic doesn't work under a HTTP proxy

lime-green avatar Sep 27 '24 13:09 lime-green