Uncaught SwlibHttpExceptionConnectException:Connect timeout! the server is not listening on the port or the network is missing! #22
代码是这样的:
SaberGM::psr([
'uri' => 'https://httpbin.org/ip',
'ssl_verify_peer' => true,
'ssl_host_name' => 'httpbin.org',
'proxy'=>'http://192.162.133.40:47163',
])->withCAFile()->getProxy();
添加 IP 代理 会有上述抛错 , 主要原因还是 IP 代理机 限制了连接的频率 导致的, 解决方案 也就是 控制访问频率 或者增加IP代理 放开频率限制