Navigation Menu

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

Matomo updates perfectly via http proxy - Marketplace does not work at all #15474

Closed
cklabautermann opened this issue Jan 28, 2020 · 2 comments
Closed
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@cklabautermann
Copy link

cklabautermann commented Jan 28, 2020

Good morning,

I have this issue for a long time and would like to get rid of it.

My setup is behind a firewall. incoming tracking requests hit matomo via DNAT, so source ip´s stay untouched.
Outgoing requests like update checks are done via a intransparent proxy.
While matomo updates work perfectly via this setup, marketplace does not work at all.

a klick on "Marketplace" in the backend leads to the following line in apache error.log:

[client <PROXY_IP>:40442]Error in Matomo: There was an error reading the response from the Marketplace: Please try again later.

The proxy itself logs:

srcip="<MATOMO_IP" dstip="185.31.40.177.....statuscode="200""

http-proxy is defined in ../matomo/config/config.ini.php:

[proxy]
host = "PROXY_IP"
port = PROXY_PORT

Thanks for help and best regards,
Claudio

@tsteur
Copy link
Member

tsteur commented Jan 28, 2020

By the looks both marketplace and core is using the same method etc to download the data. Is there any way you could get more information what is happening there or maybe even debug what is maybe happening in the core/Http.php file?

@cklabautermann
Copy link
Author

@tsteur I was helped in the forum. They asked if the reason could be SSL related. I remembered that updating my Matomo only works via insecured http connection.
I was able to change the proxy from intransparent to transparent and deleted the proxy lines in the config.ini.php.
It was confusing to me that in the configuration of the marketplace plugin the URL is mentioned as 'http://plugins.matomo.org' and so I did not think that SSL (redirection) could be involved.
Fortunately this was easily solved.
Thanks and regards,
Claudio

@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Feb 10, 2020
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

3 participants