Hi,
I am using the HTTPService to send POST data to a PHP page in a widely
distributed application. To catch HTTP errors with the "fault" parameter, I am
assigning a method that takes a FaultEvent as its argument. (this is all
standard).
That fault method writes to a file any time it is entered so as to log the
error. I should also note that I have about 10 of these HTTPServices with
corresponding result and fault methods.
I am noticing in the log file that only one HTTPService is faulting in
particular. Over several hundred thousand (successful) calls to this
HTTPService, a small handful of them are consistently passing the following
FaultEvent message:
(mx.messaging.messages::ErrorMessage)#0
body = (Object)#1
clientId = "DirectHTTPChannel0"
correlationId = "A0C1443E-F9E2-61D7-7FAB-ADD18D4B0675"
destination = ""
extendedData = (null)
faultCode = "Server.Error.Request"
faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false
cancelable=false eventPhase=2 text="Error #2032"]. URL: {url here}"
faultString = "HTTP request error"
headers = (Object)#2
messageId = "A04FD0F5-8732-1B3B-E253-ADD2572BE01E"
rootCause = (flash.events::IOErrorEvent)#3
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#4
bytesLoaded = 0
bytesTotal = 0
data = ""
dataFormat = "text"
eventPhase = 2
target = (flash.net::URLLoader)#4
text = "Error #2032"
type = "ioError"
timestamp = 0
timeToLive = 0
I've researched this error and I've gotten many different results. Some say
that it's a bad URL or the URL is too long -- not this case because the
HTTPService succeeds 95% of the time. I've heard other suggestions that the
server itself is to blame -- but the other 9 HTTPServices that call the same
server (even ones that are more heavily used throughout the app) are all doing
fine.
Does anyone know of a reasonable explanation to receive this error #2032? The
way Flex describes this error is completely useless to debug.
Thanks in advance for the help!