Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core Archive spawns cron jobs that call from IP 0.0.0.0 #14435

Closed
James-Oakley opened this issue May 9, 2019 · 1 comment
Closed

Core Archive spawns cron jobs that call from IP 0.0.0.0 #14435

James-Oakley opened this issue May 9, 2019 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@James-Oakley
Copy link

I started encountering problems where the console core:archive cron job was failing to run. The curl calls that are spawned were failing with 302 forbidden.

I don't have root access to the server my installation runs on, so I asked my hosting provider to check the mod_security logs. They found that a WAF rule was being tripped because the calling IP was showing as 0.0.0.0, and they were blocking requests from there to prevent IP-spoofing abuse.

I've not been able to learn my way around Matomo's source code, so I thought I'd report it here for others to comment: Surely, a localhost originating curl call should come through from 127.0.0.1. Is this something Matomo manually overrides, or if not where does it come from?

TIA.

@tsteur
Copy link
Member

tsteur commented May 9, 2019

@James-Oakley we generally don't answer questions in the issue tracker, especially when they are related to server configuration etc. I recommend you ask this question in the forum https://forum.matomo.org or get in touch with support: https://matomo.org/support-plans/

AFAIK we don't overwrite anything here and just issue regular requests.

@tsteur tsteur closed this as completed May 9, 2019
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants