Experiencing a 401 Unauthorized Error During Update?
If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here(
onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.
Implemented CACHING: Could not read file "collected_blacklist" from expired cache
- Norsk Jernbaneklubb
- Topic Author
- Offline
- Posts: 24
- Thank you received: 2
If you set Cache Collected IP Addresses in Advanced options to Yes, the log file is filled up with messages like these:
2022-01-06T09:38:45+00:00 ERROR 114.119.130.xxx ochsimplefirewall CACHING: Could not read file "collected_blacklist" from expired cache
2022-01-06T09:39:23+00:00 ERROR 103.165.21.xxx ochsimplefirewall CACHING: Could not read file "collected_blacklist" from expired cache
(Replaced last octet with xxx)
This makes the log file grow to several MB's in a short time on our busy production site. We've had this parameter on for a long time, and have not seen this before. Confirmed same behaviour on a test site. All running Joomla 3.10.4 and
When changing the parameter to No, the log file "reverts" to normal and only reports the blocked GeoIP-addresses.
- Ruud van Lent
- Offline
- Posts: 1640
- Thank you received: 107
that would mean that the collected blacklist cannot be cached in the joomla cache and as susch it cannot read it from the cache.
Do you have joomla caching turned on?
What type of caching do you have configured in global settings (file / experimental memcache, ?
when you goto system > clear cache, do you see plg_system_ochsimplefirewall as cache group?
Do you have a test server where you can reproduce this issue (that I can use for debudding)?
- Norsk Jernbaneklubb
- Topic Author
- Offline
- Posts: 24
- Thank you received: 2
I see now that turning Joomla cache on fixes the logfile problem.
So the problem arises when having your paramater ON and Joomla cache OFF. Please let us know if you still need access to our test site.
PS. When clicking on your mail I get the Dutch language version of the forum. Removing /nl before /forum changes it to English.
Regards,
Frode
- Ruud van Lent
- Offline
- Posts: 1640
- Thank you received: 107
Could you try turning cache off and clearing the cache (all or only plg_system_ochsimplefirewall) and see if that fixes the message? In the logfile (when debuding is turned on in the plugin, you can see if the cachefiles are correctly created
So the problem arises when having your paramater ON and Joomla cache OFF. Please let us know if you still need access to our test site.
PS. When clicking on your mail I get the Dutch language version of the forum. Removing /nl before /forum changes it to English.
Regards,
Frode
I think the /nl is a feature of Kunena as it probably gets the link used in the mail for the user who is doing the reply (which is NL for me)
- Norsk Jernbaneklubb
- Topic Author
- Offline
- Posts: 24
- Thank you received: 2
Regarding /nl, no problem.
- Ruud van Lent
- Offline
- Posts: 1640
- Thank you received: 107
- Ruud van Lent
- Offline
- Posts: 1640
- Thank you received: 107
Can you verify that the /media/plg_system_ochsimplefirewall/ipsets/collected_blacklist.ipset file is non-existing?
- Norsk Jernbaneklubb
- Topic Author
- Offline
- Posts: 24
- Thank you received: 2
- Ruud van Lent
- Offline
- Posts: 1640
- Thank you received: 107
fix on the way
- Ruud van Lent
- Offline
- Posts: 1640
- Thank you received: 107
closing this topic.
Thanks for reporting Frode. If you have any other questions / suggestions feel free to open a new topic.
regards,
Ruud.