Support

Admin Tools

#14010 gateway timeout

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Tuesday, 06 November 2012 01:25 CST

allright
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 2.5.7
PHP version: 5.3
MySQL version: 4.1.22
Host: Siteground
Admin Tools version: 2.4.1

Description of my issue:
I added a a secret url parameter, and the site became unaccessible. I could login to the backend once, then never again. I went and renamed main.php to main-disable.php and am able to get back in. Deleted the secret work, saved the config file, renamed the php back to main.php, and was not able to get in. I get the "The gateway did not receive a timely response from the upstream server or application." error 504
At this point the php file is named main-disable.php
What should I do?

nicholas
Akeeba Staff
Manager
Let's make sure that the problem is indeed caused by Admin Tools. In order to do so, try the following:

1. Try setting the Error Reporting level in your Global Configuration to "None". Many errors are caused by harmless PHP Notices and Warnings being output to the browser, breaking anything which requires HTTP header manipulation such as Joomla!'s session management, AJAX calls and download systems.

2. Try to replicate the issue after disabling the "System - Admin Tools" plugin. If you can still replicate the issue, it is not caused by Admin Tools. Disabling that plugin means that Admin Tools code (including the Web Application Firewall) is not running on your site.

3. If you suspect an issue with the .htaccess file, replace its contents with the contents of the stock htaccess.txt file shipped with every version of Joomla!. If you are on GoDaddy please wait for 1-30 minutes for the changes to be effective. Then, retry loading the problem page. If you can still reproduce the error, then it is not caused by .htaccess Maker.

If doing any of the above resulted in the issue still occurring, it's not related with Admin Tools and I can't help you. If doing any of the above did stop the issue from occurring, we'll have to do some troubleshooting.

First go to Admin Tools, Web Application Firewall, Configure WAF. Make sure "Log security exceptions" is set to Yes; if it's not, set it to Yes and click on Save. Now try reproducing your issue. Immediately after that, please go to Admin Tools, Web Application Firewall, Security Exceptions Log and go to the last page. The last log entry should have the date and time of when the issue occurred. Please copy the Reason and Target URL here so that I can help you.

If, however, you do not see a log entry, or the Date and/or IP address do not match your last access, this problem is not caused by Admin Tools' WAF. In this case, you will have to do some .htaccess troubleshooting. You may need to read the general .htaccess troubleshooting page, as well as the page on finding out necessary .htaccess exceptions.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

allright
ok, on point 2 I disabled admin tools, renamed the php file back to main.php and loaded the site. All works as it should. I then re-enabled admin tools, and it still works.

Please understand, this issue started after I put a secret url parameter in the config file. Admin tools has been working for several months without problem. I wanted to try the parameter to see if we wanted to use it going forward. This is an admin tools issue.

thanks

nicholas
Akeeba Staff
Manager
Something in your account of the events I don't understand. You said that you renamed the file back to main.php, re-enabled Admin Tools' plugin and the site works fine. If the site works fine now, how is there a problem which you are sure that is created by Admin Tools? Didn't you just say that after enabling Admin Tools there was no problem?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

allright
sorry, all is working fine now, I just wanted you to understand that this is an admin tools issue.

allright
again, things are not right
I do not have a problem at my computer, but the other super admin at another ip address is having a problem.

He gets the 503 time out error. Again, I disabled the plugin from step 2 above, then got things working without the secret url. The main.php file is named just that.

I then tried again to use the secret url. It worked for me. Then I called the other super admin, and he couldn't login to the administrator area by using the secret url. I determined his ip address and added it to the white list, but that did not solve the problem.

He is only able to login or view the front end when I rename the main.php file to main-disable.php

Something is not working properly obviously, so I need your help again.

nicholas
Akeeba Staff
Manager
This is not an Admin Tools issue.

Please look up HTTP error 503 and HTTP error 504. These are networking errors which have to do either with your host or your other admin's ISP. Since you can access your site it's most likely the other party's ISP.

I mean, all the while you claim it's an Admin Tools issue but you can't even reproduce the issue yourself. And you insist that it's an Admin Tools issue? Which happens even when the plugin is disabled, i.e. when NO Admin Tools code is running? And only happening to the other admin? Think about it and draw your conclusions.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

allright
if it is not an admin tools issue, why, when the file /system/admintools/admintools/main.php is changed to main-disable.php, the problem goes away?

I checked with siteground, and they confirm that the ip for the problem computer had the 504 warning error, but the ip was not blocked.

Thinking about it and drawing conclusions points to admin tools. I don't mean to be a problem, but I would like some help without the sarcasm.

nicholas
Akeeba Staff
Manager
First you said:
ok, on point 2 I disabled admin tools, renamed the php file back to main.php and loaded the site. All works as it should. I then re-enabled admin tools, and it still works.

Translation: enabling or disabling Admin Tools makes no difference to the issue. As a result, it is not ad Admin Tools issue (if it were, enabling Admin Tools should cause the problem to occur).

Then you said:
I do not have a problem at my computer, but the other super admin at another ip address is having a problem.

Translation: it only happens to a specific user, not everyone. As a result, it is not an Admin Tool sissue (it would happen for all users)

Let me reiterate that 503 and 504 errors are networking errors. As such they can't be affected by Admin Tools because Admin Tools has no say on your host's server network configuration for the simple reason that it does not have root privileges or knowledge of your host network's topology.

And now you are saying:
if it is not an admin tools issue, why, when the file /system/admintools/admintools/main.php is changed to main-disable.php, the problem goes away?
which is THE OPPOSITE of what you already said.

Please make up your mind. Disabling the plugin can either have no effect (your first reply) or do have an effect (your last reply). Remember that at this point I am not sitting in front of your computer, I am not your host, I am not your ISP, I am not a psychic and I rely on the information you relay to help you. If what happens is white and you tell me that black is going on then, yeah, expect sarcasm (which in previous post it wasn't; I was actually asking you to read the pages and draw your conclusions based on that information and what you were describing that's going on) and expect me to close the ticket. Like I am doing now. Sorry, I am only here to help people who want to give me accurate information when I ask for it, i.e. they want to get helped.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!