HTTP Error 502.1 - Bad Gateway

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "".

Most likely causes:

  • The CGI application handling the request took longer than the configured CGI timeout to process the request.
  • The CGI application is taking too long to process the request.

Things you can try:

  • Verify the configured timeout for the CGI application.
    1. Open IIS Manager.
    2. In the Connections pane, click the site or application where the problem is occurring.
    3. In the Features pane, double-click CGI.
    4. In the CGI page, under Behavior, verify that a value is set for the Timeout property.
    5. Change the timeout value, if necessary, and then in the Actions pane click Apply.
  • Use DebugDiag to troubleshoot the CGI application and determine why it is taking so long to process the request.

Detailed Error Information:

Module   CgiModule
Notification   ExecuteRequestHandler
Handler   CGI-exe
Error Code   0x00000000
Requested URL   https://www.idfdesign.it:443/dynamic/common/cgi-bin/d.exe?htm=res/category.htm&idsettore=24&idalbero=71&idsubsettore=58&idLanguage=1&idtags=34-117&lan=1
Physical Path   D:\web\www.sedie.ws\dynamic\common\cgi-bin\d.exe
Logon Method   Anonymous
Logon User   Anonymous

More Information:

This error occurs when the request is configured to handle by a CGI application and the CGI application takes longer than the configured timeout to handle the request. If the request usually takes longer than the configured timeout to run, increase the timeout value. Otherwise, troubleshoot the CGI application to determine the delay.

View more information »