Page 1 of 1

time out error

Posted: Wed Jun 01, 2005 1:07 pm
by lmoy
Support,

We seem to get this timed out error, even though very rarely, we still like to figure out why. The script runs but the page just didn't repsond for some reason. If anyone can shed light on this, that would be great.




Error fetching document due to Operation timed out with 0 out of -1 bytes received
DocumentParser::FetchBuffer - could not open URL: https://www.paymentservicenetwork.com/i ... entamt.asp
DocumentParser::FetchDocument - exiting with error result 2
errno: 203 uri https://www.paymentservicenetwork.com/i ... entamt.asp

also get badfetch error

Posted: Thu Jul 13, 2006 4:30 am
by zipidy
well generating the jsp asp php or coldfusion dynamic pages before sending the page content to plum makes a delay between the petition of the page and the answer to get to plum, because time for dynamic page webserver increases because of the need to be compiled (now only talking about jsp that are what i use).the state of load of the webserver will determine the time of compilation and now i THROW my question event hahaha this is for the support IS THERE ANY WAY TO INCREASE THIS TIMEOUT

Posted: Thu Jul 13, 2006 5:46 am
by zipidy
well i have found how to change timeout fetching between documents but not in grammmars and also not in the first page the one who receives the call try to set the attribute of submit and goto tags fetchtimeout="10s" it depends on your server load and capacity to change the timeout to one value or another hope this would do it nice

IVR code to adjust the intial page fetch timeout

Posted: Thu Jul 13, 2006 9:00 am
by support
Hello,

The easiest way to adjust the inital page fetch timeout in your IVR application is to create a simple scratchpad. You can use the scratchpad to perform the page fetch and set the timeout there.

Code: Select all

<?xml version="1.0"?>
<vxml version="2.1">

<form>
	<block>
		<goto next="http://server/page.vxml" fetchtimeout="10s"/>
	</block>
</form>

</vxml>
The scratchpad should be fetched nearly instantly allowing you to specify the initial remote document timeout. Also, the IVR tag, <grammar>, supports the fetchtimeout attribute.

Regards,
Plum Support