HTTP Status 599 Network error in FireFox 3
mhn Jul 31, 2008 11:10 AMI have a really strange problem with FireFox 3.
I get always a http 599 status code (NetworkError) ifI submit a button in FireFox via key handler and esc key.
simplified Code snippets:
function closeBox(){ //clicks just a cmd button document.getElementById("myForm: ... :closeWizard_p1").click(); } //key handler function handleKey(ev) { ... if(keycode==27){ closeBox(); } } <a4j:commandButton id="closeWizard_p1" action="closeWizard" reRender="wizard" oncomplete="enableSubmit();showProgressBar(false);"> <t:updateActionListener property="#{myController.isDisplayed}" value="false"/> </a4j:commandButton>
This button is working fine:
- in IE always
- in Firefox if I click the command button
- in Firefox if I click the command button via javascript call
- in Firefox if I use a key handler and call alert('test') at the end of function closeBox()
Attached are also logs from Richfaces and from an http sniffer.
Is this a Firefox bug?
The requests are always indentical.
my env:
Richfaces 3.1.5
MyFaces 1.1.5
Tomcat 5.5.26
1) A4JLog (command button executed via javascript --> OK):
debug[15:38:38,507]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: click
debug[15:38:38,508]: NEW AJAX REQUEST !!! with form :wizardInc:batchWizardForm_p1
debug[15:38:38,508]: Form have onsubmit function, call it
debug[15:38:38,509]: Append hidden control wizardInc:batchWizardForm_p1_SUBMIT with value [1] and value attribute [1]
debug[15:38:38,509]: Append hidden control javax.faces.ViewState with value [rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAExcHQADy9zbF9leHBsb3JlLmpzcA==] and value attribute [rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAExcHQADy9zbF9leHBsb3JlLmpzcA==]
debug[15:38:38,509]: parameter wizardInc:batchWizardForm_p1:closeATBatchWizard_p1 with value wizardInc:batchWizardForm_p1:closeATBatchWizard_p1
debug[15:38:38,509]: Start XmlHttpRequest
debug[15:38:38,510]: Reqest state : 1
debug[15:38:38,510]: QueryString: AJAXREQUEST=wizardInc%3AbatchWizardForm_p1%3A_idJsp570&skip=true&includeSiblings=true&wizardInc%3AbatchWizardForm_p1_SUBMIT=1&javax.faces.ViewState=rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAExcHQADy9zbF9leHBsb3JlLmpzcA%3D%3D&wizardInc%3AbatchWizardForm_p1%3AcloseATBatchWizard_p1=wizardInc%3AbatchWizardForm_p1%3AcloseATBatchWizard_p1&
debug[15:38:38,510]: Reqest state : 1
debug[15:38:38,696]: Reqest state : 2
debug[15:38:38,697]: Reqest state : 3
debug[15:38:38,700]: Reqest state : 3
debug[15:38:38,701]: Reqest state : 4
debug[15:38:38,701]: Reqest end with state 4
debug[15:38:38,701]: Response with content-type: text/xml;charset=UTF-8
debug[15:38:38,701]: Full response content: falseenableSubmit();showProgressBar(false);
debug[15:38:38,702]: Header Ajax-Expired not found, search in
debug[15:38:38,702]: search for elements by name 'meta' in element #document
debug[15:38:38,702]: getElementsByTagName found 2
debug[15:38:38,702]: Find
debug[15:38:38,702]: Find
debug[15:38:38,702]: Header Ajax-Update-Ids not found, search in
debug[15:38:38,703]: search for elements by name 'meta' in element #document
debug[15:38:38,703]: getElementsByTagName found 2
debug[15:38:38,703]: Find
debug[15:38:38,703]: Update page by list of rendered areas from response a4jATBatchWizard,messageform:a4jMessageBox,a4jLockedBox
debug[15:38:38,704]: search for elements by name 'script' in element #document
debug[15:38:38,704]: getElementsByTagName found 6
debug[15:38:38,704]: in response with src=/liti/faces/a4j_3_1_5.GAorg.ajax4jsf.javascript.AjaxScript
debug[15:38:38,704]: Such element exist in document
debug[15:38:38,704]: in response with src=/liti/faces/a4j_3_1_5.GAorg.ajax4jsf.javascript.PrototypeScript
debug[15:38:38,705]: Such element exist in document
debug[15:38:38,705]: in response with src=/liti/faces/a4j_3_1_5.GAorg/richfaces/renderkit/html/scripts/utils.js
debug[15:38:38,705]: Such element exist in document
debug[15:38:38,705]: in response with src=/liti/faces/a4j_3_1_5.GAorg/richfaces/renderkit/html/scripts/browser_info.js
debug[15:38:38,705]: Such element exist in document
debug[15:38:38,706]: in response with src=/liti/faces/a4j_3_1_5.GAorg/richfaces/renderkit/html/scripts/modalPanel.js
debug[15:38:38,706]: Such element exist in document
debug[15:38:38,706]: in response with src=/liti/faces/a4j_3_1_5.GAorg/richfaces/renderkit/html/scripts/modalPanelBorders.js
debug[15:38:38,706]: Such element exist in document
debug[15:38:38,706]: search for elements by name 'link' in element #document
debug[15:38:38,706]: getElementsByTagName found 1
debug[15:38:38,707]: in response with src=/liti/faces/a4j_3_1_5.GAorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAEz3vGhHwAFZwJr
debug[15:38:38,707]: Such element exist in document
debug[15:38:38,707]: Attempt to update part of page for Id: a4jATBatchWizard
debug[15:38:38,707]: call getElementById for id= a4jATBatchWizard
debug[15:38:38,711]: Replace content of node by replaceChild()
debug[15:38:38,711]: search for elements by name 'script' in element span
debug[15:38:38,712]: getElementsByTagName found 0
debug[15:38:38,712]: Scripts in updated part count : 0
debug[15:38:38,712]: Update part of page for Id: a4jATBatchWizard successful
debug[15:38:38,712]: Attempt to update part of page for Id: messageform:a4jMessageBox
debug[15:38:38,712]: call getElementById for id= messageform:a4jMessageBox
debug[15:38:38,713]: Replace content of node by replaceChild()
debug[15:38:38,713]: search for elements by name 'script' in element span
debug[15:38:38,713]: getElementsByTagName found 0
debug[15:38:38,713]: Scripts in updated part count : 0
debug[15:38:38,713]: Update part of page for Id: messageform:a4jMessageBox successful
debug[15:38:38,713]: Attempt to update part of page for Id: a4jLockedBox
debug[15:38:38,714]: call getElementById for id= a4jLockedBox
debug[15:38:38,755]: Replace content of node by replaceChild()
debug[15:38:38,755]: search for elements by name 'script' in element span
debug[15:38:38,756]: getElementsByTagName found 0
debug[15:38:38,756]: Scripts in updated part count : 0
debug[15:38:38,756]: Update part of page for Id: a4jLockedBox successful
debug[15:38:38,756]: call getElementById for id= ajax-view-state
debug[15:38:38,756]: Hidden JSF state fields: [object HTMLSpanElement]
debug[15:38:38,756]: Namespace for hidden view-state input fields is undefined
debug[15:38:38,757]: search for elements by name 'input' in element span
debug[15:38:38,757]: getElementsByTagName found 1
debug[15:38:38,757]: Replace value for inputs: 180 by new values: 1
debug[15:38:38,757]: Input in response: javax.faces.ViewState
debug[15:38:38,758]: Found same input on page with type: hidden
debug[15:38:38,758]: Found same input on page with type: hidden
debug[15:38:38,762]: Found same input on page with type: hidden
debug[15:38:38,762]: Found same input on page with type: hidden
debug[15:38:38,763]: Found same input on page with type: hidden
debug[15:38:38,763]: Found same input on page with type: hidden
debug[15:38:38,763]: Found same input on page with type: hidden
debug[15:38:38,763]: Found same input on page with type: hidden
debug[15:38:38,764]: Found same input on page with type: hidden
debug[15:38:38,764]: search for elements by name 'INPUT' in element span
debug[15:38:38,764]: getElementsByTagName found 0
debug[15:38:38,764]: Replace value for inputs: 180 by new values: 0
debug[15:38:38,764]: call getElementById for id= _A4J.AJAX.focus
debug[15:38:38,765]: No focus information in response
debug[15:38:38,765]: call getElementById for id= org.ajax4jsf.oncomplete
debug[15:38:38,765]: Call request oncomplete function after processing updates
debug[15:38:38,894]: call getElementById for id= _ajax:data
2) IBM PageDetailer (command button executed via javascript --> OK):
*** WD_EV_WS2_ITEM(1560)
Thursday July 31, 2008 03:39:06.687152 PM
Status=67, SensorID=4294967295, ProcessorID=4294967295
AgentID=936086455, ApplicationID=3, ProcessID=4568
ActivityID=4294967295, ThreadID=2428, SensorSequence=0
ProcessorSequence=33, ExtraDataLength=4042, ExtraDataCount=19
--- WD_CV_WS2_ITEM_DIMENSIONS_ARRAY(1150) UINT8(0) Length=176 Count=1
0 --- WD_CV_WS2_ITEM_DIMENSIONS(1146) UINT8(0) Length=160
Thursday July 31, 2008 03:38:37.828428 PM
Item Totals:
Offset 0.0
Duration 0.184287
Send Count 1186
Recv Count 2290
Minimum Offset 0.0
Maximum Offset 28.858411
Connect:
Offset 0.0
Duration 0.000687
Connect Idle:
Offset 0.000204
Duration 0.000483
Server Response:
Offset 0.000687
Duration 0.181789
Send Count 1186
Request Header 831
Post Data Count 355
Recv Count 263
Delivery:
Offset 0.182476
Duration 0.001811
Recv Count 2027
Delivery Idle:
Offset 0.182476
Duration 0.000048
Offset 0.184191
Duration 0.000066
Browser Closed Socket:
Offset 28.858411
Flags: 0x0094A400
HAS_BROWSER_SOCKET_CLOSED
HAS_CONNECT
HAS_CONNECT_IDLE
HAS_DELIVERY
HAS_DELIVERY_IDLE
HAS_SERVER_RESPONSE
--- WD_CV_WS2_HTTP_HEADER_REQUEST(1057) CSTRING(7) Length=831
POST /liti/faces/sl_explore.jsp?javax.portlet.faces.DirectLink=true HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://localhost:8080/liti/faces/sl_preferences.jsp
Content-Length: 355
Cookie: NB-MHN_liti_HEAD_docform_doclist="docform:doclist&dcol1=14&=14&dcol2=14&=14&dcol3=14&=42&dcol4=152&=152&dcol5=152&=152&fcol1=152&tw=945"; JSESSIONID=70895EE4026D4CEBAAB936C70580736F
Pragma: no-cache
Cache-Control: no-cache
--- WD_CV_WS2_POST_DATA(1120) UINT8(0) Length=355
AJAXREQUEST=wizardInc%3AbatchWizardForm_p1%3A_idJsp570&skip=true&includeSiblings=true&wizardInc%3AbatchWizardForm_p1_SUBMIT=1&javax.faces.ViewState=rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAExcHQADy9zbF9leHBsb3JlLmpzcA%3D%3D&wizardInc%3AbatchWizardForm_p1%3AcloseATBatchWizard_p1=wizardInc%3AbatchWizardForm_p1%3AcloseATBatchWizard_p1&
--- WD_CV_WS2_HTTP_HEADER_REPLY(1056) CSTRING(7) Length=263
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Ajax-Response: true
Cache-Control: no-cache, must-revalidate, max_age=0, no-store
Expires: 0
Pragma: no-cache
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Thu, 31 Jul 2008 13:38:38 GMT
--- WD_CV_WS2_HTTP_RECV_DATA(1058) UINT8(0) Length=2027
5f0
false
13e
a4
enableSubmit();showProgressBar(false);
0
--- WD_CV_WS2_SOCKET(1096) UINT32(10) Length=4
1064 [0x00000428]
--- WD_CV_WS2_REMOTE_PORT(1091) UINT16(9) Length=2
8080 [0x1F90]
--- WD_CV_WS2_REMOTE_IP(1090) UINT32(10) Length=4
2130706433 [0x7F000001] --> 127.0.0.1
--- WD_CV_WS2_TYPE(1106) UINT32(10) Length=4
0 [0x00000000]
--- WD_CV_WS2_URL(1107) CSTRING(7) Length=83
http://localhost:8080/liti/faces/sl_explore.jsp?javax.portlet.faces.DirectLink=true
--- WD_CV_WS2_ITEM_CONTEXT(1130) UINT8(0) Length=8
3593, 3
--- WD_CV_WS2_ITEM_ICON_TYPE(1147) UINT32(10) Length=4
9 [0x00000009] --> HTML
--- WD_CV_WS2_LAST_SESSIONID(1140) UINT32(10) Length=4
92891 [0x00016ADB]
--- WD_CV_WS2_FIRST_SESSIONID(1137) UINT32(10) Length=4
91505 [0x00016571]
--- WD_CV_WS2_ITEM_TYPE(1152) UINT32(10) Length=4
20 [0x00000014] --> Updated Item Sealed by Socket Close
--- WD_CV_WS2_ITEM_LABEL(1183) CSTRING(7) Length=14
sl_explore.jsp
--- WD_CV_WS2_AF(1027) UINT32(10) Length=4
0 [0x00000000]
--- WD_CV_WS2_HOSTNAME(1053) CSTRING(7) Length=14
localhost:8080
--- WD_CV_WS2_PROTOCOL(1082) UINT32(10) Length=4
0 [0x00000000]
3) A4JLog (command button executed via javascript and KEY-HANDLER --> 599 error):
debug[15:40:24,653]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: click
debug[15:40:24,654]: NEW AJAX REQUEST !!! with form :wizardInc:batchWizardForm_p1
debug[15:40:24,654]: Form have onsubmit function, call it
debug[15:40:24,654]: Append hidden control wizardInc:batchWizardForm_p1_SUBMIT with value [1] and value attribute [1]
debug[15:40:24,655]: Append hidden control javax.faces.ViewState with value [rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAExcHQADy9zbF9leHBsb3JlLmpzcA==] and value attribute [rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAExcHQADy9zbF9leHBsb3JlLmpzcA==]
debug[15:40:24,655]: parameter wizardInc:batchWizardForm_p1:closeATBatchWizard_p1 with value wizardInc:batchWizardForm_p1:closeATBatchWizard_p1
debug[15:40:24,655]: Start XmlHttpRequest
debug[15:40:24,655]: Reqest state : 1
debug[15:40:24,656]: QueryString: AJAXREQUEST=wizardInc%3AbatchWizardForm_p1%3A_idJsp570&skip=true&includeSiblings=true&wizardInc%3AbatchWizardForm_p1_SUBMIT=1&javax.faces.ViewState=rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAExcHQADy9zbF9leHBsb3JlLmpzcA%3D%3D&wizardInc%3AbatchWizardForm_p1%3AcloseATBatchWizard_p1=wizardInc%3AbatchWizardForm_p1%3AcloseATBatchWizard_p1&
debug[15:40:24,656]: Reqest state : 1
debug[15:40:24,667]: Reqest state : 2
debug[15:40:24,667]: Reqest state : 4
debug[15:40:24,667]: Reqest end with state 4
error[15:40:24,667]: request don't have status code - network problem, Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText]
error[15:40:24,668]: Reqest error, status : 599 Network error
4) IBM PageDetailer (command button executed via javascript and KEY-HANDLER --> 599 error:
*** WD_EV_WS2_ITEM(1560)
Thursday July 31, 2008 03:40:23.977871 PM
Status=67, SensorID=4294967295, ProcessorID=4294967295
AgentID=936086455, ApplicationID=3, ProcessID=4568
ActivityID=4294967295, ThreadID=2428, SensorSequence=0
ProcessorSequence=113, ExtraDataLength=1695, ExtraDataCount=17
--- WD_CV_WS2_ITEM_DIMENSIONS_ARRAY(1150) UINT8(0) Length=144 Count=1
0 --- WD_CV_WS2_ITEM_DIMENSIONS(1146) UINT8(0) Length=128
Thursday July 31, 2008 03:40:23.972424 PM
Connect:
Offset 0.0
Duration 0.000594
Connect Idle:
Offset 0.000232
Duration 0.000362
Server Response Failed:
Offset 0.000594
Duration 0.001831
Send Count 1186
Request Header 831
Post Data Count 355
Browser Closed Socket:
Offset 0.002425
Flags: 0x08140400
HAS_BROWSER_SOCKET_CLOSED
HAS_CONNECT
HAS_CONNECT_IDLE
HAS_SERVER_RESPONSE_FAILED
--- WD_CV_WS2_HTTP_HEADER_REQUEST(1057) CSTRING(7) Length=831
POST /liti/faces/sl_explore.jsp?javax.portlet.faces.DirectLink=true HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://localhost:8080/liti/faces/sl_preferences.jsp
Content-Length: 355
Cookie: NB-MHN_liti_HEAD_docform_doclist="docform:doclist&dcol1=14&=14&dcol2=14&=14&dcol3=14&=42&dcol4=152&=152&dcol5=152&=152&fcol1=152&tw=945"; JSESSIONID=70895EE4026D4CEBAAB936C70580736F
Pragma: no-cache
Cache-Control: no-cache
--- WD_CV_WS2_POST_DATA(1120) UINT8(0) Length=355
AJAXREQUEST=wizardInc%3AbatchWizardForm_p1%3A_idJsp570&skip=true&includeSiblings=true&wizardInc%3AbatchWizardForm_p1_SUBMIT=1&javax.faces.ViewState=rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAExcHQADy9zbF9leHBsb3JlLmpzcA%3D%3D&wizardInc%3AbatchWizardForm_p1%3AcloseATBatchWizard_p1=wizardInc%3AbatchWizardForm_p1%3AcloseATBatchWizard_p1&
--- WD_CV_WS2_SOCKET(1096) UINT32(10) Length=4
1340 [0x0000053C]
--- WD_CV_WS2_REMOTE_PORT(1091) UINT16(9) Length=2
8080 [0x1F90]
--- WD_CV_WS2_REMOTE_IP(1090) UINT32(10) Length=4
2130706433 [0x7F000001] --> 127.0.0.1
--- WD_CV_WS2_TYPE(1106) UINT32(10) Length=4
0 [0x00000000]
--- WD_CV_WS2_URL(1107) CSTRING(7) Length=83
http://localhost:8080/liti/faces/sl_explore.jsp?javax.portlet.faces.DirectLink=true
--- WD_CV_WS2_ITEM_CONTEXT(1130) UINT8(0) Length=8
3595, 1
--- WD_CV_WS2_ITEM_ICON_TYPE(1147) UINT32(10) Length=4
2 [0x00000002] --> Failed
--- WD_CV_WS2_LAST_SESSIONID(1140) UINT32(10) Length=4
97152 [0x00017B80]
--- WD_CV_WS2_FIRST_SESSIONID(1137) UINT32(10) Length=4
96967 [0x00017AC7]
--- WD_CV_WS2_ITEM_TYPE(1152) UINT32(10) Length=4
21 [0x00000015] --> Initial Item Sealed by Socket Close
--- WD_CV_WS2_ITEM_LABEL(1183) CSTRING(7) Length=14
sl_explore.jsp
--- WD_CV_WS2_AF(1027) UINT32(10) Length=4
0 [0x00000000]
--- WD_CV_WS2_HOSTNAME(1053) CSTRING(7) Length=14
localhost:8080
--- WD_CV_WS2_PROTOCOL(1082) UINT32(10) Length=4
0 [0x00000000]