SockFilter + Battlefield 6 may cause disconnection (in-game error code 0:85009S or unknown)
Please answer the following questions for yourself before submitting an issue
- [x] Filters were updated before reproducing an issue
- [x] I checked the knowledge base and found no answer
- [x] I checked to make sure that this issue has not already been filed
AdGuard version
7.22.7 (5271)
Browser version
Chrome 148, keeps latest per every week
OS version
Windows 11 25H2 26200.8246
Traffic filtering
- [x] yes, I do
Ad Blocking
AdGuard Base filter
Privacy
AdGuard URL Tracking filter, AdGuard Tracking Protection filter
Social
No response
Annoyances
Adblock Warning Removal List
Security
Online Malicious URL Blocklist
Other
No response
Language-specific
AdGuard Chinese filter, List-KR, AdGuard Japanese filter
Which DNS server do you use?
DNS protection disabled
DNS protocol
None
Custom DNS
No response
What Stealth Mode options do you have enabled?
No response
Support ticket ID
1398578
Issue Details
Steps to reproduce:
- Make sure AdGuard is using SockFilter. Filtered app list: Edge WebView, Google Chrome, Microsoft Edge, Internet Explorer, Modern UI hosted apps, Mozilla Firefox (Do not add Battlefield 6 here)
- Run Battlefield 6. (Steam version)
- Login, and try to play the game.
This is already reported to support and they suggested me to write this at here. There's no current workaround that I've found while using SockFilter. It'll eventually trigger connection loss of Battlefield 6's game servers, both lobby and in-game session servers.
Expected Behavior
A regular gameplay should be possible without any problem just like other online-only games, regardless of AdGuard network driver choice.
Actual Behavior
When player's in-game or just using lobby interfaces, the game eventually kick you out with error code 0:85009S, or unknown error. Once it happens, it never allows player to login until shutdown AdGuard or use WFP driver instead, and restart the game.
Screenshots
No response
Additional Information
Workaround: Shutdown AdGuard service while playing Battlefield 6, or use WFP driver.
I chose shutdown AdGuard service because WFP became super slow starting several weeks ago, even after clean AdGuard reinstall and setup options from scratch.
I've seen this problem on Battlefield 6 (EA Javelin anti-cheat), but it could be any games that are using anti-cheat with hardened settings. If other games also have similar problem, try WFP while playing it or shutdown AdGuard service while gaming by toggling the big protection switch of AdGuard's main tab. Restarting the game might be needed. Not adding game to the filtered app list does not have any effect in this case, I did not added BF6 to have this outcome.
@astralpowered Hello!
Could you please try updating to the latest Nightly build of AdGuard for Windows and check if the issue persists? This is version 8.0 and it contains changes to the SockFilter driver's harness, which may resolve the problem.
If the issue still persists on the Nightly build, please record your application logs. We need them to diagnose the root cause. Here is what we need you to do:
- Collect the debug log as it's explained here.
- Remember the exact time when the issue was reproduced.
- Send the archive to [email protected]:
- include
[windows]keyword andISSUE_NUMBERin the subject of your email - specify the exact time when the issue occurred
@astralpowered Hello!
Could you please let us know if you were able to reproduce this issue and record the application logs?
We will close this issue due to inactivity if we don't hear from you in 2 days. You can always reopen it if the issue still persists, and we will continue our investigation.
Log sent, issue persists on 8.0 nightly 48 (5468). Around PM 7:55:25 Sorry for late, I didn't even thought single time I'd receive additional request of this.
Additionally, I saw weird AdGuard behavior-AdGuard turned itself off or forcefully turned off bo something, while I set it to use WFP driver and order BF6 application to reconnect the game servers. For game, I tried both SockFIlter and WFP on that build and both kicked me out of the servers with the same symptom.
There's an ongoing connection error issue there at BF6 with similar symptoms, but my computer's away from that problem when I deactivate AdGuard. This problem may be unable to be solved at AdGuard side solely. If you guys can't fix it, then probably it's better to inform affected users to deactivate it while playing BF6 until the mess sorted out.
My suggestion for normal BF6 players using AdGuard is
Turn AdGuard OFF while playing Battlefield 6.
WFP driver is no longer a working workaround, or never was. BF6 devs may tripped something at the right timing when I started to use SockFilter because of the other reason outside of BF6.
@astralpowered Got it! Could you please try to open the App Management tab in AdGuard, find Battlefield 6, and disable the Route traffic through AdGuard option for it?
Click to view the example screenshot
After you have disabled the routing, please try to reproduce the issue with the WFP and SockFilter drivers, and let us know if the issue still persists.
Issue still persists, even with disabling 'Route traffic through AdGuard' for following: EA (EA App) EA Background Service EA Javelin Anticheat Battlefield™ 6
So it looks like BF6 is complaining AdGuard's driver regardless its traffic is routed or not.
ALso I had a significantly unusable UI experience with that page. Will complain that separately...
@astralpowered If Route traffic through AdGuard is disabled, does this issue occur only with the SockFilter driver, or does it happen with the WFP driver as well?
Just completed one game with WFP driver enabled and filtering Chrome while BF6 and those EA services are not filtered by AdGuard. Game didn't booted me out, usually I wasn't able to play 10+ minutes. Will do one more game and update this. -->> UPDATE: WFP but not filtered works. SockFilter with not filtered disconnects.
In short, SockFilter (but not filtering BF6) doesn't work and needed AdGuard disabled to play right, but WFP without filtering BF6 works yet. Not filtering BF6 is necessary with WFP. Not sure for Javelin but no reason to filter that if I'm playing BF6 in the legit way.
@astralpowered Hello!
We have recently released version 7.22.8, which includes SockFilter-related changes.
Could you please update to this version and check if the issue still occurs? Let us know how it goes.
@AlexandrPkhm Sorry to ping you too late.. Do you mean downgrade to 7.22.8 from 8.0.5491.0? I'm still in the nightly channel yet. That 8.0.x nightly version it's still kicking me out of the game with same symptom in same settings.
Same issue pattern confirmed in another application (Qt 6 + QtWebEngine based cloud desktop client). The application hangs with all threads waiting, including 1 thread stuck in LpcReply. Adding the app to exclusion list does NOT resolve the issue - the LSP layer in Winsock chain still causes deadlock regardless of filtering rules.
Reference: https://github.com/AdguardTeam/AdguardForWindows/issues/6069
This appears to be a broader LSP compatibility issue affecting applications that use Winsock in specific patterns (games, Qt WebEngine, etc.), not just a per-app filtering problem.
I have the same issue with Battlefield 6. The only solution right now seems to be disabling Adguard when using SockFilter. I haven't tried WFP with disabled filtering per app, since WFP driver give me several other unsolved issues since it release years ago.
Really looking forward for an update!
@astralpowered @28Black Hello!
We've prepared a testing build with an updated version of the SockFilter driver that may resolve the issue. Could you give it a try?
Download: AdGuard testing build (v8.0.5550.3)
Please install it and check if the issue still persists.
If it does, we'll need to take a look at your application logs. Here's what you need to do in this case:
- Collect the debug log as it's explained here.
- Remember the exact time when the issue was reproduced.
- Send the archive to [email protected]:
- include
[windows]keyword andISSUE_NUMBERin the subject of your email - specify the exact time when the issue occurred
I sent the log package few minutes ago. The result is: No differences. Same symptom. Updated using installer from provided link, came from 7.22.9, only changed filter driver to SockFilter, debug mode log and nothing was changed so all apps were filtered.
I went back to 7.22.9 again because my daily life is getting disturbed too much. What @JinkaiNiu found seems to be a wider issue. While I was using 8.0 nightly recently, Xbox app and EA app stuck in loading or errored. Microosft To Do seem to be malfunctioning also. For Xbox app and EA app, I set those not to be filtered but they didn't work until I turn off AdGuard protection entirely.
Just confirming that I also have this issue. Getting Error code 85009s in-game. Changing adguard to WFP fixes it.
@astralpowered @28Black @dafootballer Hello!
We've prepared another testing build with the updated SockFilter driver. Could you please give it a try?
You can download it here: AdGuard testing build (v8.0.5583.6)
If the issue still occurs after testing, please record and send your application logs using the steps mentioned earlier: link to comment.
Thanks for your help and patience!
@astralpowered, @28Black, @dafootballer Hello!
Could you please test the nightly build (AdGuard for Windows 8.0.0 nightly 59) and confirm whether the issue still happens?
We appreciate your help, and we're ready to assist if you run into any problems.
@astralpowered, @28Black, @dafootballer Hello!
Could you please test the nightly build (AdGuard for Windows 8.0.0 nightly 59) and confirm whether the issue still happens?
We appreciate your help, and we're ready to assist if you run into any problems.
Still happening on the latest nightly build both with the same error code and a new one this time I think (as seen in screenshot below). Might be unrelated though.
@astralpowered, @28Black, @dafootballer Hello!
We've identified a bug in the SockFilter driver, and our driver provider has already released a fix. We've now prepared a new testing build for you.
Could you please install the build from the link below and let us know if the issue still occurs? If it does, any details you can share (steps to reproduce, logs, etc.) would be very helpful.
Thanks a lot for your help! We really appreciate it.
@AlexandrPkhm Hi, I wasn't able to test anything because the game itself don't run at all while AdGuard's active with using SockFilter. It's normal until splash screen disappears, but the game itself never launches or delayed super heavily(I stopped launching using Steam's stop button after 3 minutes passed) that is not normal. Yes, I excluded BF6 and Javelin, I turned off auto-filter unknown apps switch. Yes, it's in this testing build you just provided us today. The problem's.. got worsened?
On the other hand, same version, WFP driver with redirect driver mode ON* but BF6&Javelin excluded works well in this same testing build also. In same config BF6 worked with AdGuard 7.x, so app exclusion feature variable is sorted out of the cause.
- Without it, web browsers always stuck(probably fail) to DNS lookup for few seconds and does the alternate method. It appeared few months ago and it's still there.
I recently had screwed connections(Very often 1000ms+ ping to game servers) on Wuthering Waves with SockFilter driver at AdGuard version 7.x last stable version. That driver really need some serious work before leaving the beta status.
off-topic but still adguard: That auto-filter unknown apps switch at app management page is really useful, it'll be much more useful if 'recently identified apps list' is also provided though.
Have the same issue here, SocksFilter keep kicking me out of the game, and WFP driver clashes with Riot Vanguard... , i keep having the issue even if i switch to WFP.. turning off the filtering against BF6, javelin anticheat wont help too. Weird.