FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185788&th=123507#msg_185788
Mark the FIN flag in the third packet, to which our HAProxy server reacts with three ReSeTs. The post never reaches the destination, which is understandable.
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://facade.dao.??????.??????.be/"><SOAP-ENV:Body><ns1:saveJob ><arg0><path>/regio/jobs</path><application>JOBCV</application><userIdentifier >14069</userIdentifier><impersonatorIdentifier/><language>nl</language ><site>JOBVLAN</site></arg0><arg1><totalCount>true</totalCount><applications >false</applications><basics>true</basics><company>false</company><contact >false</contact>
snip loads of XML
snip loads of XML
snip loads of XML
<descriptions><name>remunerationDescription</name><value>test</value> </descriptions><educations><educationCode>F</educationCode></educations ><experience>N</experience><externalJobCode>test</externalJobCode><functionCategories ><functionCategory>0100</functionCategory></functionCategories><functionTy
php-soap.x86_64 5.4.21-2.el6.remi @remi]]>ghpille2014-05-09T14:24:32-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185789&th=123507#msg_185789
ghpille@gmail.com <ghpille@gmail.com> wrote:
> We have a problem with a specific soap request to one of our webservices,
> and my impression is that PHP is misbehaving on the TCP level. I'll show
> you a tcpdump of such session. Can anyone tell me what could be the
> reason for PHP to behave in this way, unless we've stumbled on a bug?
> [snip]
The PHP binary doesn't assemble TCP packets itself. I think it's a
problem with either the host machine's TCP stack or some firewall
between you and the SOAP server.
--
Blah blah bleh...
GCS/CM d(-)@>-- s+:- !a C++$ UBL++++$ L+$ W+++$ w M++ Y++ b++]]>Salvatore2014-05-09T14:27:22-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185819&th=123507#msg_185819
> On 2014-05-09, ghp....@gmail.com <ghp....@gmail.com> wrote:
>
>> We have a problem with a specific soap request to one of our webservices,
>
>> and my impression is that PHP is misbehaving on the TCP level. I'll show
>
>> you a tcpdump of such session. Can anyone tell me what could be the
>
>> reason for PHP to behave in this way, unless we've stumbled on a bug?
>
>> [snip]
>
>
>
> The PHP binary doesn't assemble TCP packets itself. I think it's a
>
> problem with either the host machine's TCP stack or some firewall
>
> between you and the SOAP server.
>
>
>
There's nothing in between those two machines, but I'll doublecheck. I hope you're right, it gives me somewhere else to check for known bugs, I couldn't find any like this in connection with php-soap.]]>ghpille2014-05-10T18:16:30-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185820&th=123507#msg_185820
ghpille@gmail.com wrote:
> Op vrijdag 9 mei 2014 16:27:22 UTC+2 schreef Salvatore:
>> On 2014-05-09, ghp....@gmail.com <ghp....@gmail.com> wrote:
>>
>>> We have a problem with a specific soap request to one of our webservices,
>>
>>> and my impression is that PHP is misbehaving on the TCP level. I'll show
>>
>>> you a tcpdump of such session. Can anyone tell me what could be the
>>
>>> reason for PHP to behave in this way, unless we've stumbled on a bug?
>>
>>> [snip]
>>
>>
>>
>> The PHP binary doesn't assemble TCP packets itself. I think it's a
>>
>> problem with either the host machine's TCP stack or some firewall
>>
>> between you and the SOAP server.
>>
>>
>>
>
> There's nothing in between those two machines, but I'll doublecheck. I hope you're right, it gives me somewhere else to check for known bugs, I couldn't find any like this in connection with php-soap.
>
There is a LOT between the client and the server scripts. PHP is only a
small part of it.
Salvatore is correct - PHP has nothing to do with the PHP packets
itself. And I would be willing to bet the problem is NOT in your TCP/IP
stack - such a problem wouldn't show up only on your machine with this
particular SOAP request.
My bet is you're assembling the SOAP requests incorrectly. Another
option would be your SOAP client isn't decoding them properly.
--
==================
Remove the "x" from my email address
Jerry Stuckle jstucklex@attglobal.net
==================]]>Jerry Stuckle2014-05-10T20:14:18-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185821&th=123507#msg_185821
>
> There is a LOT between the client and the server scripts. PHP is only a
>
> small part of it.
>
>
>
> Salvatore is correct - PHP has nothing to do with the PHP packets
>
> itself. And I would be willing to bet the problem is NOT in your TCP/IP
>
> stack - such a problem wouldn't show up only on your machine with this
>
> particular SOAP request.
>
>
>
> My bet is you're assembling the SOAP requests incorrectly. Another
>
> option would be your SOAP client isn't decoding them properly.
>
>
>
> --
The soap request is "assembled" by Symfony2, if I'm not mistaken.
Suppose something is wrong with the soap-envelope. How could that make TCP misbehave?
I ran tcpdump on the soap-client-machine. It is on that machine that the fin flag in the third packet was set.
I'll concentrate on the TCP stack. Where do I start? vmxnet3?]]>ghpille2014-05-11T11:20:20-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185822&th=123507#msg_185822
Could vmxnet3 be involved? Or should I look further up (or down?) the stack?
# modinfo vmxnet3
filename: /lib/modules/2.6.32-358.2.1.el6.x86_64/kernel/drivers/net/vmxnet3/vmxnet3.k o
version: 1.1.29.0-k
license: GPL v2
description: VMware vmxnet3 virtual NIC driver
author: VMware, Inc.
srcversion: 300574F157A2E481CA33E17
alias: pci:v000015ADd000007B0sv*sd*bc*sc*i*
depends:
vermagic: 2.6.32-358.2.1.el6.x86_64 SMP mod_unload modversions]]>ghpille2014-05-11T11:28:05-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185826&th=123507#msg_185826
ghpille@gmail.com wrote:
>
>>
>> There is a LOT between the client and the server scripts. PHP is only a
>>
>> small part of it.
>>
>>
>>
>> Salvatore is correct - PHP has nothing to do with the PHP packets
>>
>> itself. And I would be willing to bet the problem is NOT in your TCP/IP
>>
>> stack - such a problem wouldn't show up only on your machine with this
>>
>> particular SOAP request.
>>
>>
>>
>> My bet is you're assembling the SOAP requests incorrectly. Another
>>
>> option would be your SOAP client isn't decoding them properly.
>>
>>
>>
>> --
>
> The soap request is "assembled" by Symfony2, if I'm not mistaken.
>
> Suppose something is wrong with the soap-envelope. How could that make TCP misbehave?
>
> I ran tcpdump on the soap-client-machine. It is on that machine that the fin flag in the third packet was set.
>
> I'll concentrate on the TCP stack. Where do I start? vmxnet3?
>
Start by debugging your problem and determining the failing component.
PHP has NOTHING to do with the format of a TCP/IP packet.
Once you've determined the failing component, ask in a forum or
newsgroup appropriate to the failure.
If you are unable to do that, I would suggest hiring a consultant to
assist you (and no, I am not available).
--
==================
Remove the "x" from my email address
Jerry Stuckle jstucklex@attglobal.net
==================]]>Jerry Stuckle2014-05-11T12:22:47-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185827&th=123507#msg_185827
ghpille@gmail.com wrote:
> Op vrijdag 9 mei 2014 16:24:32 UTC+2 schreef ghp...@gmail.com:
>
> Could vmxnet3 be involved? Or should I look further up (or down?) the stack?
>
> # modinfo vmxnet3
> filename: /lib/modules/2.6.32-358.2.1.el6.x86_64/kernel/drivers/net/vmxnet3/vmxnet3.k o
> version: 1.1.29.0-k
> license: GPL v2
> description: VMware vmxnet3 virtual NIC driver
> author: VMware, Inc.
> srcversion: 300574F157A2E481CA33E17
> alias: pci:v000015ADd000007B0sv*sd*bc*sc*i*
> depends:
> vermagic: 2.6.32-358.2.1.el6.x86_64 SMP mod_unload modversions
>
Ask in an appropriate place. This is a PHP group (hence the "PHP" in
its name).
--
==================
Remove the "x" from my email address
Jerry Stuckle jstucklex@attglobal.net
==================]]>Jerry Stuckle2014-05-11T12:23:44-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185837&th=123507#msg_185837
>
>
>
> If you are unable to do that, I would suggest hiring a consultant to
>
> assist you (and no, I am not available).
>
Why on earth would one hire a consultant while one can get such valuable advice as yours for free in the newsgroups?]]>ghpille2014-05-12T06:48:38-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185841&th=123507#msg_185841
ghpille@gmail.com wrote:
> Op zondag 11 mei 2014 14:22:47 UTC+2 schreef Jerry Stuckle:
>>
>>
>>
>> If you are unable to do that, I would suggest hiring a consultant to
>>
>> assist you (and no, I am not available).
>>
>
> Why on earth would one hire a consultant while one can get such valuable advice as yours for free in the newsgroups?
>
So you have someone who knows what they're doing. You obviously have no
clue.
--
==================
Remove the "x" from my email address
Jerry Stuckle jstucklex@attglobal.net
==================]]>Jerry Stuckle2014-05-12T12:10:37-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185906&th=123507#msg_185906
> We have a problem with a specific soap request to one of our webservices, and my impression is that PHP is misbehaving on the TCP level. I'll show you a tcpdump of such session. Can anyone tell me what could be the reason for PHP to behave in this way, unless we've stumbled on a bug?
>
>
>
> Mark the FIN flag in the third packet, to which our HAProxy server reacts with three ReSeTs. The post never reaches the destination, which is understandable.
It turns out that the SoapClient is sending data on a half-closed connection. The server had earlier sent a FIN packet, that had been ACKnowledged by the client.
Now, from a TCP point of view, it is permissible to send data with of before your own FINish.
But POSTing something to which you're expecting a reply, on a half-closed connection?]]>ghpille2014-05-14T09:27:10-00:00Re: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=185984&th=123507#msg_185984
https://bugs.php.net/bug.php?id=67292]]>ghpille2014-05-19T19:58:09-00:00