COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Dev1975 on 07 Jul 2015 09:46:01 AM

Title: 504 Gateway Timeout error
Post by: Dev1975 on 07 Jul 2015 09:46:01 AM
Hi guys,

I'm having a problem with a test environment setup on some cloud servers. The Cognos application is sitting on a RHEL box and the database backed is on SQL 2012. A few days ago, the environment was working fine and was fairly responsive. Today, I tried opening ReportStudio against a new package that was published and after a few minutes, the following message appears:

504 - Gateway Time-out
URL: /ibmcognos/cgi-bin/cognos.cgi

Response Text:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>504 Gateway Time-out</title>
</head><body>
<h1>Gateway Time-out</h1>
<p>The gateway did not receive a timely response
from the upstream server or application.</p>


<address>Apache/2.2.15 (Red Hat) Server at server_name Port xx</address>
</body></html>

I'm not sure what this means and was wondering if anyone could supply some helpful pointers as to how to address this?

Many thanks,
Dev
Title: Re: 504 Gateway Timeout error
Post by: MFGF on 07 Jul 2015 10:14:56 AM
Quote from: Dev1975 on 07 Jul 2015 09:46:01 AM
Hi guys,

I'm having a problem with a test environment setup on some cloud servers. The Cognos application is sitting on a RHEL box and the database backed is on SQL 2012. A few days ago, the environment was working fine and was fairly responsive. Today, I tried opening ReportStudio against a new package that was published and after a few minutes, the following message appears:

504 - Gateway Time-out
URL: /ibmcognos/cgi-bin/cognos.cgi

Response Text:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>504 Gateway Time-out</title>
</head><body>
<h1>Gateway Time-out</h1>
<p>The gateway did not receive a timely response
from the upstream server or application.</p>


<address>Apache/2.2.15 (Red Hat) Server at server_name Port xx</address>
</body></html>

I'm not sure what this means and was wondering if anyone could supply some helpful pointers as to how to address this?

Many thanks,
Dev

A 504 error is a generic error from your web server (Apache?) saying it did not receive a response to the request it sent, and it eventually gave up and timed out. Is your Cognos instance up? Can you connect directly to the dispatcher URI?

MF.
Title: Re: 504 Gateway Timeout error
Post by: Dev1975 on 07 Jul 2015 10:55:55 AM
Hi MFGF,

I can connect to the Cognos Connection front end and navigate around the pages and suchlike with no issue. I'm also able to boot up FrameworkManager on my local machine, connect to the datasource and publish packages. It only craps out when I try to open any of the reporting studios against the packages.

Further to this, I published a small test package with one item and accessing that also throws this message, so whatever it's doing in the background to fetch the metadata is probably causing this.

Any ideas/suggestions welcome.
Title: Re: 504 Gateway Timeout error
Post by: MFGF on 07 Jul 2015 11:00:11 AM
Quote from: Dev1975 on 07 Jul 2015 10:55:55 AM
Hi MFGF,

I can connect to the Cognos Connection front end and navigate around the pages and suchlike with no issue. I'm also able to boot up FrameworkManager on my local machine, connect to the datasource and publish packages. It only craps out when I try to open any of the reporting studios against the packages.

Further to this, I published a small test package with one item and accessing that also throws this message, so whatever it's doing in the background to fetch the metadata is probably causing this.

Any ideas/suggestions welcome.

If you fire up Cognos Configuration, are all the Cognos services started? What happens if you restart the main Cognos 10 service?

MF.