|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69603 php SoapClient hanging on outbound requests over ~4MB in size
Submitted: 2015-05-08 14:30 UTC Modified: 2015-05-08 14:42 UTC
Avg. Score:4.8 ± 0.4
Reproduced:5 of 5 (100.0%)
Same Version:5 (100.0%)
Same OS:5 (100.0%)
From: photchkiss at vu dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.5.24 OS: Windows/*nix
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: photchkiss at vu dot com
New email:
PHP Version: OS:


 [2015-05-08 14:30 UTC] photchkiss at vu dot com
I have a wcf service that I am calling from php. This service is used to upload files. I am running into an issue where the request succeeds if the request is smaller than 4MB, but as soon as the request body dips above ~4MB, the soap request hangs. It eventually responds when the remote host forcibly closes the connection and I receive an error saying "Error fetching HTTP headers". I have verified that I can curl the request and build my own SOAP envelope with no problems, so I believe this problem is specific to php's soap client. I have increased my php memory_limit, default_socket_timeout, and post_max_size, with no change in results. I am able to make 4MB+ soap requests using a variety of other technologies as well, but would like to be able to do so using php's native soap client. 

Please let me know if there are any further questions I can answer to provide more information. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-08 14:42 UTC] photchkiss at vu dot com
I also meant to say that I have the same issue on IIS w/PHP that I do on Redhat Linux. That is why the OS says Windows/*nix. 

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Jun 07 09:03:43 2023 UTC