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 3.7.0, IIS 8, HTML 403, PHP 7.1.1 #13834

Closed
andre1502 opened this issue Dec 12, 2018 · 5 comments · May be fixed by DevVault/matomo#1
Closed

Matomo 3.7.0, IIS 8, HTML 403, PHP 7.1.1 #13834

andre1502 opened this issue Dec 12, 2018 · 5 comments · May be fixed by DevVault/matomo#1
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@andre1502
Copy link

Step to reproduce:

  1. Go to dashboard => on left side menu choose Websites->Manage
  2. Content site of HTML most of time will raise error 403 (when try to refresh the page several times, system will load the content properly) [Please refer to uploaded image]
  3. Same things also happens on chart image [On All Websites dashboard page (Index)] and other pages which related to HTML files
  4. IIS settings already allowed html files and use specific user which allow what system needed to run matomo
  5. Web.config also already following latest info from this GitHub project
  6. Clear the cache, login and logout, upgrade to the latest versions still happens all the time

System:

  1. Windows Server 2012 R2, RAM 8GB
  2. IIS 8
  3. PHP 7.1.1, Memory Limit 512M
  4. Matomo 3.7.0

image

Thank you

@fdellwing
Copy link
Contributor

Please take a look into your error_log for more information why you are getting 403s. This is not a Matomo problem.

@tsteur
Copy link
Member

tsteur commented Dec 12, 2018

This is definitely some server configuration issue. Maybe some security mod is active or something? HTTP 403 means forbidden. So something seems to block it. As @fdellwing mentioned I recommend you have a look at the error log. If you can't find the solution, maybe see if someone can help in the forum: https://forum.matomo.org

@tsteur tsteur closed this as completed Dec 12, 2018
@tsteur tsteur added the worksforme The issue cannot be reproduced and things work as intended. label Dec 12, 2018
@andre1502
Copy link
Author

Hi,

I try some suggestions in here:
https://matomo.org/faq/troubleshooting/faq_18485/

After I change it to my own URL it works and can serve the html.
The problem are this not always happens, but mostly happens.
So, with enough patience to refresh the page I can get it working normally again.

As you mentions to check error_log, there is no specific error, only have shown the URL requests got 403.

Thanks.

@andre1502
Copy link
Author

andre1502 commented Dec 13, 2018

Hi,

I found some cause which sometimes Matomo will fetch proxy IP instead of original IP that can cause server block the proxy IP.
Could you help to take a look about it @tsteur
Currently if I whitelist the proxy IP it will works but I sometimes it can have multi or different proxy IP which can be a lot.

I also already follow this guide:
https://matomo.org/faq/how-to-install/faq_98/

Thank you for your help.

@tsteur
Copy link
Member

tsteur commented Dec 13, 2018

I can't really add more besides the guide unfortunately. Those setups can be quite complicated and different from each other etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants