[CLOSED] Request Failure Window - Status code: Status Text: Communication Failure - 8.2

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] Request Failure Window - Status code: Status Text: Communication Failure - 8.2

    I randomly get a popup window stating that <U>Communication Failure</U> has occured. This only happens when I use FireFox / Safari. I'm not sure why the error occurs because everything loads fine and the window disappears within a few seconds. There does not appear to be any failures. I do not get this message at all when using IE.

    I have tried suppressing the error message by setting the <U>ShowWarningOnFailure="false"</U> on the stores and AJAX Events. Is there a way to totally suppress this window.


    
     
    
    
    <ext:Store runat="server" ID="PatientQuotes" OnRefreshData="PatientQuotes_Refresh"
    
    
    ShowWarningOnFailure="false">
    
    
    <Reader>
    
    
    <ext:JsonReader ReaderID="atnPatientQuoteHeaderId">
    
    
    <Fields>
    
    
    <ext:RecordField Name="atnPatientQuoteHeaderId" Type="Int" />
    
    
    <ext:RecordField Name="atnCmsUserId" Type="Int">
    
    
    </ext:RecordField>
    
    
    <ext:RecordField Name="atnPatientId" Type="Int">
    
    
    </ext:RecordField>
    
    
    <ext:RecordField Name="strPatientQuoteUniqueName" Type="String">
    
    
    </ext:RecordField>
    
    
    <ext:RecordField Name="dtmInsertTime" Type="Date">
    
    
    </ext:RecordField>
    
    
    <ext:RecordField Name="dtmLastUpdated" Type="Date">
    
    
    </ext:RecordField>
    
    
    <ext:RecordField Name="dtmDeactivated" Type="Date">
    
    
    </ext:RecordField>
    
    
    <ext:RecordField Name="bitActive" Type="Boolean">
    
    
    </ext:RecordField>
    
    
    </Fields>
    
    
    </ext:JsonReader>
    
    
    </Reader>
    
    
    </ext:Store>
     
    
    
    <AjaxEvents>
    
    
    <Change ShowWarningOnFailure="false" OnEvent="QuoteNameChanged">
    
    
    <EventMask ShowMask="true" Msg="Processing.." />
    
    
    <ExtraParams>
    
    
    <ext:Parameter Name="IsValid" Value="el.isValid()" Mode="Raw">
    
    
    </ext:Parameter>
    
    
    </ExtraParams>
    
    
    </Change>
    
    
    </AjaxEvents>
    Coolite 8.2 / ExtJS 2.3
    Last edited by Daniil; May 02, 2011 at 10:23 AM. Reason: [CLOSED]
  2. #2

    RE: [CLOSED] Request Failure Window - Status code: Status Text: Communication Failure - 8.2

    Hi,

    If you can reproduce that error with some code then please post it.
    You can totally surpress that window using the following script (for example, using DocumentReady listener of the ScriptManager)
    Coolite.AjaxEvent.showFailure = Ext.emptyFn;

    The error can be related with transport problem


    <p style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.2em; font-size: 13px; ">If the server cannot or does not respond to the HTTP request, however, there may not be a readable response. If a transaction is terminated by the server in such a way that no readable response is available, the callback object's failure handler receives an object with the following properties:</p><div class="apisummary short" style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; height: auto; width: auto; zoom: 1; "><table style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-size: inherit; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: none; border-top-color: rgb(102, 102, 102); border-right-color: rgb(102, 102, 102); border-bottom-color: rgb(102, 102, 102); border-left-color: initial; "><tbody><tr class="odd" style="background-color: rgb(255, 255, 255); "><th style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; font-style: normal; font-weight: bold; text-align: left; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(182, 205, 225); color: rgb(255, 255, 255); vertical-align: top; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); background-position: initial initial; background-repeat: initial initial; ">property</th><th style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; font-style: normal; font-weight: bold; text-align: left; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(182, 205, 225); color: rgb(255, 255, 255); vertical-align: top; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); background-position: initial initial; background-repeat: initial initial; ">description</th></tr><tr style="background-color: rgb(221, 221, 221); "><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(102, 102, 102); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); vertical-align: top; ">tId</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(102, 102, 102); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); vertical-align: top; ">The transaction id</td></tr><tr class="odd" style="background-color: rgb(255, 255, 255); "><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(102, 102, 102); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); vertical-align: top; ">status</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(102, 102, 102); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); vertical-align: top; ">0</td></tr><tr style="background-color: rgb(221, 221, 221); "><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(102, 102, 102); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); vertical-align: top; ">statusText</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(102, 102, 102); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); vertical-align: top; ">"communication failure"</td></tr><tr class="odd" style="background-color: rgb(255, 255, 255); "><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(102, 102, 102); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); vertical-align: top; ">argument</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0.35em; padding-right: 0.35em; padding-bottom: 0.35em; padding-left: 0.35em; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(102, 102, 102); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(102, 102, 102); vertical-align: top; ">The user-defined argument or arguments as defined as the callback object.</td></tr></tbody></table>



    P.S. 1.0 version contains property in the ResourceManager (renamed ScriptManager) which surpress that window
  3. #3
    Hi Vladimir,

    I have the same issue as described in previous email. I realize this email thread is old, but since it's the same issue (please see attachment), can you please give me an example on how to suppress this window (global methodology if possible)? Thank you in advance for your help.

    Dan
    Attached Thumbnails Click image for larger version. 

Name:	RequestFailure.jpg 
Views:	448 
Size:	95.8 KB 
ID:	2611  
  4. #4
    Hi,

    Please clarify are you still using 0.8.x?

    If yes, did you try this?
    You can totally surpress that window using the following script (for example, using DocumentReady listener of the ScriptManager)
    Coolite.AjaxEvent.showFailure = Ext.emptyFn;
  5. #5
    Hi,

    Your case is different. You have server side exception (unfortunately, i don't see full text in window).
    I reccoment investigate that text and fix the server side exception.
    If the exception is expected then please set

    1. Set ShowWarningOnAjaxFailure="false" for ResourceManager (it turns off that window for all ajax requests)
    2. Set ShowWarningOnFailure="false" for DirectEvent (it turns off that window for particular request only)
  6. #6
    Quote Originally Posted by Daniil View Post
    Hi,

    Please clarify are you still using 0.8.x?

    If yes, did you try this?

    Hi Daniil,

    It's a long story that I rather not get into, but we're using a mixture of version 0.8 and 1.0. I haven't try the example you mentioned above since I'm not sure where I should apply it (page_load, page_init,???).

    Regards,
    Dan
  7. #7
    Quote Originally Posted by Vladimir View Post
    Hi,

    Your case is different. You have server side exception (unfortunately, i don't see full text in window).
    I reccoment investigate that text and fix the server side exception.
    If the exception is expected then please set

    1. Set ShowWarningOnAjaxFailure="false" for ResourceManager (it turns off that window for all ajax requests)
    2. Set ShowWarningOnFailure="false" for DirectEvent (it turns off that window for particular request only)
    Hi Vladimir,

    Is the example above apply to the page specifically? Or can it be use as a global methodology like setting it in the web.config file? I just want to make sure that I understood your suggestion above. By the way, I am currently have the following set in the web.config file under the <extnet /> tag

    ShowWarningOnAjaxFailure="false"

    But I am not sure it the correct place to set this.


    Thanks.
    Dan
  8. #8
    1. web.config affects on the whole application (all pages).
    2. RecourceManeger affects on the current page only.
  9. #9

    I have a similar problem...

    Request Faliure.
    Communication Failure

    ONLY IN Firefox.


    Firebug says the error is in line:

    o.conn.send(postData || null);
    of
    function asyncRequest(method, uri, callback, postData) {
    .

    It happens after
     parent.window.location = url;
    Any idea?


    Thanks.
  10. #10
    Ok
    showWarningOnAjaxFailure="false"
    in web.config did the job, hopefully with no side effects.
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: Feb 16, 2012, 2:05 AM
  2. Hide Request Failure default popup window
    By brittongr in forum 1.x Help
    Replies: 2
    Last Post: Jan 06, 2012, 11:37 AM
  3. [CLOSED] Store "communication failure" and request method OPTIONS
    By nikisbeta in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 16, 2011, 1:53 PM
  4. status text status code CUSTOM
    By threewonders in forum 1.x Help
    Replies: 0
    Last Post: Sep 26, 2011, 1:29 PM
  5. [CLOSED] [1.0] Request Failure Window
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 15, 2010, 8:33 AM

Posting Permissions