Author Message
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
I have an app that will be playing extremely long announcements, upwards of 4 to 5 minutes in length. I have tried setting fetch timeout to an extreme number (30000s) in the AppRoot node and in the prompt node where the long prompt plays. However I always get error bad fetch after the announcement completes. What can I do to prevent this?
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
The generated vxml is below--


7:<form id="PlayConsentSummaryCollect">
8:<property name="fetchtimeout" value="3600s" />
9:<property name="maxnbest" value="1"/>
10:<var name="nbest" expr="1"/>
11:<var name="PlayConsentSummaryCollect___value"/>
12:<var name="PlayConsentSummaryCollect___confidence"/>
13:<var name="PlayConsentSummaryCollect___utterance"/>
14:<var name="PlayConsentSummaryCollect___inputmode"/>
15:<var name="PlayConsentSummaryCollect___interpretation" expr="'undefined'"/>
16:<var name="PlayConsentSummaryCollect___noinputcount" expr="'0'"/>
17:<var name="PlayConsentSummaryCollect___nomatchcount" expr="'0'"/>
18:<var name="PlayConsentSummaryCollect___Replay"/>
19:<var name="graminterp___ReplayGrammar" expr="'undefined'"/>
20:<field name="PlayConsentSummaryCollect" modal="false">
21:<prompt bargein="true" bargeintype="speech" timeout="8000ms">
22:really long block of text here
23:</prompt>
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
Simulation or Platform or both? I would have expected that to work. You will probably have to look at the sessionslot log on the MPP to determine what is happening and why.
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
Appears to only be in simulation. I deployed to tomcat server and it works as expected. Is there some other setting locally to extend fetch timeout?
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
In the upconing 7.2.1 release a bnch of bugs are being fixed in simulation. In preferences there is a setting for fetchtimeout maybe try that?
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
Ross, looks like this is occuring in production as well. Initially, what would happen is the TTS speech would stop after about 45 seconds. I had some timer adjustments to make on both speech server and MPP, and now the announcement is playing as it should. However at the end of the announcement we get an error.badfetch along with some Socket/HTTP errors.

I checked tomcat and the session timeout is 30 minutes. I've attached a list of errors we see in the app log. I have an Item Property in the app root node of the application that has fetch timeout set to something ridiculous, 30000s which I can see referenced in the app log as well, <property name="fetchtimeout" value="30000s" /> . Any ideas? I've attached trace as well, session ID is adc-cpod-aaep-mpp4-2018054181505-2.
  • [Thumb - errorbadfetch.PNG]
[Disk] Download
Filename trace - Copy.log [Disk] Download
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
What about the sessionslot log from the MPP?
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
attached
Filename SessionSlot-002.log [Disk] Download
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
that is the session manager not the VXI log. Sorry I shoudl have been more clear. Please attach the VXI session slot that matches the OD trace.log.
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
Where do I find that log?
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
The other is you go to under System Management /MPP servers / MPP Settings / Categories and Trace Levels Set Voice Browser to Finest. Then use Real-Time Monitoring / <click on your mpp server name>, and on the next page select Service Menu. That will take you to a new page in a new window. From there you can access the mpp logs. I typically clear all the logs then make a test call/run and then examine the resulting log. Look under VXI
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
I thought you were referring to that, I do not have VXI as an option--

Administration
CXI
CdhService
EventMgr
MMS
MediaMgr
OCWSServer
SessMgr
SysMgr
TransService
VB
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
VB / VXI toamto / tomaaaato :)
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
I was only able to find it in the VB/global.log after my test call. It did not appear in the associated VB SessionSlot log. The new sessionID is walynptelwaepmpp02-2018054222813-4.
Filename global.log [Disk] Download
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
That is ODD. I did see this

@2018-02-23 14:32:43,029||FINEST|VB|2749||Session logger for SessionID walynptelwaepmpp02-2018054222813-4 not found! Using global logger instead|walynptelwaepmpp02####

which I have never seen before.

Later I see

@2018-02-23 14:28:13,689||FINEST|VB|2810||VXML_DIALOG_PREPARE
{
mppSessionID: "67123703"
loggingSlot: "SessionSlot-004"
sessionIdentifier: "walynptelwaepmpp02-2018054222813-4"

So SessionSlot-004.log should have the data.

Without the session slop log I could not make any firther determination.
Go to:   
Mobile view