Hello,When creating a ticket I am getting this error:Gateway Time-outThe gateway did not receive a timely response from the upstream server or application.

I have contacted my webhosting provider and got the answer:

The script responsible for the ticketing system needs more time to process the request. During the process the timeout limit set on the server is reached which causes the 504 Bad Gateway error. For your convenience I am including the error message:

Timeout waiting for output from CGI script /home/littlel2/public_html/support/open.php, referer: http://www.littlelukas.com/support/open.php

They couldn't increase the time and help. My question is any other solution how to fix this problem?

Thank you for your help.

Never seen a time-out problem with osTicket - usually it's pretty fast.What is the current php timeout that is set?What version of PHP?How much RAM/CPU (or let's say performance) is offered for osTicket by your hoster?What version of osTicket are you running?

The short version: Find a new web host.

4 years later

I've got the same error reported by my customers. Does it have something to do with large entries? I've put the max execution time to 300, and they're sending tickets in with content about 500 - 1000 words.

This thread is 4 years old. Please do not be a necromancer and start your own thread with your environment details.

A gateway timeout is a pretty generic message which basically boils down to the client did not receive a timely response from a server. This could for a variety of reasons. You would want to look at your [unknown] webserver error logs and see if anything is logged, your PHP error logs to see if there is a time out message, and lastly turn on the MySQL Slow query log and consult them to see if there is a problem being logged there.

Killing zombie thread with a headshot.

Write a Reply...