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

error.badfetch.http.500

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
gmanigopal
Posts: 10
Joined: Thu Jun 27, 2013 11:30 am

error.badfetch.http.500

Post by gmanigopal »

Hi,

During testing my application sometimes I'm getting error message " A serious error of type. error.badfetch.http.500". In Last log View shows 500 internal server error. it has happening in different page. Also I checked log files of my server and it was good. Let me know what is reason for this and how to handle in my side. the error log was

HTTP/1.0 500 Internal Server Error - http://mysite.com/login.aspx
DocumentParser::FetchBuffer - could not open URL: http://mysite.com/login.aspx
DocumentParser::FetchDocument - exiting with error result 2
errno: 203 uri http://mysite.com/login.aspx
received event: error.badfetch.http.500:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="Daniel">
A serious error of type </voice></speak>
---------
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="Daniel">error.badfetch.http.500</voice></speak>
---------
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="Daniel"> has occurred. Exiting. </voice></speak>
---------
VXI::exit_element()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played

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

Re: error.badfetch.http.500

Post by support »

Hi gmanigopal,

Typically, a 500 Internal Server Error indicates an error with your web server or script that would need to be fixed. You would also be able to see this error if you entered the URL that was returning that error into a web browser. This may provide you with more details on how you can resolve this issue.

Regards,
Plum Support

gmanigopal
Posts: 10
Joined: Thu Jun 27, 2013 11:30 am

Re: error.badfetch.http.500

Post by gmanigopal »

Yeah that is the problem. while i entering URL in web browser it doesn't show any error. Also I checked the log file in my server. I haven't seen any 500 in that file. Today also this error was occurred. Again i tried it is working fine. It is happening randomly. This is the first page (login.aspx) was loading after dialed. First time without any query string the page is working fine. But the error was raised again i post-back the page with query string.

Log error
--------------------------------------------------------------------------------------------------------------------------
Mon 29 Jul 2013 04:28:02 AM EDT:
Call Start Event: ANII 7771594470 DNIS 02071471600 VURL http://uk.popproxy.plumgroup.com/plumvp/demo.php
DocumentParser::FetchDocument()
DocumentParser::FetchDocument(http://uk.popproxy.plumgroup.com/plumvp/demo.php)
Cache Miss: http://uk.popproxy.plumgroup.com/plumvp/demo.php
Attempting to fetch http://uk.popproxy.plumgroup.com/plumvp/demo.php
Loading Builtin grammar: builtin:grammar/digits
Loading Builtin grammar: builtin:dtmf/digits
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://uk.popproxy.plumgroup.com/plumvp/audio/demo.wav
Attempting to fetch http://uk.popproxy.plumgroup.com/plumvp/audio/demo.wav
Audio segment from the URL audio/demo.wav added to prompt queue
VXI::field_element - activating grammars for form = '$_internalName_32392' formitem = 'ext'

Mon 29 Jul 2013 04:28:03 AM EDT:
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf speech"
Newly queued prompts are now being played

Mon 29 Jul 2013 04:28:12 AM EDT:
dtmf input: 1234
Found grammar match
hypothesis #0: 1234 (0.9990)
VXI::var_element(name="session_id" expr = "session.id")
VXI::var_element(name="dnis" expr = "session.telephone.dnis")
DocumentParser::FetchDocument(demo.php)
Posted form data is URL encoded
Attempting to fetch http://uk.popproxy.plumgroup.com/plumvp/demo.php

Mon 29 Jul 2013 04:28:13 AM EDT:
DocumentParser::FetchDocument(http://mywebsite.co.uk)
Cache Miss: http://mywebsite.co.uk
Attempting to fetch http://mywebsite.co.uk

Mon 29 Jul 2013 04:28:20 AM EDT:
DocumentParser::FetchDocument(http://mywebsite.co.uk:80/rootvxml.aspx)
Cache Miss: http://mywebsite.co.uk:80/rootvxml.aspx
Attempting to fetch http://mywebsite.co.uk:80/rootvxml.aspx
GrammarManager::CreateGrammarFromString(application/x-jsgf):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-GB" mode="dtmf">
"*"
</grammar>
---------
GrammarManager::CreateGrammarFromString(application/x-jsgf):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-GB" mode="dtmf">
"#"
</grammar>
---------
Loading Builtin grammar: builtin:dtmf/digits?length=4
Loading Builtin grammar: builtin:dtmf/digits?length=8
VXI::var_element(name="cliNo" expr = "session.telephone.ani")
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak xml:lang="en-GB"><voice name="Daniel">Welcome to card service. Please enter last 4 digit of your card Number, or press Star for lost and Stolen. or If you are calling to purchase a card the please press Hash</voice></speak>
---------
VXI::field_element - activating grammars for form = 'Login' formitem = 'PAN'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played

Mon 29 Jul 2013 04:28:36 AM EDT:
received event: noinput:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="Daniel">I am sorry. I did not get four digits</voice></speak>
---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak xml:lang="en-GB"><voice name="Daniel">Welcome to card service. Please enter last 4 digit of your card Number, or press Star for lost and Stolen. or If you are calling to purchase a card the please press Hash</voice></speak>
---------
VXI::field_element - activating grammars for form = 'Login' formitem = 'PAN'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played

Mon 29 Jul 2013 04:28:53 AM EDT:
dtmf input: 3387
Found grammar match
hypothesis #0: 3387 (0.9990)
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak xml:lang="en-GB"><voice name="Daniel">Please enter your date of birth, as Day, Day, Month, Month, Year, Year, Year, Year. For example, the 30th of may 1970 would be, 3 0 , 0 5 , 1 9 7 0</voice></speak>
---------
VXI::field_element - activating grammars for form = 'Login' formitem = 'DOB'

Mon 29 Jul 2013 04:28:54 AM EDT:
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played

Mon 29 Jul 2013 04:29:09 AM EDT:
dtmf input: 12061980
Found grammar match
hypothesis #0: 12061980 (0.9990)
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak xml:lang="en-GB"><voice name="Daniel">Checking your details. Please wait.</voice></speak>
---------
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played

Mon 29 Jul 2013 04:29:13 AM EDT:
DocumentParser::FetchDocument(http://mywebsite.co.uk:80/login.aspx)
Cache Miss: http://mywebsite.co.uk:80/login.aspx?DO ... 7771594470
Attempting to fetch http://mywebsite.co.uk:80/login.aspx?DO ... 7771594470

Mon 29 Jul 2013 04:29:15 AM EDT:
DocumentParser::FetchDocument(http://mywebsite.co.uk:80/rootvxml.aspx)
Cache Miss: http://mywebsite.co.uk:80/rootvxml.aspx
Attempting to fetch http://mywebsite.co.uk:80/rootvxml.aspx
Loading Builtin grammar: builtin:dtmf/digits?length=6
VXI::var_element(name="cliNo" expr = "session.telephone.ani")
VXI::var_element(name="PAN" expr = "'3387'")
VXI::var_element(name="DOB" expr = "'12061980'")
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak xml:lang="en-GB"><voice name="Daniel">Please Enter the last 6 digits of Registered Contact No</voice></speak>
---------
VXI::field_element - activating grammars for form = 'ProcessLogin' formitem = 'usrPhoneNo'
VXI::do_recognition()
PromptManager::Play()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played

Mon 29 Jul 2013 04:29:24 AM EDT:
dtmf input: 648816
Found grammar match
hypothesis #0: 648816 (0.9990)
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak xml:lang="en-GB"><voice name="Daniel">Checking your details. Please wait.</voice></speak>
---------
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played

Mon 29 Jul 2013 04:29:27 AM EDT:
DocumentParser::FetchDocument(http://mywebsite.co.uk:80/login.aspx)
Cache Miss: http://mywebsite.co.uk:80/login.aspx?DO ... eNo=648816
Attempting to fetch http://mywebsite.co.uk:80/login.aspx?DO ... eNo=648816

Mon 29 Jul 2013 04:29:43 AM EDT:
HTTP/1.0 500 Internal Server Error - http://mywebsite.co.uk:80/login.aspx?DO ... eNo=648816
DocumentParser::FetchBuffer - could not open URL: http://mywebsite.co.uk:80/login.aspx
DocumentParser::FetchDocument - exiting with error result 2
errno: 203 uri http://mywebsite.co.uk:80/login.aspx
received event: error.badfetch.http.500:
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="Daniel">
A serious error of type </voice></speak>
---------
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="Daniel">error.badfetch.http.500</voice></speak>
---------
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="Daniel"> has occurred. Exiting. </voice></speak>
---------
VXI::exit_element()
starting playback: bargein=true, inputmodes="dtmf"
Newly queued prompts are now being played

Mon 29 Jul 2013 04:29:49 AM EDT:
Line disconnect detected. Abandoning queued audio data.
received event: connection.disconnect.hangup:
VXI::exit_element()
Call End Event
Ending session
Ending Session On Channel 20

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

Re: error.badfetch.http.500

Post by support »

Hi,

As mentioned earlier, this 500 Internal Server Error indicates an intermittent issue with your web server or script that you would need to consult with your networking team to fix.

If you are concerned about the "error.badfetch" message that would play back to your users for when this issue occurs, you can use the <error> tag to set up a specific message to play. For more information on the <error> tag, you can view our documentation here: http://www.plumvoice.com/docs/dev/voicexml:tags:error

Regards,
Plum Support

Post Reply