IVR Call Log: “Operation Timed Out With 0 Out Of -1 Bytes Received”
Posted by: victor in IVREvery once in a while, an IVR developer will encounter the following entry in their call log:
“Error fetching document http://x.x.x.x/somefile.aspx due to Operation timed out with 0 out of -1 bytes received”
This is usually followed up with an exclamation from the developer such as this: “Why is the IVR taking so long to submit a file to my web server?”
Well, typically, an error message such as this indicates not a problem with the IVR server, but a problem with the IVR developer’s web server.
When encountering this issue, here are some general tips to first try:
1) Using a different domain name. Using a domain name tells the IVR to use a currently open socket. By referring to your web server by its IP address, for instance, the IVR will open a new connection to your backend rather than reusing an existing HTTP connection.
2) (if using IIS) Checking the IIS configuration. You might have to change the settings for your IIS configuration to allow for longer persistent connections or, alternatively, no persistent connections at all. A forum poster once mentioned that turning off the Keep-Alives inside IIS helped them resolve this issue. See here for more details.
3) Checking the firewall settings. If you use a firewall between your web server and the Internet, the firewall might be keeping the persistent connection open to the IVR even though IIS has already closed its server-side connection.
4) Setting up a catch error handler for error.badfetch and then doing a resubmission. This would allow you to re-attempt sending data even when the error.badfetch occurs.
Hope this helps you IVR developers out there who’ve encountered this issue.

Entries (RSS)