Click to See Complete Forum and Search --> : HTTP/1.1 502 Gateway Error


michele
03-11-2003, 10:14 AM
Hi all,

When the server runs my cgi script for a couple of minutes it gives a 'HTTP/1.1 502 Gateway Error'. Does anyone know what this means and how to fix it? I am running on Windows 2000. Here's the entire error message:

HTTP/1.1 502 Gateway Error
Server: Microsoft-IIS/5.0
Date: Mon, 10 Mar 2003 16:54:19 GMT
Connection: close
Content-Length: 186
Content-Type: text/html

<head><title>CGI Application Timeout</title></head>
<body><h1>CGI Timeout</h1>The specified CGI application exceeded the allowed time for processing. The server has deleted the process.

Thanks!

jeffmott
03-11-2003, 01:51 PM
The description for the 502 error message is "The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request." This certainly sounds like a problem in the server's configuration. You'll have to contact your host and report the problem. If this is a server running off your computer then make sure to read the documentation that came with it to ensure that your server is properly configured to execute CGI scripts.