Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] White screen on start, requires to relaunch Vesktop #969

Open
3 tasks done
Kodarru opened this issue Nov 22, 2024 · 18 comments
Open
3 tasks done

[Bug] White screen on start, requires to relaunch Vesktop #969

Kodarru opened this issue Nov 22, 2024 · 18 comments
Labels
bug Something isn't working

Comments

@Kodarru
Copy link

Kodarru commented Nov 22, 2024

Discord Account

kodarru

Operating System

Arch Linux

Linux Only ~ Desktop Environment

Hyprland on Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

The bug seems to only happen when starting Linux and opening Vesktop. As far as I know, it does not happen if Linux has been running for a bit. There will be no splash screen or anything. It would immediately open to a white screen.

image
image
image

And no, it's not because of the no internet icon. Internet is working completely fine. It's been a bug with my rice I need to fix.

What is the expected behaviour?

Should load normally and lead to the main Discord/Splash screen

How do you recreate this bug or crash?

  1. Boot Arch Linux
  2. Immediately open Vesktop

I really don't know how to give steps on how to recreate the bug

Debug Logs

ncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at VencordDesktopRenderer:16:3440
    at VencordDesktopRenderer:5:497
    at VencordDesktopRenderer:16:50195
    at VencordDesktopRenderer:5:497
    at VencordDesktopRenderer:25:6824
    at VencordDesktopRenderer:5:497
    at VencordDesktopRenderer:25:7117
    at VencordDesktopRenderer:5:497
    at VencordDesktopRenderer:249:43291
    at VencordDesktopRenderer:5:497
VCDRenderer:1 Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at VCDRenderer:1:1144
    at VCDRenderer:1:26074
VCDPreload:1 Uncaught (in promise) Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error.
    at Object.<anonymous> (VCDPreload:1:1903)
    at Object.<anonymous> (VCDPreload:5:3)
    at Module._compile (VM54 loader:1373:14)
    at Module._extensions..js (VM54 loader:1432:10)
    at Module.load (VM54 loader:1215:32)
    at Module._load (VM54 loader:1031:12)
    at c._load (VM68 node_init:2:17025)
    at s._load (VM110 renderer_init:2:31018)
    at VM110 renderer_init:2:33087
    at VM110 renderer_init:2:33556
VCDPreload:1 Uncaught (in promise) Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error.
    at Object.<anonymous> (VCDPreload:1:1986)
    at Object.<anonymous> (VCDPreload:5:3)
    at Module._compile (VM54 loader:1373:14)
    at Module._extensions..js (VM54 loader:1432:10)
    at Module.load (VM54 loader:1215:32)
    at Module._load (VM54 loader:1031:12)
    at c._load (VM68 node_init:2:17025)
    at s._load (VM110 renderer_init:2:31018)
    at VM110 renderer_init:2:33087
    at VM110 renderer_init:2:33556

Request Agreement

  • I have searched the existing issues and found no similar issue
  • I am using the latest Vesktop and Vencord versions
  • This issue occurs on an official release (not just the AUR or Nix packages)
@Kodarru Kodarru added the bug Something isn't working label Nov 22, 2024
@Kodarru
Copy link
Author

Kodarru commented Nov 22, 2024

A restart from the taskbar icon will fix the issue

@Sebron

This comment was marked as spam.

@Kodarru

This comment was marked as off-topic.

@Sebron

This comment was marked as off-topic.

@Kodarru

This comment was marked as off-topic.

@Sebron

This comment was marked as off-topic.

@Kodarru

This comment was marked as off-topic.

@8Vinso8
Copy link

8Vinso8 commented Nov 29, 2024

Using vesktop from AUR on Arch with Hyprland. Same issue. But disabling tray icon somehow fixes it
Edit: Nope, happened again

@aaprispeshkin
Copy link

Same issue here, happens while using all vesktop versions (flatpak, source, appimage and aur). Dev tools output same mistakes outlined here, however nothing seems to fix it. Running from the terminal results in these logs:

APPIMAGE env is not defined, current application is not an AppImage
checkForUpdatesAndNotify called, downloadPromise is null
[arRPC > ipc] listening at /run/user/1000/discord-ipc-0
[arRPC > websocket] listening on 6463
[arRPC > process] started
(node:26838) electron: Failed to load URL: https://discord.com/app with error: ERR_TIMED_OUT
(Use `electron --trace-warnings ...` to show where the warning was created)

@henlo-birb
Copy link

this could be caused by your network settings being messed up, preventing the discord webpage from loading. I was having this issue and it turned out to be because my proxy settings were broken

@Kodarru
Copy link
Author

Kodarru commented Dec 5, 2024

My network settings were completely fine.

@slxdy
Copy link

slxdy commented Dec 7, 2024

For me, this happens when trying to launch Vesktop without an internet connection.
Also, don't restart the entire process. A simple CTRL+R works too

@aaprispeshkin
Copy link

For me, this happens when trying to launch Vesktop without an internet connection. Also, don't restart the entire process. A simple CTRL+R works too

Nope, unfortunately this still happens if I launch vesktop separately after my system has already booted and internet connection was established. CTRL+R also doesn't help, neither does "Restart" button in tray (if that matters at all, "Repair Vencord" button also doesn't help)

@xii69
Copy link

xii69 commented Dec 8, 2024

Same issue, Arch Linux with Hyprland, Vencord is just a white screen

@Kodarru
Copy link
Author

Kodarru commented Dec 9, 2024

If you're going to add onto this thread, please also try to post logs. Press CTRL+SHIFT+i on the white screen, then click console and take a screenshot of that. Thank you!

@aaprispeshkin
Copy link

image
Funnily enough, i went to double-check the logs to make sure the issue still persists, but this time they are different, no longer throwing the "Uncaught DOMException", as outlined in the original post on this issue. Anyway here they are, hope this helps somehow

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at VencordDesktopRenderer:5:497
    at Settings.ts:21:1
    at VencordDesktopRenderer:5:497
    at ContributorModal.tsx:9:1
    at VencordDesktopRenderer:5:497
    at index.tsx:26:1
    at VencordDesktopRenderer:5:497
    at import-plugins:~plugins:1:1
    at VencordDesktopRenderer:5:497
    at Badges.ts:22:1
VCDRenderer:1 Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at VCDRenderer:1:26609
VCDPreload:1 Uncaught (in promise) Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error.
    at Object.<anonymous> (VCDPreload:1:1903)
    at Object.<anonymous> (VCDPreload:5:3)
    at Module._compile (VM55 loader:1484:14)
    at Module._extensions..js (VM55 loader:1564:10)
    at Module.load (VM55 loader:1295:32)
    at Module._load (VM55 loader:1111:12)
    at c._load (VM68 node_init:2:16955)
    at s._load (VM111 renderer_init:2:30981)
    at VM111 renderer_init:2:33050
    at VM111 renderer_init:2:33519
VCDPreload:1 Uncaught (in promise) Error: Script failed to execute, this normally means an error was thrown. Check the renderer console for the error.
    at Object.<anonymous> (VCDPreload:1:1986)
    at Object.<anonymous> (VCDPreload:5:3)
    at Module._compile (VM55 loader:1484:14)
    at Module._extensions..js (VM55 loader:1564:10)
    at Module.load (VM55 loader:1295:32)
    at Module._load (VM55 loader:1111:12)
    at c._load (VM68 node_init:2:16955)
    at s._load (VM111 renderer_init:2:30981)
    at VM111 renderer_init:2:33050
    at VM111 renderer_init:2:33519
    ```

@thiras
Copy link

thiras commented Dec 16, 2024

I confirm the problem with Ubuntu 24.04 and Flatpack installation

@WarpspeedSCP
Copy link

happened to a friend of mine on current latest bazzite, from the discover package manager

@Vencord Vencord locked and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants