AdBlock Detector Pro

AdBlock Detector Pro [Paid] v2.7.0

No permission to buy ($40.00)
I started getting these errors every hour this morning. It looks like the list could not be updated. There were no server or XF changes. https://easylist.to/easylist/easylist.txt
Is this a normal error when this app cannot connect to get easylist.txt?
XF 2.2.16pl2 PHP 8.2.25

Unfurl errors:
The following error occurred while fetching metadata from URL https://easylist.to/easylist
Could not fetch metadata from URL with error: Response returned a non-successful status code: 404

The following error occurred while fetching metadata from URL https://easylist.to/easylist/easylist.txt
Could not fetch metadata from URL with error: cURL error 28: Connection timed out after 3000 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html

********************
Server error log
  • Exception: wutime_adblock_error EasyList URL used: https://easylist.to/easylist/easylist.txt, is returning an error, trying the default URL.
  • src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php:306
  • Generated by: Unknown account
  • Nov 22, 2024 at 10:23 AM

Stack trace​

#0 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(280): Wutime\AdBlock\Helper\AdBlockExtended::getEasyListBait()
#1 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(147): Wutime\AdBlock\Helper\AdBlockExtended->fetchCachedEasyListBait()
#2 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(27): Wutime\AdBlock\Helper\AdBlockExtended->init()
#3 src/addons/Wutime/AdBlock/Cron/Regenerate.php(28): Wutime\AdBlock\Helper\AdBlockExtended->__construct(false, true)
#4 src/XF/Job/Cron.php(37): Wutime\AdBlock\Cron\Regenerate::addInstanceOfDetectorToDatabase(Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#8 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 8)
#9 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 cmd.php(15): XF\Cli\Runner->run()
#15 {main}

Request state​

array(1) {
["cli"] => string(54) "/home/jeepcj/public_html/community/cmd.php xf:run-jobs"
}
******************************

Server error log
  • Exception: wutime_adblock_error Default EasyList URL of https://easylist.to/easylist/easylist.txt failed to connect. Returning the default value.
  • src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php:318
  • Generated by: Unknown account
  • Nov 22, 2024 at 10:23 AM

Stack trace​

#0 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(280): Wutime\AdBlock\Helper\AdBlockExtended::getEasyListBait()
#1 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(147): Wutime\AdBlock\Helper\AdBlockExtended->fetchCachedEasyListBait()
#2 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(27): Wutime\AdBlock\Helper\AdBlockExtended->init()
#3 src/addons/Wutime/AdBlock/Cron/Regenerate.php(28): Wutime\AdBlock\Helper\AdBlockExtended->__construct(false, true)
#4 src/XF/Job/Cron.php(37): Wutime\AdBlock\Cron\Regenerate::addInstanceOfDetectorToDatabase(Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#8 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 8)
#9 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 cmd.php(15): XF\Cli\Runner->run()
#15 {main}

Request state​

array(1) {
["cli"] => string(54) "/home/jeepcj/public_html/community/cmd.php xf:run-jobs"
}
**************************

Server error log
  • Error: Using $this when not in object context
  • src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php:319
  • Generated by: Unknown account
  • Nov 22, 2024 at 10:23 AM

Stack trace​

#0 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(280): Wutime\AdBlock\Helper\AdBlockExtended::getEasyListBait()
#1 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(147): Wutime\AdBlock\Helper\AdBlockExtended->fetchCachedEasyListBait()
#2 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(27): Wutime\AdBlock\Helper\AdBlockExtended->init()
#3 src/addons/Wutime/AdBlock/Cron/Regenerate.php(28): Wutime\AdBlock\Helper\AdBlockExtended->__construct(false, true)
#4 src/XF/Job/Cron.php(37): Wutime\AdBlock\Cron\Regenerate::addInstanceOfDetectorToDatabase(Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#8 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 8)
#9 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 cmd.php(15): XF\Cli\Runner->run()
#15 {main}

Request state​

array(1) {
["cli"] => string(54) "/home/jeepcj/public_html/community/cmd.php xf:run-jobs"
}
 
Last edited:
I started getting these errors every hour this morning. It looks like the list could not be updated. There were no server or XF changes. https://easylist.to/easylist/easylist.txt
Is this a normal error when this app cannot connect to get easylist.txt?
XF 2.2.16pl2 PHP 8.2.25
The download is set for 3 seconds, so if it timeouts out it would produce that error.

I'm assuming the easy list server was offline temporarily, which isn't uncommon.

Unless you're getting the error numerous times per day?
 
The download is set for 3 seconds, so if it timeouts out it would produce that error.

I'm assuming the easy list server was offline temporarily, which isn't uncommon.

Unless you're getting the error numerous times per day?
It has occurred every hour since 6:23 am this morning. As posted above the unfurl test is failing. Is it normal for these errors to be logged?

1000010692.webp
 
I tried https://easylist.to/easylist/easylist.txt and it downloads on a different connection.
I'll check my server firewall / logs to find out why it is not connecting.
I'm guessing this is what errors are generated on a time out scenero and is expected.
Thanks for the definition clarification @Wutime
 
I tried https://easylist.to/easylist/easylist.txt and it downloads on a different connection.
I'll check my server firewall / logs to find out why it is not connecting.
I'm guessing this is what errors are generated on a time out scenero and is expected.
Thanks for the definition clarification @Wutime
I'm looking from my end. I am curious though, if you SSH into your server so the connection comes from the same end point, are you able to:
Code:
wget https://easylist.to/easylist/easylist.txt
 
I'm looking from my end. I am curious though, if you SSH into your server so the connection comes from the same end point, are you able to:
Code:
wget https://easylist.to/easylist/easylist.txt
Successful.

wt1.webp

Code:
[root@server jvm.options.d]# ping -c5 easylist.to
PING easylist.to (172.67.191.28) 56(84) bytes of data.
64 bytes from 172.67.191.28 (172.67.191.28): icmp_seq=1 ttl=58 time=11.7 ms
64 bytes from 172.67.191.28 (172.67.191.28): icmp_seq=2 ttl=58 time=11.7 ms
64 bytes from 172.67.191.28 (172.67.191.28): icmp_seq=3 ttl=58 time=11.8 ms
64 bytes from 172.67.191.28 (172.67.191.28): icmp_seq=4 ttl=58 time=11.7 ms
64 bytes from 172.67.191.28 (172.67.191.28): icmp_seq=5 ttl=58 time=11.7 ms
 
Last edited:
Even though the WGET shows the IP is not blocked I just added the IP 172.67.191.28 to the CSF temp allow list anyway.
You shouldn't need the whitelist because the call is outgoing, not incoming.

I was concerned whether they had you blocked on their end, not the other way around.

Seems odd the connection suddenly stopped working.

Probably completely unrelated and unimportant, but did you server happen to upgrade to PHP 8.2.26 last night? I know XF v2.2.16 has some strange issues with that upgrade that just occurred with PHP.
 
You shouldn't need the whitelist because the call is outgoing, not incoming.

I was concerned whether they had you blocked on their end, not the other way around.

Seems odd the connection suddenly stopped working.

Probably completely unrelated and unimportant, but did you server happen to upgrade to PHP 8.2.26 last night? I know XF v2.2.16 has some strange issues with that upgrade that just occurred with PHP.
Still on 8.2.25
I added the ip to the white list just in case the addon was waiting for a reply that may have been blocked.
I'm @ a loss... I rebooted the server any way.

1000010703.webp
 
Last edited:
Still on 8.2.25
I added the ip to the white list just in case the addon was waiting for a reply that may have been blocked.
I'm @ a loss... I rebooted the server any way.
I have an update I'll release soon that loosens the timeout along with a couple other changes....

However, meanwhile, please try changing your easy list url to:
Code:
https://easylist-downloads.adblockplus.org/easylist.txt

See if that helps.

The option is under "Advanced Options" the add-on options and the option is titled "Choose your preferred EasyList URL"

Let me know if that resolves the error or not.
 
Per our DM, if I deactivate memcache in config.php the addon is able to connect and download.
Interesting because the contents of the download are saved to a cache for performance. Let me test with memcache locally and see if I can find any issues. I usually use redis for my cache so I haven't tested much with memcache recently.
 
Installed...

Since 7pm est I have had only one error set @ 7:22 (cron triggers hourly @ :22.) It was the time out & failed to connect error.
The third error below (spoiler) has not been generated.
Server error log
  • Error: Using $this when not in object context
  • src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php:319
  • Generated by: Unknown account
  • Nov 22, 2024 at 10:23 AM
#0 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(280): Wutime\AdBlock\Helper\AdBlockExtended::getEasyListBait()
#1 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(147): Wutime\AdBlock\Helper\AdBlockExtended->fetchCachedEasyListBait()
#2 src/addons/Wutime/AdBlock/Helper/AdBlockExtended.php(27): Wutime\AdBlock\Helper\AdBlockExtended->init()
#3 src/addons/Wutime/AdBlock/Cron/Regenerate.php(28): Wutime\AdBlock\Helper\AdBlockExtended->__construct(false, true)
#4 src/XF/Job/Cron.php(37): Wutime\AdBlock\Cron\Regenerate::addInstanceOfDetectorToDatabase(Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#8 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 8)
#9 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 cmd.php(15): XF\Cli\Runner->run()
#15 {main}
array(1) {
["cli"] => string(54) "/home/jeepcj/public_html/community/cmd.php xf:run-jobs"
}
I am installing Redis tonight.
 
Back
Top Bottom