#41534 [Asn]: SoapClient over HTTPS fails to reestablish connection

From: Date: Tue, 29 May 2007 23:24:57 +0000
Subject: #41534 [Asn]: SoapClient over HTTPS fails to reestablish connection
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113176@lists.php.net to get a copy of this message
ID: 41534 User updated by: vladimir3 at gmail dot com -Summary: SoapClient over HTTPS fails restablished connection Reported By: vladimir3 at gmail dot com Status: Assigned Bug Type: Feature/Change Request Operating System: Fedore Core release 3 PHP Version: 5.2.2 Assigned To: dmitry New Comment: By the way, I've tried setting user_agent in SoapClient contractor but that does not help. Previous Comments: ------------------------------------------------------------------------ [2007-05-29 22:17:32] vladimir3 at gmail dot com Description: ------------ In my code i create SoapClient object and then re-use the same object. That is, my code makes a couple of soap calls over HTTPS every 60 seconds or so. The first call always fails with "Error Fetching http headers" while second one goes through. I ran tcpdump and noticed that remote server sends FIN after about 58seconds. But SoapClient fails to reestablish it, instead it tries to send more data and gets a RST (reset) from the server. The only way to get around this problem is to re-create an object. I am wondering if SoapClient can be fixed so that it re-establishes SSL connections if connection no longer exists. Or can you expose a method which will allow me to check if connection is still alive. Expected result: ---------------- I expect SoapClient to reestablish connection if current ssl connection is dead ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41534&edit=1

« previous php.bugs (#113176) next »