Answer the question
In order to leave comments, you need to log in
How to fix cUrl error when using https proxy?
Hello.
When trying to connect to a proxy from php using cUrl (latest version) I get the following error:
Network: CURL error 35: SSL received a record that exceeded the maximum permissible length. (see http://curl.haxx.se/libcurl/c/libcurl-errors.html).
server {
listen 176.57.xxx.xxx:80 default;
listen 176.57.220.xxx:443 ssl;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name _;
#access_log /var/log/nginx/176.57.xxx.xxx.log main;
location / {
proxy_pass http://176.57.xxx.xxx:8080;
}
}
server {
listen 176.57.xxx.xxx:80;
listen 176.57.xxx.xxx:443 ssl;
listen 443 ssl;
server_name moviecamp.ru;
location / {
proxy_pass http://176.57.xxx.xxx:3000;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question