We have a set up where the browser makes an http request to Box A which in turn makes an http request to Box B. What we're encountering is that Box A waits for Box B to respond for two minutes then the users sees:
The page cannot be displayed Explanation: There is a problem with the page you are trying to reach and it cannot be displayed. Try the following: * Refresh page: Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion. * Check spelling: Check that you typed the Web page address correctly. The address may have been mistyped. * Access from a link: If there is a link to the page you are looking for, try accessing the page from that link. Technical Information (for support personnel) * Error Code: 404 Not Found. The requested item could not be located. (12028)
Watching the logs on Box B we see that it takes 5 minutes to do the work requested.
The problem is that the apache time outs on both boxes are set 1200 (20m), not 120 (2m).
Any ideas where to look?
Edit: Box A handles the request by running some Perl code which makes an HTTP request to Box B.