Can anyone tell me why I am getting this error?Gateway Timeout

Hello.Can anyone tell me why I am getting this error?Gateway Timeout The gateway did not receive a timely response from the upstream server or application.

When I want to add, for example, a file or anything, an error appears as shown in the picture.

How can I solve this problem that I am suffering from and I could not solve this problem.

This is an image I did in Configure Server: PHP as shown in the image here.

Memory limit must be set to 256M, not 256MB

I did as you told me but I still get the problem.

Did you restart all the php services?

for i in $(v-list-sys-php plain);do echo "Restarting php${i}-fpm";systemctl restart php${i}-fpm;done

If that doesn’t work you must show the error log for your domain.

I did this but still same problem.

Last login: Sat Sep 20 16:09:10 2025 from 209.198.132.77
root@cp:~# for i in $(v-list-sys-php plain);do echo “Restarting php${i}-fpm”;systemctl restart php${i}-fpm;done
Restarting php5.6-fpm
Restarting php7.0-fpm
Restarting php7.1-fpm
Restarting php7.2-fpm
Restarting php7.3-fpm
Restarting php7.4-fpm
Restarting php8.0-fpm
Restarting php8.1-fpm
Restarting php8.2-fpm
Restarting php8.3-fpm
root@cp:~#

As I said:

How can I show the error log for my domain? What is the problem?

If using Nginx the log is here: /var/log/nginx/domains/YourDomain.error.log

If using Nginx+Apache2 the log is here: /var/log/apache2/domains/YourDomain.error.log

This is what it looks like to me.

Last login: Sat Sep 20 17:35:50 2025 from 209.198.132.77
root@cp:~# /var/log/nginx/domains/harajsooq.online.error.log
-bash: /var/log/nginx/domains/harajsooq.online.error.log: No such file or directory
root@cp:~#

============

root@cp:~# /var/log/apache2/domains/harajsooq.online.error.log
-bash: /var/log/apache2/domains/harajsooq.online.error.log: Permission denied

You are trying to execute a log, you must check the contents of the file.

Try to reproduce the error again and just after that execute this command:

tail -n40 /var/log/apache2/domains/harajsooq.online.error.log

This is what it looks like to me.

root@cp:\~# tail -n40 /var/log/apache2/domains/harajsooq.online.error.log
\[Sat Sep 20 16:39:09.077438 2025\] \[autoindex:error\] \[pid 2218094:tid 2218130\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:39:11.626079 2025\] \[autoindex:error\] \[pid 2218094:tid 2218101\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:39:12.114232 2025\] \[autoindex:error\] \[pid 2218094:tid 2218109\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:40:05.974253 2025\] \[autoindex:error\] \[pid 2218093:tid 2218117\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:40:09.015849 2025\] \[autoindex:error\] \[pid 2280305:tid 2280338\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:42:29.359139 2025\] \[proxy_fcgi:error\] \[pid 2280305:tid 2280333\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 16:47:30.052007 2025\] \[autoindex:error\] \[pid 2218094:tid 2218103\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:47:32.621569 2025\] \[autoindex:error\] \[pid 2280305:tid 2280320\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:48:50.198615 2025\] \[autoindex:error\] \[pid 2280305:tid 2280328\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:48:53.301268 2025\] \[autoindex:error\] \[pid 2218094:tid 2218125\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:48:54.670880 2025\] \[autoindex:error\] \[pid 2280305:tid 2280330\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:49:32.177310 2025\] \[proxy_fcgi:error\] \[pid 2218093:tid 2218132\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 16:51:03.209366 2025\] \[autoindex:error\] \[pid 2218093:tid 2218116\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:51:06.658866 2025\] \[autoindex:error\] \[pid 2218094:tid 2218102\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:51:07.205277 2025\] \[autoindex:error\] \[pid 2218093:tid 2218139\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 16:51:59.750807 2025\] \[proxy_fcgi:error\] \[pid 2218094:tid 2218131\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 17:01:06.243486 2025\] \[proxy_fcgi:error\] \[pid 2218094:tid 2218096\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 17:07:54.947221 2025\] \[proxy_fcgi:error\] \[pid 2376341:tid 2376386\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 17:14:37.717499 2025\] \[proxy_fcgi:error\] \[pid 2376341:tid 2376384\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 17:18:58.296510 2025\] \[autoindex:error\] \[pid 2376342:tid 2376346\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:18:59.404733 2025\] \[autoindex:error\] \[pid 2376342:tid 2376355\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:19:00.165316 2025\] \[autoindex:error\] \[pid 2376342:tid 2376372\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:19:02.476695 2025\] \[autoindex:error\] \[pid 2376342:tid 2376362\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:19:06.632028 2025\] \[autoindex:error\] \[pid 2376341:tid 2376373\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:19:12.662367 2025\] \[autoindex:error\] \[pid 2376341:tid 2376379\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:19:16.262917 2025\] \[autoindex:error\] \[pid 2376342:tid 2376356\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:19:16.615875 2025\] \[autoindex:error\] \[pid 2376342:tid 2376360\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:19:25.791931 2025\] \[autoindex:error\] \[pid 2376341:tid 2376395\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:19:26.132770 2025\] \[autoindex:error\] \[pid 2376342:tid 2376369\] \[client 209.198.132.77:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:30:14.455185 2025\] \[proxy_fcgi:error\] \[pid 2376341:tid 2376388\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 17:34:38.202141 2025\] \[proxy_fcgi:error\] \[pid 2386846:tid 2386885\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 17:38:46.415187 2025\] \[proxy_fcgi:error\] \[pid 2386847:tid 2386886\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 17:39:32.071205 2025\] \[proxy_fcgi:error\] \[pid 2386846:tid 2386852\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 17:46:23.895121 2025\] \[proxy_fcgi:error\] \[pid 2389644:tid 2389688\] (70007)The timeout specified has expired: \[client 209.198.132.77:0\] AH01075: Error dispatching request to : (polling), referer: https://www.harajsooq.online/admin/fe_language/2/fe_language_string?sort_field=added_date&sort_order=desc&page=1&row=10&search=
\[Sat Sep 20 17:56:04.270954 2025\] \[autoindex:error\] \[pid 2389644:tid 2389685\] \[client 88.7.238.136:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:56:06.659888 2025\] \[autoindex:error\] \[pid 2389644:tid 2389680\] \[client 88.7.238.136:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:56:07.022976 2025\] \[autoindex:error\] \[pid 2391990:tid 2392011\] \[client 88.7.238.136:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:58:07.084875 2025\] \[autoindex:error\] \[pid 2389643:tid 2389653\] \[client 88.7.238.136:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:58:08.689332 2025\] \[autoindex:error\] \[pid 2389643:tid 2389646\] \[client 88.7.238.136:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
\[Sat Sep 20 17:58:08.868960 2025\] \[autoindex:error\] \[pid 2389644:tid 2389683\] \[client 88.7.238.136:0\] AH01276: Cannot serve directory /home/yunus/web/harajsooq.online/public_html/public/storage/PSX_MPC/thumbnail/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive, referer: https://www.harajsooq.online/
root@cp:\~#

Did you reproduce the error?

No, I didn’t do anything.

If you don’t reproduce the error and then check the log, I can’t see the error message.

Should I do this again to make sure..

tail -n40 /var/log/apache2/domains/harajsooq.online.error.log

But still the same problem.

We’re still on the last situation like a year ago…

I’m sorry and I apologize for wasting your precious time. Yes, I really don’t have any experience in this. I just wanted to share the problem that I or someone else is suffering from so that everyone can benefit. It seems that I have burdened you. Sorry and I apologize again.

There is no need to apologize, it should just show that HestiaCP isnt the right solution for you. Just as it is free and easy to install doesnt mean, that it is the “all fiting”-solution.

1 Like