You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Berlin Brown (Created) (JIRA)" <ji...@apache.org> on 2011/11/30 17:59:41 UTC

[jira] [Created] (WICKET-4274) Issue with IE browsers and Ajax Requests, body data is not sent to server. Client experiences hang

Issue with IE browsers and Ajax Requests, body data is not sent to server.  Client experiences hang
---------------------------------------------------------------------------------------------------

                 Key: WICKET-4274
                 URL: https://issues.apache.org/jira/browse/WICKET-4274
             Project: Wicket
          Issue Type: Bug
          Components: wicket
         Environment: Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.
            Reporter: Berlin Brown


I am experiencing an issue where the browser is not submitting POST data from an ajax request and so the server waits for it and hangs.  The browser, mostly IE8 will send the header information and the content-length is 36 but the server never receives that 36 bytes of data.
I see the issue on IE8 and IE9 with and without compatibility mode.

But I DON'T see the error on other browsers.

It happens about 10% of all the requests out of 100,000 requests.

What would cause this issue?  IE bug? IE bug with ajax requests?

It seems to happen mostly from the client side.  Is it possible that Internet Explorer has some kind of bug where it won't send that data?
I read somewhere that IE can only have one connection to the server, maybe two are being opened.

Here is a snippet from the framework code:

    Wicket Java Code: 

         dropDownComponent.add( new AjaxFormComponentUpdatingBehavior( "onclick" ) {
            
            
            @Override
            protected void onUpdate( final AjaxRequestTarget target ) {
                target.addComponent( someForm );
            } // End of the method //
            
        } );  

    wicket-ajax.js:
    ...
    Javascript call on the client-side:
     
    1. t.open("POST", url, this.async);
    2. t.onreadystatechange = this.stateChangeCallback.bind(this);
    3. t.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    4. // set a special flag to allow server distinguish between ajax and non-ajax requests
    5. t.setRequestHeader("Wicket-Ajax", "true");
    6. t.setRequestHeader("Accept", "text/xml");
    7. t.send(body);

    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    POST          
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept: text/xml                                                                
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Language: en-us                                                  
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-ajax:  true                                                                    
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Referer: https://data.com/l/launch/                              
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-focusedelementid: id1924                                         
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Type: application/x-www-form-urlencoded                                       
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Encoding: gzip, deflate                                          
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8)                                                 
    
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Length: 36                                                      
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cache-Control: no-cache                                                                
    ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cookie:       
    
...
    The request information is SENT but no BODY data.

...
Arch Configuration:
Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Issue Comment Edited] (WICKET-4274) Issue with IE browsers and Ajax Requests, body data is not sent to server. Client experiences hang

Posted by "Berlin Brown (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164080#comment-13164080 ] 

Berlin Brown edited comment on WICKET-4274 at 12/7/11 2:37 AM:
---------------------------------------------------------------

There is NO javascript script fix:

But I added a patch in the hopes the IE might add a fix and there may also be performance improvements.

The recommend response is to NOT use IE, ever.

This(I) have only reported on this issue, it is mostly due to connectivity issues and how IE responds to the connection recovery.  With millions of requests like with our environment, this issue presents itself.
                
      was (Author: berlinbrown):
    There is NO javascript script fix:

But I added a patch in the hopes the IE might add a fix and there may also be performance improvements.

The recommend response is to NOT use IE, ever.
                  
> Issue with IE browsers and Ajax Requests, body data is not sent to server.  Client experiences hang
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4274
>                 URL: https://issues.apache.org/jira/browse/WICKET-4274
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.
>            Reporter: Berlin Brown
>              Labels: ajax, internetexplorer, wicket
>
> I am experiencing an issue where the browser is not submitting POST data from an ajax request and so the server waits for it and hangs.  The browser, mostly IE8 will send the header information and the content-length is 36 but the server never receives that 36 bytes of data.
> I see the issue on IE8 and IE9 with and without compatibility mode.
> But I DON'T see the error on other browsers.
> It happens about 10% of all the requests out of 100,000 requests.
> What would cause this issue?  IE bug? IE bug with ajax requests?
> It seems to happen mostly from the client side.  Is it possible that Internet Explorer has some kind of bug where it won't send that data?
> I read somewhere that IE can only have one connection to the server, maybe two are being opened.
> Here is a snippet from the framework code:
>     Wicket Java Code: 
>          dropDownComponent.add( new AjaxFormComponentUpdatingBehavior( "onclick" ) {
>             
>             
>             @Override
>             protected void onUpdate( final AjaxRequestTarget target ) {
>                 target.addComponent( someForm );
>             } // End of the method //
>             
>         } );  
>     wicket-ajax.js:
>     ...
>     Javascript call on the client-side:
>      
>     1. t.open("POST", url, this.async);
>     2. t.onreadystatechange = this.stateChangeCallback.bind(this);
>     3. t.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
>     4. // set a special flag to allow server distinguish between ajax and non-ajax requests
>     5. t.setRequestHeader("Wicket-Ajax", "true");
>     6. t.setRequestHeader("Accept", "text/xml");
>     7. t.send(body);
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    POST          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept: text/xml                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Language: en-us                                                  
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-ajax:  true                                                                    
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Referer: https://data.com/l/launch/                              
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-focusedelementid: id1924                                         
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Type: application/x-www-form-urlencoded                                       
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Encoding: gzip, deflate                                          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8)                                                 
>     
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Length: 36                                                      
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cache-Control: no-cache                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cookie:       
>     
> ...
>     The request information is SENT but no BODY data.
> ...
> Arch Configuration:
> Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (WICKET-4274) Issue with IE browsers and Ajax Requests, body data is not sent to server. Client experiences hang

Posted by "Berlin Brown (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164076#comment-13164076 ] 

Berlin Brown commented on WICKET-4274:
--------------------------------------

The container doesn't matter but I added a new bug for IE XHR lookups because this is mostly a IE issue and added a patch for 1.4.19.  We can't move to 1.5.x yet.

The issue will present itself on all containers but is mostly an IE issue.  NO javascript fix is available.

You can close this issue.

see:

http://support.microsoft.com/kb/895954
                
> Issue with IE browsers and Ajax Requests, body data is not sent to server.  Client experiences hang
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4274
>                 URL: https://issues.apache.org/jira/browse/WICKET-4274
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.
>            Reporter: Berlin Brown
>              Labels: ajax, internetexplorer, wicket
>
> I am experiencing an issue where the browser is not submitting POST data from an ajax request and so the server waits for it and hangs.  The browser, mostly IE8 will send the header information and the content-length is 36 but the server never receives that 36 bytes of data.
> I see the issue on IE8 and IE9 with and without compatibility mode.
> But I DON'T see the error on other browsers.
> It happens about 10% of all the requests out of 100,000 requests.
> What would cause this issue?  IE bug? IE bug with ajax requests?
> It seems to happen mostly from the client side.  Is it possible that Internet Explorer has some kind of bug where it won't send that data?
> I read somewhere that IE can only have one connection to the server, maybe two are being opened.
> Here is a snippet from the framework code:
>     Wicket Java Code: 
>          dropDownComponent.add( new AjaxFormComponentUpdatingBehavior( "onclick" ) {
>             
>             
>             @Override
>             protected void onUpdate( final AjaxRequestTarget target ) {
>                 target.addComponent( someForm );
>             } // End of the method //
>             
>         } );  
>     wicket-ajax.js:
>     ...
>     Javascript call on the client-side:
>      
>     1. t.open("POST", url, this.async);
>     2. t.onreadystatechange = this.stateChangeCallback.bind(this);
>     3. t.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
>     4. // set a special flag to allow server distinguish between ajax and non-ajax requests
>     5. t.setRequestHeader("Wicket-Ajax", "true");
>     6. t.setRequestHeader("Accept", "text/xml");
>     7. t.send(body);
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    POST          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept: text/xml                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Language: en-us                                                  
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-ajax:  true                                                                    
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Referer: https://data.com/l/launch/                              
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-focusedelementid: id1924                                         
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Type: application/x-www-form-urlencoded                                       
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Encoding: gzip, deflate                                          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8)                                                 
>     
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Length: 36                                                      
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cache-Control: no-cache                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cookie:       
>     
> ...
>     The request information is SENT but no BODY data.
> ...
> Arch Configuration:
> Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (WICKET-4274) Issue with IE browsers and Ajax Requests, body data is not sent to server. Client experiences hang

Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160287#comment-13160287 ] 

Martin Grigorov commented on WICKET-4274:
-----------------------------------------

Please try to reproduce it with a quickstart on not so expensive application server ;-)
Also try with upgrade to 1.4.19, or 1.5.3.
                
> Issue with IE browsers and Ajax Requests, body data is not sent to server.  Client experiences hang
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4274
>                 URL: https://issues.apache.org/jira/browse/WICKET-4274
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.
>            Reporter: Berlin Brown
>              Labels: ajax, internetexplorer, wicket
>
> I am experiencing an issue where the browser is not submitting POST data from an ajax request and so the server waits for it and hangs.  The browser, mostly IE8 will send the header information and the content-length is 36 but the server never receives that 36 bytes of data.
> I see the issue on IE8 and IE9 with and without compatibility mode.
> But I DON'T see the error on other browsers.
> It happens about 10% of all the requests out of 100,000 requests.
> What would cause this issue?  IE bug? IE bug with ajax requests?
> It seems to happen mostly from the client side.  Is it possible that Internet Explorer has some kind of bug where it won't send that data?
> I read somewhere that IE can only have one connection to the server, maybe two are being opened.
> Here is a snippet from the framework code:
>     Wicket Java Code: 
>          dropDownComponent.add( new AjaxFormComponentUpdatingBehavior( "onclick" ) {
>             
>             
>             @Override
>             protected void onUpdate( final AjaxRequestTarget target ) {
>                 target.addComponent( someForm );
>             } // End of the method //
>             
>         } );  
>     wicket-ajax.js:
>     ...
>     Javascript call on the client-side:
>      
>     1. t.open("POST", url, this.async);
>     2. t.onreadystatechange = this.stateChangeCallback.bind(this);
>     3. t.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
>     4. // set a special flag to allow server distinguish between ajax and non-ajax requests
>     5. t.setRequestHeader("Wicket-Ajax", "true");
>     6. t.setRequestHeader("Accept", "text/xml");
>     7. t.send(body);
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    POST          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept: text/xml                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Language: en-us                                                  
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-ajax:  true                                                                    
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Referer: https://data.com/l/launch/                              
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-focusedelementid: id1924                                         
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Type: application/x-www-form-urlencoded                                       
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Encoding: gzip, deflate                                          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8)                                                 
>     
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Length: 36                                                      
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cache-Control: no-cache                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cookie:       
>     
> ...
>     The request information is SENT but no BODY data.
> ...
> Arch Configuration:
> Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (WICKET-4274) Issue with IE browsers and Ajax Requests, body data is not sent to server. Client experiences hang

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4274.
-------------------------------------

    Resolution: Not A Problem
    
> Issue with IE browsers and Ajax Requests, body data is not sent to server.  Client experiences hang
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4274
>                 URL: https://issues.apache.org/jira/browse/WICKET-4274
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.
>            Reporter: Berlin Brown
>              Labels: ajax, internetexplorer, wicket
>
> I am experiencing an issue where the browser is not submitting POST data from an ajax request and so the server waits for it and hangs.  The browser, mostly IE8 will send the header information and the content-length is 36 but the server never receives that 36 bytes of data.
> I see the issue on IE8 and IE9 with and without compatibility mode.
> But I DON'T see the error on other browsers.
> It happens about 10% of all the requests out of 100,000 requests.
> What would cause this issue?  IE bug? IE bug with ajax requests?
> It seems to happen mostly from the client side.  Is it possible that Internet Explorer has some kind of bug where it won't send that data?
> I read somewhere that IE can only have one connection to the server, maybe two are being opened.
> Here is a snippet from the framework code:
>     Wicket Java Code: 
>          dropDownComponent.add( new AjaxFormComponentUpdatingBehavior( "onclick" ) {
>             
>             
>             @Override
>             protected void onUpdate( final AjaxRequestTarget target ) {
>                 target.addComponent( someForm );
>             } // End of the method //
>             
>         } );  
>     wicket-ajax.js:
>     ...
>     Javascript call on the client-side:
>      
>     1. t.open("POST", url, this.async);
>     2. t.onreadystatechange = this.stateChangeCallback.bind(this);
>     3. t.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
>     4. // set a special flag to allow server distinguish between ajax and non-ajax requests
>     5. t.setRequestHeader("Wicket-Ajax", "true");
>     6. t.setRequestHeader("Accept", "text/xml");
>     7. t.send(body);
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    POST          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept: text/xml                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Language: en-us                                                  
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-ajax:  true                                                                    
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Referer: https://data.com/l/launch/                              
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-focusedelementid: id1924                                         
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Type: application/x-www-form-urlencoded                                       
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Encoding: gzip, deflate                                          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8)                                                 
>     
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Length: 36                                                      
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cache-Control: no-cache                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cookie:       
>     
> ...
>     The request information is SENT but no BODY data.
> ...
> Arch Configuration:
> Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Issue Comment Edited] (WICKET-4274) Issue with IE browsers and Ajax Requests, body data is not sent to server. Client experiences hang

Posted by "Berlin Brown (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164080#comment-13164080 ] 

Berlin Brown edited comment on WICKET-4274 at 12/7/11 2:34 AM:
---------------------------------------------------------------

There is NO javascript script fix:

But I added a patch in the hopes the IE might add a fix and there may also be performance improvements.

The recommend response is to NOT use IE, ever.
                
      was (Author: berlinbrown):
    There is NO javascript script fix:

But I added a patch in the hopes the IE might add a fix and there may also be performance improvements.

They recommend response is to NOT use IE, ever.
                  
> Issue with IE browsers and Ajax Requests, body data is not sent to server.  Client experiences hang
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4274
>                 URL: https://issues.apache.org/jira/browse/WICKET-4274
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.
>            Reporter: Berlin Brown
>              Labels: ajax, internetexplorer, wicket
>
> I am experiencing an issue where the browser is not submitting POST data from an ajax request and so the server waits for it and hangs.  The browser, mostly IE8 will send the header information and the content-length is 36 but the server never receives that 36 bytes of data.
> I see the issue on IE8 and IE9 with and without compatibility mode.
> But I DON'T see the error on other browsers.
> It happens about 10% of all the requests out of 100,000 requests.
> What would cause this issue?  IE bug? IE bug with ajax requests?
> It seems to happen mostly from the client side.  Is it possible that Internet Explorer has some kind of bug where it won't send that data?
> I read somewhere that IE can only have one connection to the server, maybe two are being opened.
> Here is a snippet from the framework code:
>     Wicket Java Code: 
>          dropDownComponent.add( new AjaxFormComponentUpdatingBehavior( "onclick" ) {
>             
>             
>             @Override
>             protected void onUpdate( final AjaxRequestTarget target ) {
>                 target.addComponent( someForm );
>             } // End of the method //
>             
>         } );  
>     wicket-ajax.js:
>     ...
>     Javascript call on the client-side:
>      
>     1. t.open("POST", url, this.async);
>     2. t.onreadystatechange = this.stateChangeCallback.bind(this);
>     3. t.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
>     4. // set a special flag to allow server distinguish between ajax and non-ajax requests
>     5. t.setRequestHeader("Wicket-Ajax", "true");
>     6. t.setRequestHeader("Accept", "text/xml");
>     7. t.send(body);
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    POST          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept: text/xml                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Language: en-us                                                  
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-ajax:  true                                                                    
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Referer: https://data.com/l/launch/                              
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-focusedelementid: id1924                                         
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Type: application/x-www-form-urlencoded                                       
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Encoding: gzip, deflate                                          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8)                                                 
>     
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Length: 36                                                      
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cache-Control: no-cache                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cookie:       
>     
> ...
>     The request information is SENT but no BODY data.
> ...
> Arch Configuration:
> Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (WICKET-4274) Issue with IE browsers and Ajax Requests, body data is not sent to server. Client experiences hang

Posted by "Berlin Brown (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164080#comment-13164080 ] 

Berlin Brown commented on WICKET-4274:
--------------------------------------

There is NO javascript script fix:

But I added a patch in the hopes the IE might add a fix and there may also be performance improvements.

They recommend response is to NOT use IE.
                
> Issue with IE browsers and Ajax Requests, body data is not sent to server.  Client experiences hang
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4274
>                 URL: https://issues.apache.org/jira/browse/WICKET-4274
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.
>            Reporter: Berlin Brown
>              Labels: ajax, internetexplorer, wicket
>
> I am experiencing an issue where the browser is not submitting POST data from an ajax request and so the server waits for it and hangs.  The browser, mostly IE8 will send the header information and the content-length is 36 but the server never receives that 36 bytes of data.
> I see the issue on IE8 and IE9 with and without compatibility mode.
> But I DON'T see the error on other browsers.
> It happens about 10% of all the requests out of 100,000 requests.
> What would cause this issue?  IE bug? IE bug with ajax requests?
> It seems to happen mostly from the client side.  Is it possible that Internet Explorer has some kind of bug where it won't send that data?
> I read somewhere that IE can only have one connection to the server, maybe two are being opened.
> Here is a snippet from the framework code:
>     Wicket Java Code: 
>          dropDownComponent.add( new AjaxFormComponentUpdatingBehavior( "onclick" ) {
>             
>             
>             @Override
>             protected void onUpdate( final AjaxRequestTarget target ) {
>                 target.addComponent( someForm );
>             } // End of the method //
>             
>         } );  
>     wicket-ajax.js:
>     ...
>     Javascript call on the client-side:
>      
>     1. t.open("POST", url, this.async);
>     2. t.onreadystatechange = this.stateChangeCallback.bind(this);
>     3. t.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
>     4. // set a special flag to allow server distinguish between ajax and non-ajax requests
>     5. t.setRequestHeader("Wicket-Ajax", "true");
>     6. t.setRequestHeader("Accept", "text/xml");
>     7. t.send(body);
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    POST          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept: text/xml                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Language: en-us                                                  
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-ajax:  true                                                                    
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Referer: https://data.com/l/launch/                              
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-focusedelementid: id1924                                         
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Type: application/x-www-form-urlencoded                                       
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Encoding: gzip, deflate                                          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8)                                                 
>     
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Length: 36                                                      
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cache-Control: no-cache                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cookie:       
>     
> ...
>     The request information is SENT but no BODY data.
> ...
> Arch Configuration:
> Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Issue Comment Edited] (WICKET-4274) Issue with IE browsers and Ajax Requests, body data is not sent to server. Client experiences hang

Posted by "Berlin Brown (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164080#comment-13164080 ] 

Berlin Brown edited comment on WICKET-4274 at 12/7/11 2:34 AM:
---------------------------------------------------------------

There is NO javascript script fix:

But I added a patch in the hopes the IE might add a fix and there may also be performance improvements.

They recommend response is to NOT use IE, ever.
                
      was (Author: berlinbrown):
    There is NO javascript script fix:

But I added a patch in the hopes the IE might add a fix and there may also be performance improvements.

They recommend response is to NOT use IE.
                  
> Issue with IE browsers and Ajax Requests, body data is not sent to server.  Client experiences hang
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4274
>                 URL: https://issues.apache.org/jira/browse/WICKET-4274
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.
>            Reporter: Berlin Brown
>              Labels: ajax, internetexplorer, wicket
>
> I am experiencing an issue where the browser is not submitting POST data from an ajax request and so the server waits for it and hangs.  The browser, mostly IE8 will send the header information and the content-length is 36 but the server never receives that 36 bytes of data.
> I see the issue on IE8 and IE9 with and without compatibility mode.
> But I DON'T see the error on other browsers.
> It happens about 10% of all the requests out of 100,000 requests.
> What would cause this issue?  IE bug? IE bug with ajax requests?
> It seems to happen mostly from the client side.  Is it possible that Internet Explorer has some kind of bug where it won't send that data?
> I read somewhere that IE can only have one connection to the server, maybe two are being opened.
> Here is a snippet from the framework code:
>     Wicket Java Code: 
>          dropDownComponent.add( new AjaxFormComponentUpdatingBehavior( "onclick" ) {
>             
>             
>             @Override
>             protected void onUpdate( final AjaxRequestTarget target ) {
>                 target.addComponent( someForm );
>             } // End of the method //
>             
>         } );  
>     wicket-ajax.js:
>     ...
>     Javascript call on the client-side:
>      
>     1. t.open("POST", url, this.async);
>     2. t.onreadystatechange = this.stateChangeCallback.bind(this);
>     3. t.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
>     4. // set a special flag to allow server distinguish between ajax and non-ajax requests
>     5. t.setRequestHeader("Wicket-Ajax", "true");
>     6. t.setRequestHeader("Accept", "text/xml");
>     7. t.send(body);
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    POST          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept: text/xml                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Language: en-us                                                  
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-ajax:  true                                                                    
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Referer: https://data.com/l/launch/                              
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    wicket-focusedelementid: id1924                                         
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Type: application/x-www-form-urlencoded                                       
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Accept-Encoding: gzip, deflate                                          
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8)                                                 
>     
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Content-Length: 36                                                      
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cache-Control: no-cache                                                                
>     ÝMon Nov 28 12:36:24 2011¨ 000ee03c 0000999a - DETAIL:    Cookie:       
>     
> ...
>     The request information is SENT but no BODY data.
> ...
> Arch Configuration:
> Server: IBM Websphere 6 with IHS plugin.  Wicket 1.4.13.  Java6.    The client side is mostly Internet Explorer 8, 9.  Compatibility and Non Compat modes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira