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 after 3 minutes

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
aliasg
Posts: 24
Joined: Sat Mar 14, 2009 1:23 am

Time out after 3 minutes

Post by aliasg »

Hi, I am recording dictation from user for an hour long and submitting it to my server. The file size of one hour recording is around 35 MB. I have set the maximum value(in fetchtimeout) to upload this file to my server from plum. i.e 18000. But the file is not upload in even 3 minutes.

What option do I have to handle this?
Ali

aliasg
Posts: 24
Joined: Sat Mar 14, 2009 1:23 am

Post by aliasg »

I m being timed out and getting bad fetch error as a result. Catching this bad fetch and resubmitting is not a workable solution since that can lead user to wait for another 3 minutes without any surety of success.
Ali

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

settings for <record>

Post by support »

Hi aliasg,

What other settings (if any) are you setting for your <record> tag?

For help reference, you could also refer back to this old forum topic: http://support.plumvoice.com/viewtopic.php?t=1166

Regards,
Plum Support

aliasg
Posts: 24
Joined: Sat Mar 14, 2009 1:23 am

Post by aliasg »

This is not about the record tag. This is about submit tag I m submitting recorded files to be saved on our server using submit. If recording is small up to 30-40 file is submitted in 3minutes but if file is full one hour long, file is not submitted in 3minutes that is maximum value for time out hence the time out error.
Ali

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

error from IVR call log

Post by support »

Hi,

Sorry, I meant to mention the <submit> tag as opposed to the <record> tag in the previous post.

Could you please send us the IVR code you are using to do the <submit> and the error that you are seeing from your call log?

It could also be that your web server is taking to long to respond to the request from the <submit> and that's what's timing out. Have you checked your web server logs to see if there were any errors relating to this issue?

Regards,
Plum Support

aliasg
Posts: 24
Joined: Sat Mar 14, 2009 1:23 am

Post by aliasg »

Code: Select all

<subdialog fetchtimeout="180s" name="subSaveRecording" src="fnMisc.aspx" namelist="CardID Recording Subject AudioDuration FunctionID" method="post" enctype="multipart/form-data" />
Above, "Recording" is recording variable holding a recording of an hour. Subject is 10 second recording.

Following is the call log

Code: Select all

Wed 10 Mar 2010 02:35:54 AM EST:
DocumentParser::FetchDocument(http://x.x.57.242/re/FnMisc.aspx)
Posting binary content "Recording" of size 28800430 and type "audio/x-wav"
Posting binary content "Subject" of size 81966 and type "audio/x-wav"
Posted form data is multipart encoded
Fetchtimeout 360000ms too long, using maximum value 180000ms
Attempting to fetch http://x.x.57.242/re/FnMisc.aspx

Wed 10 Mar 2010 02:38:55 AM EST:
Error fetching document http://x.x.57.242/re/FnMisc.aspx due to Operation timed out with 0 out of -1 bytes received
DocumentParser::FetchBuffer - could not open URL: http://x.x.57.242/re/FnMisc.aspx
DocumentParser::FetchDocument - exiting with error result 2
errno: 203 uri http://x.x.57.242/re/FnMisc.aspx
received event: error.badfetch: 
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application
Ali

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

Operation timed out with 0 out of -1 bytes received

Post by support »

Hi Ali,

The reason why the <submit> is timing out after 3 minutes is due to a issue with your web server.

This is shown from this line in your call log:

Code: Select all

Error fetching document http://x.x.57.242/re/FnMisc.aspx due to Operation timed out with 0 out of -1 bytes received 
Possibly, it might be a configuration issue on your web server in how it handles persistent HTTP/1.1 connections. You should consult your web server configuration guide and look into disabling persistent HTTP connections.

Also, you could try checking the firewall settings on your end. 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 the server-side connection has already been closed.

This old forum topic may also help you in resolving this issue: http://support.plumvoice.com/viewtopic.php?t=767

Regards,
Plum Support

Post Reply