Skip to content

[BUG] Content blocker reload failed (Ads) #182

@cwindolf

Description

@cwindolf

Describe the bug
After focusing away from wBlock, a notification tells me that there are unapplied changes. After returning to the app and hitting the sync / apply button in the top left, ads are not being blocked. The logs (pasted in full below) indicate that the Ads filter is failing to be loaded, and there are some interesting errors like an SFDomainError when loading Ads (Content blocker reload failed).

To Reproduce

I'm on iOS 18.7.2, and just updated so the issue could be related to this version. To reproduce the error in the logs, I just have to hit the apply / sync button in wBlock.

Expected behavior
The Ads extension should load.

Screenshots
I'll paste full logs at the bottom. Thanks for the nice extension and let me know if I can help debug or reproduce further.

Desktop (please complete the following information):

  • OS: iOS 18.7.2
  • wBlock Version 1.1
  • iPhone 13 mini

Additional context

Logs:


2025-12-09 09:22:55 [INFO] System: Logs cleared

2025-12-09 09:22:58 [INFO] FilterApply: Starting filter application process
  Metadata: platform=iOS

2025-12-09 09:22:59 [INFO] FilterUpdate: Fetched version for filter
  Metadata: filter=Bypass Paywalls Clean Filter, version=

2025-12-09 09:23:00 [INFO] FilterApply: Found and downloading updates before applying
  Metadata: count=2

2025-12-09 09:23:00 [INFO] FilterUpdate: Successfully updated filter
  Metadata: filter=AdGuard Annoyances Filter

2025-12-09 09:23:00 [INFO] FilterUpdate: Successfully updated filter
  Metadata: filter=AdGuard Base Filter

2025-12-09 09:23:00 [DEBUG] FilterApply: Converting large category
  Metadata: sourceLines=18499, category=Security

2025-12-09 09:23:00 [INFO] FilterApply: Converted category rules
  Metadata: advancedRules=1284, safariRules=12861, category=Security

2025-12-09 09:23:01 [DEBUG] FilterApply: Converting large category
  Metadata: category=Ads, sourceLines=167401

2025-12-09 09:23:01 [INFO] FilterApply: Converted category rules
  Metadata: category=Ads, safariRules=144398, advancedRules=8348

2025-12-09 09:23:02 [DEBUG] FilterApply: Converting large category
  Metadata: sourceLines=40262, category=Annoyances

2025-12-09 09:23:02 [INFO] FilterApply: Converted category rules
  Metadata: advancedRules=9793, safariRules=20271, category=Annoyances

2025-12-09 09:23:02 [INFO] FilterApply: All conversions finished
  Metadata: conversionTime=1.62s, totalRules=177530

2025-12-09 09:23:03 [ERROR] FilterApply: Content blocker reload failed
  Metadata: category=Ads, attempt=1, error=The operation couldn’t be completed. (SFErrorDomain error 3.), maxRetries=5

2025-12-09 09:23:05 [ERROR] FilterApply: Content blocker reload failed after all attempts
  Metadata: category=Ads, maxRetries=5, error=The operation couldn’t be completed. (SFErrorDomain error 3.), attempt=5

2025-12-09 09:23:08 [WARNING] FilterApply: Some content blocker reloads failed after retries, continuing with advanced rules processing

2025-12-09 09:23:08 [INFO] FilterApply: Building filter engine
  Metadata: targetCount=3, totalLines=19425

2025-12-09 09:23:09 [ERROR] FilterApply: Process completed with errors
  Metadata: status=Failed to reload Ads extension after 5 attempts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions