Command:

debug http client


Mode:

Router#


Syntax:

debug http client {all | api | background | cache | error | main | msg | socket}

no debug http client {all | api | background | cache | error | main | msg | socket}

 

Syntax Description:

all Displays all debugging messages for the HTTP client.
api Displays debug information for the HTTP client application programming interface (API) process.
background Displays background messages.
cache Displays debug information for the HTTP client cache module.
error Displays the HTTP client error messages.
main Displays debug information for the HTTP client main process.
msg Displays the HTTP client messages.
socket Displays the HTTP client socket messages.

 

Command Description:

To display debugging messages for the HTTP client, use the debug http client command in privileged EXEC mode. To disable debugging output, use the no form of this command.

The output of this command is effected by the debug condition application voice command. If the debug condition application voice command is configured and the element is enabled in the VoiceXML document, debugging output is limited to the VoiceXML application named in the debug condition application voice command.


Example:

The following example shows output from the debug http client api command:

Router# debug http client api
HTTP Client API Process debugging is on
*Jan 3 10:58:48.609: httpc_send_ev: event sent to HTTP Client:
*Jan 3 10:58:48.609: method (GET), url (http://serverX.com/vxml/test/prompts/9.au)
*Jan 3 10:58:48.609: callback (61008E78), argp (63590DB4), sid (0), timeout (60), retries (2)
*Jan 3 10:58:48.609: httpc_free: app freeing response data(626FA608)
*Jan 3 10:58:59.353: httpc_send_ev: event sent to HTTP Client:
*Jan 3 10:58:59.353: method (GET), url (http://1.7.100.1/vxml/test/dropoffRecord)
*Jan 3 10:58:59.353: callback (61008E78), argp (6393B684), sid (0), timeout (60), retries (0)
*Jan 3 10:58:59.369: httpc_free: app freeing response data(626F9348)
*Jan 3 10:59:45.033: httpc_send_ev: event sent to HTTP Client:
*Jan 3 10:59:45.033: method (POST), url (http://rtsp-ws/dropoffAppend.php?append=&disconnect=1)
*Jan 3 10:59:45.033: callback (60FE9064), argp (63448820), sid (7179), timeout (0), retries (0)
*Jan 3 10:59:57.369: httpc_free: app freeing response data(626F9340)


Misconceptions:

Cisco recommends that you log output from the debug http client msg and debug http client socket commands to a buffer, rather than sending the output to the console; otherwise, the size of the output could severely impact the performance of the gateway.


Related Commands:

None


© Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)