CoreLibs
CoreLibs copied to clipboard
Browser uses the default certificate after re-enabling protection
Please answer the following questions for yourself before submitting an issue.
- [X] I am running the latest version
- [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
4.3n21
Environment
- OS: Android 11
- Device: POCO F1
Root access
- [X] Yes, I have it.
What filters do you have enabled?
AdGuard Base filter, AdGuard Mobile Ads filter, AdGuard Russian filter, AdGuard Tracking Protection filter, AdGuard URL Tracking filter, AdGuard Social Media filter, AdGuard Annoyances filter
What Stealth Mode options do you have enabled?
No response
Issue Details
Steps to reproduce:
- Disable protection
- Open
github.com
in Chrome - Check the certificate and you will see it's given by
DigiCert
- Return to app and enable protection
- Refresh the page.
Expected Behavior
The certificate must be provided by AdGuard.
Actual Behavior
The certificate are provided by DigiCert.
Screenshots
Screenshot 1:
Additional Information
No response
@zloyden doesn't repeat this for me. How quickly do you get back to the browser after enabling protection? It takes some time for the application to enable protection. Please try enabling protection, wait for example 10-20 seconds, then try refreshing the page
@zloyden Could it be due to the service worker caching?
Please try enabling protection, wait for example 10-20 seconds, then try refreshing the page
I usually wait ~10 seconds, but today I have waited over 20 seconds and still the same thing.
Could it be due to the service worker caching?
I don't notice that they use sw, but I've tested on my personal device which have 4.2 that works via local VPN and there is no such issue.
For instance, I've checked github.com
, ya.ru
with the same pattern, but after restarting the protection, the certificate changes to AdGuard normally.
Meanwhile, on POCO F1 it does not work as expected. Perhaps a CoreLibs issue or something is wrong with the Proxy mode.
@ameshkov looks like a CoreLibs issue. I have the same on Windows using the latest nightly (CL 1.13.81).
Closing idle sockets helps here chrome://net-internals/#sockets
.