A little while ago, the Battle.net app started popping up a message: “Battle.net Agent Went to Sleep” with error code BLZBNTBNA00000005.
Dismissing the message box just results in it popping up again a few seconds later. Killing Battle.net causes the game I was playing to exit immediately, which is no fun when in the middle of a competitive match.
This seems to be a problem with a new version of Blizzard’s Agent.exe, located in ProgramData/Battle.net/Agent/Agent.9124. It’s not the first time they have pushed out a new version that breaks in Wine (GE-Proton9-27 in my case).
Workaround:
Block the new version from being used or refreshed. This only works if an older version (e.g. Agent.9098) is still installed. One probably is, assuming your Battle.net installation is more than a couple days old, because it keeps a prior version around when updating.
chmod a-rwx ProgramData/Battle.net/Agent/Agent.9124 # Remove all access permissions
sudo chattr +i ProgramData/Battle.net/Agent/Agent.9124 # Prevent Battle.net from restoring the permissions
Anyone else seeing this today?
Ah nuts. Just as I switched back to Linux on my new rig. ( Dabbled one win11 for a month, but what a forking shirtshow )