Support

Admin Tools

#37347 ControlPanel.min.js Blocked Requests Graph

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
3.10.10
PHP version
7.4.14
Admin Tools version
6.1.6

Latest post by treat2day on Sunday, 26 June 2022 11:11 CDT

treat2day

Admin Tools control panel is trying to load Blocked Requests Graph but the browsers, Firefox 101.0.1 and Chrome 102.0.5005.115, both show popup to stop loading script.

A search result did not solve the problem - solution to download FEF and install.

https://www.akeeba.com/support/admin-tools/36806:css-missing-in-admintools-and-backup.html#p202042

I used the Firefox troubleshooting option - turn on. The error did not return until I turned off the troubleshooting option.

This error occurs on several domains while others are working as always.

This problem did not occur in the previous version pkg_admintools-6.1.5-pro.

However,Β load Blocked Requests Graph stop loading has occurred in other versions but eventually worked itself out.

This pkg_admintools-6.1.6-pro occurrence is lasting longer with much annoyance.

Any other suggestions?

nicholas
Akeeba Staff
Manager

> but the browsers, Firefox 101.0.1 and Chrome 102.0.5005.115, both show popup to stop loading script.

I am not sure what that popup is. I do not see it on any of my sites, local or live, using these browsers. Can you at least send a screenshot?

For what it's worth, we have not touched the JavaScript or the backend code for the graph since version 6.0.0.

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!

treat2day

Screenshot Admin Tools Professional 6.1.6

nicholas
Akeeba Staff
Manager

I am afraid that we cannot reproduce your problem using Firefox 101:

screenshot_2022-06-26_at_16.16.20.png

Likewise with Chrome 103:

screenshot_2022-06-26_at_16.19.15.png

The graphs loaded within a second and a half. This is from a live site keeping the last 1000 blocked requests.

It is possible that you have a very slow server which takes several dozens of seconds to respond, or you have a third party browser extension or a system-level firewall which blocks the asynchronous request sent to your server to retrieve the data which populates the graph. Off the top of my head there's a timeout of either 30 or 60 seconds for that request. If it takes longer or is completely blocked in a way that it doesn't error out you will indeed get a popup by your browser telling you that the request timed out (that's what you showed me in your screenshot). There is really nothing we can do about the setup of your own host and/or your browser.

There is no way the database query which produces the data can be any faster. It's already using database table indices and SQL query optimisations to be as fast as it can possibly be. If your server is really so slow you can always go to the component's Options and disable the graphs.

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!

treat2day

Okay. It is not a problem other domains on the server. It is not important enough to spend anymore time on it. Like in the past, it eventually repairs itself without me doing anything.

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!