Skip to content

Proxy到Server的请求走三方代理怎么配置 || How to configure the request from Proxy to Server #311

Description

@jlj089742

因为部署proxyee的ip被目标Server(HTTPS)封禁,我需要使用三方SOCKS5代理伪装我的Proxyee服务ip。
我尝试使用了.proxyConfig(new ProxyConfig(ProxyType.SOCKS5, "127.0.0.1", 1085))进行配置,从结果看我所需要的不是前置代理。请问该如何配置?
异常结果如下:
An exception 'java.lang.Exception: io.netty.handler.codec.DecoderException: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 485454502f312e312034303320466f7262696464656e200a436f6e74656e742d547970653a20746578742f706c61696e3b20636861727365743d7574662d380a50726f78792d41757468656e7469636174653a204261736963207265616c6d3d22697069646561220a0a6572726f724d73673a206164647265737320666f7262696464656e2c616464726573733d3637636f636f2e636f6d3a343433' [enable DEBUG level for full stacktrace] was thrown by a user handler's exceptionCaught() method while handling the following exception:
io.netty.handler.codec.DecoderException: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 485454502f312e312034303320466f7262696464656e200a436f6e74656e742d547970653a20746578742f706c61696e3b20636861727365743d7574662d380a50726f78792d41757468656e7469636174653a204261736963207265616c6d3d22697069646561220a0a6572726f724d73673a206164647265737320666f7262696464656e2c616464726573733d3637636f636f2e636f6d3a343433


Because the IP deploying proxyee is blocked by the target Server (HTTPS), I need to use a three-party SOCKS5 proxy to disguise my Proxyee service IP.
I tried to configure it using .proxyConfig(new ProxyConfig(ProxyType.SOCKS5, "127.0.0.1", 1085)) and from the result, what I need is not a pre-proxy. How to configure it?
The abnormal results are as follows:
An exception 'java.lang.Exception: io.netty.handler.codec.DecoderException: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 485454502f312e312034303320466f7262696464656e200a436f6e74656e742d547970653a20746578742f706c61696e3b20636861727365743d7574662d380a50726f78792d41757468656e7469 636174653a204261736963207265616c6d3d22697069646561220a0a6572726f724d73673a206164647265737320666f7262696464656e2c616464726573733d3637636f636f2e636f6d3a343433' [enable DEBUG level for full stacktrace] was thrown by a user handler's exceptionCaught() method while handling the following exception:
io.netty.handler.codec.DecoderException: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 485454502f312e312034303320466f7262696464656e200a436f6e74656e742d547970653a20746578742f706c61696e3b20636861727365743d7574662d380a50726f78792d41757468656e7469636174653a20426 1736963207265616c6d3d22697069646561220a0a6572726f724d73673a206164647265737320666f7262696464656e2c616464726573733d3637636f636f2e636f6d3a343433

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions