AdGuardForSafari icon indicating copy to clipboard operation
AdGuardForSafari copied to clipboard

Unable to reload when AdGuard for Safari is enabled and Web Inspector is displayed

Open shungo27 opened this issue 10 months ago • 10 comments

Please answer the following questions for yourself before submitting an issue.

  • [x] I am running the latest version
  • [x] I made sure all content blockers are enabled in Safari settings
  • [x] I checked the documentation and found no answer
  • [x] I checked to make sure that this issue has not already been filed

AdGuard version

1.11.17

Environment

- OS: macOS Sonoma 14.4.1
- Safari version: 17.4.1

What filters do you have enabled?

AdGuard Base filter, AdGuard Japanese filter, AdGuard Tracking Protection filter, AdGuard Social Media filter, AdGuard Cookie Notices filter, AdGuard Popups filter, AdGuard Mobile App Banners filter

Issue Details

Steps to reproduce:

  1. Enable AdGuard for Safari.
  2. Open Web Inspector in Safari (Command + Option + I).
  3. Reload Safari (Command + R).

Expected Behavior

No response

Actual Behavior

The progress bar is stuck and the reload does not finish. At this, AdGuard Scriptlets Version 1.10.1 is displayed in Web Inspector.

Screenshots

Screenshot 1:

Additional Information

There are two ways to reload: a. Close Web Inspector b. Disable AdGuarod for Safari from Safari preferences.

shungo27 avatar Mar 26 '24 20:03 shungo27

@shungo27 Hello! We couldn't reproduce the problem. Is reload not working on any particular page or all pages? Have you tried reinstalling AdGuard for Safari?

alexx7311 avatar Apr 01 '24 12:04 alexx7311

@alexx7311 hi. Almost all pages cannot reload. I have reinstalled and updated the filters about 3 times.

google.com apple.com amazon.com

shungo27 avatar Apr 01 '24 18:04 shungo27

I have almost the same issue, once in a while pages cant load, the tab is "frozen" and just showing a blank page / activity is ongoing but the page dont load.

Can't right click to bring webinspector up, pause on adguard and the pageloading works

AdGuard can then be enabled again and It works for a while, this happens a couple of times a day. Can I try to activate some kind of logging to maybe get a log to send?

Sonoma 14.4.1 , newest Safari

dawwe avatar Apr 11 '24 07:04 dawwe

@shungo27 @dawwe Are there any other extensions installed in Safari besides AdGuard for Safari? If installed, try disabling them. Please collect the logs according to these instructions:

  1. Make sure all Safari content blockers are enabled;
  2. Reproduce the issue and remember the exact time when it happened;
  3. Open the extension settings --> Export logs and system info;
  4. Send the archive to [email protected] and mention this issue number (972) in the subject and the time the issue was reproduced.

alexx7311 avatar Apr 11 '24 09:04 alexx7311

No other extensions installed

All Safari content blockers are enabled, I tried exporting logs in my own faultfinding but did not se anything out of the ordinary, but will record time and send logs when it happens again.

When the fault happens the blur "loading" bar is present, has moved about 1/4 of the way and it just sits there until the tab / safari is closed or pause AdGuard. The tab is unresponsive , cant open webinspector or right klick anywhere on the blank page beeing displayed

dawwe avatar Apr 11 '24 10:04 dawwe

Can also note that I did a clean install with the guide from AdGuards homepage deleting all data yesterday but the error occured again this morning

dawwe avatar Apr 11 '24 10:04 dawwe

@alexx7311 - Sent a logfile to the above emailaddress.

dawwe avatar Apr 11 '24 11:04 dawwe

Is there a way to activate more logging to catch the deadlock that seems to happen? When this happens and i kill "AdGuardForSafariBlockerExtension" process the page continues to load correctly, so it seems like a loop or a regexp that can't finish somewhere in the rules

dawwe avatar Apr 24 '24 08:04 dawwe

@dawwe Your issue seems different than mine. My macOS process does not have "AdGuardForSafariBlockerExtension". process

shungo27 avatar Apr 24 '24 09:04 shungo27

@shungo27 - Im sorry if I hijacked your issue, I assumed that the issue was the same, maybe I should create a related issue instead if they are not the same

dawwe avatar Apr 24 '24 10:04 dawwe

My problem seems to be related to "DisplayLink" for an external screen, when "Display Link Manager" was not active Safari would not hang, and now on Sonoma 14.5 the error seems to have been rectified.

@shungo27 - also using a dock and display link?

dawwe avatar May 21 '24 21:05 dawwe

@dawwe no, I only use a macbook air.

shungo27 avatar Jun 10 '24 11:06 shungo27

I was able to solve the problem by unchecking "All Requests" as shown in the attached screenshot. allrequests

shungo27 avatar Jun 10 '24 11:06 shungo27