You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在微信支付 API 调用下单的时候,该配置被timeout的配置覆盖了,导致很容易出现cURL error 28: Resolving timed out after xxxx milliseconds,的问题,微信支付 API【api.mch.weixin.qq.com】对于 IPV6支持不太完整,导致解析时间会出现大延时,需要在强制使用 ipv4,去减缓问题
我用的环境
PHP 版本:7.1
overtrue/wechat 版本:3.3.16
是否使用了框架?框架名称:Laravel
微信支付 API 调用下单延时
在微信支付 API 调用下单的时候,该配置被timeout的配置覆盖了,导致很容易出现cURL error 28: Resolving timed out after xxxx milliseconds,的问题,微信支付 API【api.mch.weixin.qq.com】对于 IPV6支持不太完整,导致解析时间会出现大延时,需要在强制使用 ipv4,去减缓问题
EasyWeChat\Core\Http
EasyWeChat\Foundation\Application
Http::setDefaultOptions($this['config']->get('guzzle', ['timeout' => 5.0, '']));
The text was updated successfully, but these errors were encountered: