Error fetching http headers in SoapClient

前端 未结 15 1021
抹茶落季
抹茶落季 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:27

    Another possible cause of this error could be some OpenSSL operations leaving not cleared errors. Put this piece of code before the SOAP request to clear them:

    while (openssl_error_string()) {}
    

提交回复
热议问题