proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

curl: (52) Empty reply from server

Open omaidb opened this issue 2 years ago • 4 comments

[master1 root ~/code/proxychains-ng]# proxychains4 curl ip.cn
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading ./libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-1-g07c15a0
[proxychains] Strict chain  ...  127.0.0.1:1080  ...  ip.cn:80  ...  OK
curl: (52) Empty reply from server

omaidb avatar Feb 21 '22 12:02 omaidb

[master1 root /opt/trojan]# proxychains4 curl cip.cc
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-1-g07c15a0
[proxychains] Strict chain  ...  127.0.0.1:1080  ...  127.0.0.1:1080  ...  OK
curl: (7) Unable to receive initial SOCKS5 response.

omaidb avatar Feb 21 '22 13:02 omaidb

Linux版本会提示握手失败,证书错误,Windows版不会

SSL handshake failed with xxx.com:443: certificate verify failed

omaidb avatar Feb 21 '22 14:02 omaidb

[master1 root /opt/trojan]# proxychains4 curl cip.cc
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-1-g07c15a0
[proxychains] Strict chain  ...  127.0.0.1:1080  ...  127.0.0.1:1080  ...  OK
curl: (7) Unable to receive initial SOCKS5 response.
[master1 root ~/code/proxychains-ng]# proxychains4 curl ip.cn
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading ./libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-1-g07c15a0
[proxychains] Strict chain  ...  127.0.0.1:1080  ...  ip.cn:80  ...  OK
curl: (52) Empty reply from server

I had the same problem,how did you solve it

XuYuQuan0713 avatar Sep 28 '22 05:09 XuYuQuan0713

curl: (7) Unable to receive initial SOCKS5 response.

suggests that OP configured curl to use a socks proxy, and then used proxychains-ng as well. it's either-or.

rofl0r avatar Sep 28 '22 09:09 rofl0r