CiscoIPPhoneIconFileMenu issue

Version 1
    This document was generated from CDN thread

    Created by: Tom Barrand on 24-08-2009 02:53:03 PM
    Hi,
     
    I am using  CiscoIPPhoneIconFileMenu to create a list of 5 menu items that have a png displayed next to them. The image is a URL to a seperate web server.
     
    The page works fine but if I make a number of requests to the page from the same phone in quick succession it displays an error message on the phone. Sometimes it might bomb out after 3 requests or other times it might be 8.
     
    In the title it says - "Warning"
    Body of the phone - "Not Available"
    Prompt - "Error"
     
    The phone being used is a Cisco 7921. 
     
    I have enabled full trace on the phone and set the User Interface trace level to "Debug".
     
    Below is the phone trace output
     
    Any ideas would be appreciated
     
    Thanks
     
    Tom
     
    2009-08-24 15:46:48:0520 CP-7921G user.info GUI: OpenURL: http://10.1.0.10:8080/ccmcip/getservicesmenu.jsp?name=SEP001C58CD3783&locale=English_United_Kingdom
    2009-08-24 15:46:48:0520 CP-7921G user.info GUI: increment WLAN active time: 2000
    2009-08-24 15:46:48:0520 CP-7921G user.debug GUI: libcfg send event: 34
    2009-08-24 15:46:49:0040 CP-7921G user.info GUI: KEYPAD: report thread wake up(ret=1)
    2009-08-24 15:46:49:0050 CP-7921G user.info GUI: KEYPAD: sleep = 0.50000
    2009-08-24 15:46:49:0170 CP-7921G user.info GUI: KEYPAD: wake up(retval=0)
    2009-08-24 15:46:49:0200 CP-7921G user.info GUI: KEYPAD: key 0x8 is down
    2009-08-24 15:46:49:0200 CP-7921G user.info GUI: AUD Event = AUD_KEYPADTONE_START: 0 4 150 
    2009-08-24 15:46:49:0240 CP-7921G user.notice GUI: KEY 4 DOWN 
    2009-08-24 15:46:49:0240 CP-7921G user.info GUI: KEYPAD: sleep = 0.750000
    2009-08-24 15:46:49:0240 CP-7921G user.info GUI: OpenURL: http://10.1.0.15:8080/SMARTiD/ImageTest.jsp
    2009-08-24 15:46:49:0240 CP-7921G user.info GUI: increment WLAN active time: 2000
    2009-08-24 15:46:49:0240 CP-7921G user.debug GUI: libcfg send event: 34
    2009-08-24 15:46:49:0240 CP-7921G user.info GUI: KEYPAD: wake up(retval=1)
    2009-08-24 15:46:49:0350 CP-7921G user.info GUI: KEYPAD: key 0x8 is up
    2009-08-24 15:46:49:0360 CP-7921G user.notice GUI: KEY 4 UP 
    2009-08-24 15:46:49:0370 CP-7921G user.info GUI: KEYPAD: report thread sleep
    2009-08-24 15:46:49:0370 CP-7921G user.info GUI: OpenURL: http://10.1.0.15:8080/SMARTiD/ImageTest.jsp?mode=start
    2009-08-24 15:46:49:0380 CP-7921G user.info GUI: increment WLAN active time: 2000
    2009-08-24 15:46:49:0390 CP-7921G user.debug GUI: libcfg send event: 34
    2009-08-24 15:46:49:0400 CP-7921G user.info GUI: OpenURL: http://10.1.0.14:8080/web/images/icons/Healthcare/bed.png
    2009-08-24 15:46:49:0430 CP-7921G user.info GUI: increment WLAN active time: 2000
    2009-08-24 15:46:49:0430 CP-7921G user.debug GUI: libcfg send event: 34
    2009-08-24 15:46:49:0430 CP-7921G user.info GUI: OpenURL: http://10.1.0.14:8080/web/images/icons/Healthcare/bed.png
    2009-08-24 15:46:49:0490 CP-7921G user.info GUI: increment WLAN active time: 2000
    2009-08-24 15:46:49:0490 CP-7921G user.debug GUI: libcfg send event: 34
    2009-08-24 15:46:49:0550 CP-7921G user.info GUI: OpenURL: http://10.1.0.14:8080/web/images/icons/Healthcare/bed.png
    2009-08-24 15:46:49:0550 CP-7921G user.warn GUI: No Data
    2009-08-24 15:46:49:0550 CP-7921G user.info GUI: increment WLAN active time: 2000
    2009-08-24 15:46:49:0550 CP-7921G user.debug GUI: libcfg send event: 34
    2009-08-24 15:46:49:0550 CP-7921G user.info GUI: OpenURL: http://10.1.0.14:8080/web/images/icons/Healthcare/bed.png
    2009-08-24 15:46:49:0550 CP-7921G user.info GUI: increment WLAN active time: 2000
    2009-08-24 15:46:49:0550 CP-7921G user.debug GUI: libcfg send event: 34
    2009-08-24 15:46:49:0550 CP-7921G user.info GUI: OpenURL: http://10.1.0.14:8080/web/images/icons/Computer%20Equipment/laptop2.png
    2009-08-24 15:46:49:0550 CP-7921G user.info GUI: increment WLAN active time: 2000
    2009-08-24 15:46:49:0550 CP-7921G user.debug GUI: libcfg send event: 34
    2009-08-24 15:46:49:0560 CP-7921G user.info GUI: file read error:/var/tmp/iconfile1.png
    2009-08-24 15:46:49:0560 CP-7921G user.info GUI: Can not open /var/tmp/iconfile1.png!
    2009-08-24 15:46:52:0350 CP-7921G user.debug www[155]: StcpReceive conn=0
    2009-08-24 15:46:52:0350 CP-7921G user.debug www[155]: StcpReceive Conn = 0
    2009-08-24 15:46:52:0360 CP-7921G user.debug www[155]: StcpReceive conn=0
    2009-08-24 15:46:52:0360 CP-7921G user.debug www[155]:  Path: /log/messages

    Subject: RE: CiscoIPPhoneIconFileMenu issue
    Replied by: David Staudt on 24-08-2009 04:57:52 PM
    The log kind of suggests that there was a problem retrieving one of the icon image files:
     
    2009-08-24 15:46:49:0550 CP-7921G user.info GUI: OpenURL: ../../../c/message_boards/find_category?p_l_id=23889&categoryId=1062480]
    2009-08-24 15:46:49:0550 CP-7921G user.warn GUI: No Data
    ...
    2009-08-24 15:46:49:0560 CP-7921G user.info GUI: file read error:/var/tmp/iconfile1.png
    2009-08-24 15:46:49:0560 CP-7921G user.info GUI: Can not open /var/tmp/iconfile1.png!
     
    I would suggest the following possibilities:
     
    - The web server/transport is having an issue.  Suggest setting up a SPAN to view all the traffic to/from this phone, then check to ensure the icon image HTTP request is coming in and getting fulfilled ok
    - Flash space on the phone is getting exhausted, the .png images take up space in flash, if these images are very large (i.e. not re-sized/optimized for the icon use) then perhaps the flash is getting full
    - TCP port exhaustion.  The phones support a limited number of TCP connections, which must timeout using the standard time_wait mechanism.  Since the icon file object requires several HTTP connections to download all components of the object, these connections may be getting exhausted more quickly.
     
    The best piece of evidence - which can shed light on all of the above - will be a network packet capture.  Feel free to attach here if you need help with analysis.