Error fetching http headers in SoapClient

前端 未结 15 1080
抹茶落季
抹茶落季 2020-12-08 18:50

I\'m trying to invoke a WS over https on a remote host:remote port and I get:

Error fetching http headers

using the PHP5 SoapCli

15条回答
  •  星月不相逢
    2020-12-08 19:23

    In recent releases from Zend SOAP client not having "connection_timeout" and "Keep_alive" parameters at all.

    You can see the piece of code I have attached as an image. The only way to solve this issue to increase your default socket timeout in php.ini

    default_socket_timeout = 1000
    

    I hope it will solve your issue. Give an upvote if it works.

提交回复
热议问题