Jump to content

Featured Replies

Posted

Hello,

This morning my forum is totally down after clearing caches and disabling the spam analysis a few hours ago. ( https://forum.madeinlens.com )

This was following another problems with notifications and possibly cloudflare, I followed this answers:


I've been trying to nullify the serviceworker.js but doesn't do anything.
The cache seems to ve reconstrcuting correctly in the "datastore" folder but looks like there is a javscript loop somewhere? Help?

Uploading Attachment...

image.png

Could this be related to a banned IP adress?

Solved by Marc

Go to solution
  • Community Expert

Your site appears to be online this end. Have you since resolved the issue?

  • Author
2 hours ago, Marc said:

Your site appears to be online this end. Have you since resolved the issue?

Erratum : Scratch that, looks like I have to keep Cloudflare.

Do you have recommendations regarding Cloudflare configuration? Looks like I have to keep the subdomain proxied. But what of the X/twitter integration bug? Do I have to enable a cache rule to avoid caching?

Outdated:

Yes it seems good now. It was because of the many IP addresses from a newly banned member. Those were from a VPN, and several other members (including me) were using the same VPN, or at least that seems to be what solved the problem in the end.

I think Cloudflare didn't helped to have a comprehensive behavior but I'll check back to you soon to aks for recommendations. There is another topic for this.
Thanks!

Edited by AssoMiL

  • Author
1 minute ago, Marc said:

Glad to see you now have things sorted

Somehow, still what about my question please:
Do you have recommendations regarding Cloudflare configuration? Looks like I have to keep the subdomain proxied. But what of the X/twitter integration bug? Do I have to enable a cache rule to avoid caching?


We still have some unavailibility throught some IPs/anabling or disabling our VPN (client end).
And a "Banned" scree that shows up from time to time, but not as bad as yesterday.

  • Author

And this is still happening :(

image.png

Service worker provoke a "banned" screen :

image.png

  • Community Expert
  • Solution

We cannot assist with your cloudflare config. It does indeed look like you are banning IPs that cloudflare is proxying, looking at that

  • Author
32 minutes ago, Marc said:

We cannot assist with your cloudflare config. It does indeed look like you are banning IPs that cloudflare is proxying, looking at that

I only found the banned IPs in the Admin CP, and the user search. Is there any other way to fetch the list of banned IPs (even directly with the database)?

One of my moderators deleted yesterday's banned user, so I can't no more look at it; But I'm willing to do a clean sheet and delete all banned IPs, or by date, etc. So far I only found the gigantic MySQL table of all users IPs, should I look into this?

  • Community Expert
29 minutes ago, AssoMiL said:

One of my moderators deleted yesterday's banned user, so I can't no more look at it; But I'm willing to do a clean sheet and delete all banned IPs, or by date, etc. So far I only found the gigantic MySQL table of all users IPs, should I look into this?

You will not want to look into the MySQL table (this is outside our scope of support but if you do, please be sure to take a backup before you make any change.). You will want to clear any impacted IP Addresses from the front-end.

  • Author

It's all good now, and for good I think. Thanks you for the quick support and especially @Marc .

For the users who come across this or the problem of having "banned screens" :

  • If you use Cloudflare and ban users, be sure to NOT ban the IP adresses as they probably will be the ones of Cloudflare proxies ( https://www.cloudflare.com/ips/ )

  • In the admin CP (use the direct URL or log in from another IP) search for the Ban settings, and delete IPs entries corresponding to Cloudflare (most likely, the most recent ones)

I will suggest to the Invision team :

  • On the moderators panel to ban a user by IP, at least put a warning message, in the case that users have many IPs adresses in the logs, or check them against IP ranges from popular services like Cloudflare;

  • In the Admin CP, I find unclear that there is 2 screens, one for Ban filters (where I found the IPs), one for banned users;

  • When deleting a user, add an option to delete the ban filters related to him, or at least a warning message in the case where the user have other related data (to be fair, I only worked on all of this in the Admin CP, so if one of those already exists moderator-side, sorry).

  • Community Expert

In AdminCP > Advanced Configuration > Server Environment, do you have the Trust IP addresses provided by proxies setting enabled?

  • Author
22 minutes ago, Stuart Silvester said:

In AdminCP > Advanced Configuration > Server Environment, do you have the Trust IP addresses provided by proxies setting enabled?

Nope, the help message strongly don't recommend it tho, but I understand it will probably help with CF ^^

  • Community Expert
1 hour ago, AssoMiL said:

Nope, the help message strongly don't recommend it tho, but I understand it will probably help with CF ^^

It is required when using a proxy 😉

Recently Browsing 0

  • No registered users viewing this page.