We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

time out error

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
lmoy
Posts: 1
Joined: Thu May 26, 2005 12:17 pm
Contact:

time out error

Post 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

zipidy
Posts: 8
Joined: Tue Jul 04, 2006 8:28 am

also get badfetch error

Post 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

zipidy
Posts: 8
Joined: Tue Jul 04, 2006 8:28 am

Post 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

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR code to adjust the intial page fetch timeout

Post 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

Post Reply