Vendicated / Vencord

The cutest Discord client mod
https://vencord.dev
GNU General Public License v3.0
8.61k stars 1.22k forks source link

[Bug] Discord is spamming Sentry error popups, making the app practically unusable #2698

Closed ColinTimBarndt closed 2 months ago

ColinTimBarndt commented 2 months ago

Discord Account

No response

What happens when the bug or crash occurs?

Whenever I do anything, this popup is being opened over and over again: image Also, you have to dismiss every popup before the app is accepting any further interactions.

What is the expected behaviour?

These popups should obviously not be there. I suppose Discord changed something about their Sentry packages.

How do you recreate this bug or crash?

  1. Open Discord Version 0.0.60.

Errors

image

Request Agreement

Sqaaakoi commented 2 months ago

Are you sure this is a Vencord issue? Does this only occur after injecting Vencord into the stock client? I didn't quickly find any native code relating to Sentry

ColinTimBarndt commented 2 months ago

Ah sorry, I should've checked. Let's hope that Discord fixes this soon.

ColinTimBarndt commented 2 months ago

For those after me who get here in search if a solution:

Here's the fix (Ubuntu/pop!os) by downgrading back to 0.0.59:

  1. Download https://dl.discordapp.net/apps/linux/0.0.59/discord-0.0.59.deb
  2. Install it: sudo dpkg -i ~/Downloads/discord-0.0.59.deb
  3. Disable immediate update: open ~/.config/discord/settings.json and add one line at the bottom:
    {
    // ...
    "MIN_HEIGHT": 500,
    "chromiumSwitches": {}, // <- don't forget the ,
    "SKIP_HOST_UPDATE": true // <- this line
    }
  4. Optionally repair Vencord: sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
  5. Start Discord
alex73630 commented 1 month ago

I'd like to re-open this issue as this only happens after injecting Vencord into the stock client with a version above 0.0.59.

The error doesn't show when Vencord is not injected and can be reproduced 100% of the time.

I wonder if it could be linked to the NoTrack plugin in some way