CURL ERROR:28 ::操作在0毫秒后超时,0字节收到0字节在Authorise.Net支付中打开购物车

时间:2017-08-24 06:48:57

标签: authorize.net opencart2.3

我只在实时模式下收到此错误。当我将实时模式转为测试时,它工作正常。我也试图改变 curl_setopt($ curl,CURLOPT_TIMEOUT,10); to curl_setopt($ curl,CURLOPT_TIMEOUT,100); 但仍然无法正常工作。

1 个答案:

答案 0 :(得分:0)

我的解决方案是更改服务器设置。在/etc/resolv.conf中添加了这些行:

options timeout:1
options single-request

详细说明:http://www.math.tamu.edu/~comech/tools/linux-slow-dns-lookup/