hiamitbhardwaj / sfdc-web2anything

Automatically exported from code.google.com/p/sfdc-web2anything
0 stars 0 forks source link

HTTP Error: cURL ERROR: 18 #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What Salesforce.com Edition are you on? Enterprise

What PHP version are you running? 5.2.6-1+lenny2

What steps will reproduce the problem?
1. Create a Web2Contact form
2. Implement on website
3. Fill out information, click Submit

What is the expected output? What do you see instead?
Expect to be forwarded to return URL.

Instead receive error "ERROR creating the record"

No $create_record is passed back out all (even though SF object is created)

Traced error back to a "nusoapclient: Error: HTTP Error: cURL ERROR: 18: 
transfer closed with 
outstanding read data remaining" error

Please provide any additional information below.
This error doesn't constantly happen.  Perhaps one time out of ten the 
information will actually 
go through (like I said, though, regardless, the SF object is created).  The 
error came up out of 
nowhere, and the build date for our server's current PHP configuration is back 
in January, when 
we weren't getting this error at all.

I don't know SOAP all that well, but I did save the entire "$this" variable in 
salesforce.php, just so 
that I could trace it.  Here is the trace of when the error came up:

2009-03-24 11:50:27.062763 nusoapclient: In serializeEnvelope, serialzied array 
of headers to 
XXX
2009-03-24 11:50:27.062894 nusoapclient: endpoint=https://na6-
api.salesforce.com/services/Soap/u/14.0/XXX, soapAction=, namespace=, 
style=document, 
use=literal, encodingStyle=
2009-03-24 11:50:27.062966 nusoapclient: SOAP message length=1139 contents (max 
1000 
bytes)=XXX
url: https://na6-api.salesforce.com:443/services/Soap/u/14.0/XXX
content_type: text/xml; charset=utf-8
http_code: 200
header_size: 224
request_size: 238
filetime: -1
ssl_verify_result: 0
redirect_count: 0
total_time: 0.745982
namelookup_time: 0.004169
connect_time: 0.058013
pretransfer_time: 0.190325
size_upload: 1139
size_download: 0
speed_download: 0
speed_upload: 1526
download_content_length: 0
upload_content_length: 1139
starttransfer_time: 0.249988
redirect_time: 0

2009-03-24 11:50:27.812228 soap_transport_http: end of send()
2009-03-24 11:50:27.812487 nusoapclient: Error: HTTP Error: cURL ERROR: 18: 
transfer closed 
with outstanding read data remaining

Any thoughts?  I implemented a workaround, where I eliminate the 
"$create_record[ 'success' ] 
== 'true'" check in w2s_engine.php, but I would rather find the root of the 
issue.

Please tell me if you need any more information from me on this error.

Thanks!

Original issue reported on code.google.com by jlh...@gmail.com on 24 Mar 2009 at 7:14

GoogleCodeExporter commented 8 years ago
Hi, sorry for the late reply, this is a nasty one, not sure yet if the issue is 
with
the server or the nusoap script. Will try to investigate this further and 
update you
then.

A

Original comment by phofferb...@gmail.com on 29 Apr 2009 at 5:53

GoogleCodeExporter commented 8 years ago

Original comment by phofferb...@gmail.com on 29 Apr 2009 at 5:53