Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-08-2015, 01:24 AM   #1
LQ Newbie
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
Ajax Timeout in different Network

I have searched all over the net about this problem and a bunch came out but they did not provide a definite solution for the problem.
I saw this post but there was no solution provided. I posted it here because there might be a configuration in there server needed, and yes the server is in Linux OS, CentOS to be exact.

The issue is that, I have Web Application, this is already in a public DNS, that generates report and then exports this as Excel file. When I try this in my network I was able to get the excel file with 5-6 minutes of execution of the Ajax.

But when my client execute this, in a different geography as where I am, the ajax request will expire (timeout) for 30 seconds ONLY! I dont understand why only 30 seconds but when I execute this it will reach up to 6 minutes.

in my php.ini, I already set this up:
 max_execution_time = 0
 max_input_time = 0
and in my php, I put this up in the start of the script:

PHP Code:

in my ajax request, BTW I am using EXTJS 4:
      url: 'validurl',
      params: {},
      method: "POST",
      waitMsg: "Exporting data. Please wait....",
      timeout: 900000,
What/Where could be the issue?application?network?server? how do I resolve this?

Thank you.
Old 06-08-2015, 05:50 PM   #2
Registered: Sep 2009
Location: Galveston Tx
Posts: 291

Rep: Reputation: 70
I'm not so sure about this max_execution_time of being zero. This is said to be zero in the documentation for command line, not from the web server. So from local host it might work but I simply see this as being unable to process remote requests. Try looking up with time out for which ever SQL server you are using and match to that time.


ajax, ext4, network, php, timeout

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Solid Ajax applications, Part 2: Building Ajax back ends LXer Syndicated Linux News 0 01-22-2008 01:30 PM
Network reset/timeout ProgramGeek Debian 1 02-14-2007 08:26 AM
LXer: Eclipse Ajax Toolkit Framework and Ajax tools LXer Syndicated Linux News 0 05-12-2006 01:21 PM
LXer: Mastering Ajax, Part 3: Advanced requests and responses in Ajax LXer Syndicated Linux News 0 02-16-2006 07:46 AM
network timeout absolute0net Linux - Networking 8 07-15-2003 09:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration