[SOLVED] 504 Gateway Error at index.pl on fresh install

Moderator: crythias

Locked
matsam
Znuny newbie
Posts: 3
Joined: 25 Mar 2015, 03:21
Znuny Version: 4.0.6

[SOLVED] 504 Gateway Error at index.pl on fresh install

Post by matsam »

I have just installed OTRS 4 on an Oracle Enterprise Linux machine.

I am encountering an issue when I try to log in for the first time with root@localhost. After entering the credentials, the page never loads, and the following errors are visible in the apache error log:

Script timed out before returning headers: index.pl, referer: http://192.168.16.137/otrs/index.pl?
AH01220: Timeout waiting for output from CGI script /opt/otrs/bin/cgi-bin/index.pl, referer: http://192.168.16.137/otrs/index.pl?

After a while, a 504 Gateway error is displayed on the page.

Something I noticed is that when I enter incorrect credentials, I am notified that they are incorrect, so I figured that the login process and connection to the DB are in working order.

After the error is displayed, refreshing the page does not reload the login page. The error is displayed again. In order to have the login screen appear again, I need to run the otrs.CleanUp.PL script. I think it has something to do with the session already being created, but index.pl not functioning properly.

Have any of you experienced this problem? What do you suggest I check first?
matsam
Znuny newbie
Posts: 3
Joined: 25 Mar 2015, 03:21
Znuny Version: 4.0.6

Re: [SOLVED] 504 Gateway Error at index.pl on fresh install

Post by matsam »

This was solved in two steps:
  • Increasing the TimeOut variable in the Apache conf file.
    Disabled Product and OTRS news from SysConfig.
The issue was being caused by OTRS trying to connect to https://cloud.otrs.com. The server was waiting for a response from the URL, but the server does not have access to the internet.
Locked