1. #1
    Sencha User
    Join Date
    Jun 2009
    Posts
    39
    Answers
    3
    Vote Rating
    0
    minamu1 is on a distinguished road

      0  

    Default Unanswered: Load event fires prematurely for long requests

    Unanswered: Load event fires prematurely for long requests


    Hello,

    I have a basic list that uses a store with ajax proxy setup to load json data. The timeout is set to 120000.

    Everything works just fine on Chrome and Safari on my desktop, running against localhost. Depending on what the user enters, responses take anywhere from 10 seconds to 75 seconds, typically. Irrespective of how long it takes, things work just fine on my desktop.

    On my iPhone (iOS 5) running against the server on my desktop, things work just fine for requests less then 12 or 15 seconds. Anything longer causes the "load" event to fire early, with data not loaded.

    Any ideas on what's going on? Has anyone else experienced this problem? I have not had a timeout problem. I'm having to debug things on the safari debug console on an iPhone - not fun.

    Thanks,
    Mohammad

  2. #2
    Sencha - Community Support Team grgur's Avatar
    Join Date
    Aug 2007
    Location
    Split, Croatia
    Posts
    154
    Answers
    10
    Vote Rating
    24
    grgur has a spectacular aura about grgur has a spectacular aura about

      0  

    Default


    I wonder if you receive any data back when the load event fires.

    Instead of debugging on the device, try using remote debugging - much easier
    Grgur Grisogono
    Ext JS in Action SE co-author
    Exercising awesomeness at Modus Create - Official Sencha Partner

    Get in touch for Sencha Touch Training
    @ggrgur

  3. #3
    Sencha User
    Join Date
    Jun 2009
    Posts
    39
    Answers
    3
    Vote Rating
    0
    minamu1 is on a distinguished road

      0  

    Default


    Hey Grgur,

    Thanks for pointing out better debugging options. Hopefully it'll make my life easier.

    As for whether any data is returned, the answer is no. I get no data back at all. Another strange thing is that after repeated tests, I've noticed that the timeout happens at around 12.8 seconds, irrespective of the original request. I have no idea if there is anything special about 12.8 seconds. Any ideas?

    Thanks.

    Mohammad.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar