【问题标题】:Error Fetching http headers SOAP Client获取 http 标头 SOAP 客户端时出错
【发布时间】:2016-10-17 07:53:46
【问题描述】:

我正在使用 SOAP 客户端在 Magento (PHP) 中下订单并在访问该 Web 服务时获取 HTTP 标头时出错。

当我重新启动 httpd 时,错误消失了,我可以一次又一次地下订单

我尝试了什么

default_socket_timeout : 120

SOAP CLIENT 的代码片段

$cli = new SoapClient($api_url_v2,
                           array(
                                'trace' =>true,
                                'connection_timeout' => 500000,
                                'keep_alive' => false,
                            )
 );

查了一下httpd日志,发现如下

[Mon Oct 17 01:50:24 2016] [error] [client 127.0.0.1] client denied by server configuration: /var/www/html/store/app/etc/local.xml
[Mon Oct 17 01:53:53 2016] [notice] child pid 28113 exit signal Segmentation fault (11)
[Mon Oct 17 01:57:52 2016] [notice] child pid 29400 exit signal Segmentation fault (11)
[Mon Oct 17 02:01:14 2016] [notice] child pid 29401 exit signal Segmentation fault (11)
[Mon Oct 17 02:02:50 2016] [notice] child pid 29398 exit signal Segmentation fault (11)
[Mon Oct 17 02:05:38 2016] [error] [client 127.0.0.1] client denied by server configuration: /var/www/html/store/app/etc/local.xml
[Mon Oct 17 02:06:40 2016] [notice] child pid 28180 exit signal Segmentation fault (11)

如果我可以提供任何其他信息来追踪这一点,请告诉我。

SOAP 跟踪没有为我显示任何内容。这个问题只出在这个网络服务上,我的肥皂客户端和其他人一起工作得很好。

【问题讨论】:

    标签: php apache soap


    【解决方案1】:

    尝试编辑 php.ini 文件 soap.wsdl_cache_enabled=1 并将其更改为 soap.wsdl_cache_enabled=0

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-09-24
      • 2015-10-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多