API Calling Timeout after 10 Seconds in jQuery AJAX

990 views
Skip to first unread message

ULLAS MOHAN.V

unread,
Aug 2, 2013, 3:05:06 AM8/2/13
to phon...@googlegroups.com
Am working in jQuery mobile and PhoneGap. Currently am facing a big issue which still existing. I searched and applied lot of methods but still problem existing. My Problem is when I call an API its timeout after 10 Seconds. So its not getting result in iPhone versions.. but Its return result in Android (In the case of android its also shows timeout but i get its result.)

http://stackoverflow.com/questions/18009083/api-calling-timeout-after-10-seconds-in-jquery-ajax/18009815#18009815

tobi

unread,
Aug 2, 2013, 3:32:38 AM8/2/13
to phon...@googlegroups.com
Android kills synchronous request if its taking more than 10s and there s no way to change this timeout. To avoid this, make asynchronous calls instead. It will work. We had few calls which would take >15s and all were returning results in Android with async:true .
Reply all
Reply to author
Forward
0 new messages