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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 .