Ip address blocked after opening matomo ERR_CONNECTION_TIMED_OUT

Hi,

when I am using matomo my ip address is blocked by the server.
Google Chrome shows ERR_CONNECTION_TIMED_OUT .
It happens, when I open this urls (examples):

  • ?module=PrivacyManager&action=privacySettings&idSite=1&period=day&date=yesterday
  • ?module=CoreHome&action=index&idSite=1&period=day&date=yesterday
  • ?module=CoreAdminHome&action=home&idSite=1&period=day&date=yesterday

My webhoster could not find a reason and I am using the latest version of matomo.

Any ideas why this is happening?

Thanks for your help.
Jan

EDIT:

My webhoster says the first url blocked with 403 was “/lang/en.json”.
Maybe this information helps.

A few minutes ago I was just opening and collapsing menu items and suddenly the page jumped to an ERR_CONNECTION_TIMED_OUT error by Google Chrome.

Are there ajax calls running in the background?

Are you banned from your host?
If so, then the solution is there:

→ in the config file, in [General] section, put:

disable_http_diagnostics = true

Hi @heurteph-ei ,
thank you for your answer!
This did not help, I am still blocked by the apache server. :-/
Do you have another idea?
Thanks, Jan

Hi @krugmedien
Could you have a check in your Matomo error log file?

Hi @heurteph-ei ,

access_log
https://pastebin.com/raw/JnCwyT8x

error_log
https://pastebin.com/raw/iSAYK4PS

There are a lot of request at the same seconds.
My guess is, that I am blocked, because “I” (matomo) make too many requests. (?)

Do this logs help?

Thanks for your time.
Jan

Do you have several tabs opened at the same time on Matomo?
Can you check on your browser network tab how many request are made in some kind of timeframe (minute). Ask your provider what is the connection limit (parallel HTTP request).
Or do you share the same IP (eg. from company network, the IP is the same from the point of view of the Internet) with other people who access Matomo at the same time?

@heurteph-ei thanks for your help.

Do you have several tabs opened at the same time on Matomo?

Only 1 tab. This time I logged in, clicked on the settings icon, I was blocked.

Can you check on your browser network tab how many request are made in some kind of timeframe (minute).

opended dashboard + settings page. result = 104 reqests in 30 seconds.
(details: https://sync.luckycloud.de/f/849ae6592ed1420f887c/ )

Is this normal for matomo?

Or do you share the same IP (eg. from company network, the IP is the same from the point of view of the Internet) with other people who access Matomo at the same time?

I am the only one and using a private internet connection.

Ask your provider what is the connection limit (parallel HTTP request).

Waiting for an response, I’ll update shortly.

In my case, when I open the dashboard, I only send 57 requests…
Maybe you could reduce the number of displayed widgets in the dashboard?

Also, can you past the system check (at least where there are some warnings or errors…)?

(Note: sorry, for security, I can’t access https://sync.luckycloud.de/ or https://pastebin.com/)

@heurteph-ei Thank you very much Philippe for your help!

The solution is to add this line to the config file:

enable_required_directories_diagnostic = 0

Now Matomo is working.

Thanks again and have a great day!
Jan

1 Like