WebCord icon indicating copy to clipboard operation
WebCord copied to clipboard

Error while decrypting the chipertext provided to safeStorage.decryptString

Open SkullHex2 opened this issue 2 years ago • 19 comments

Aknowledgements

  • [X] I have checked that there is no other issue describing the same or similar problem that I currently have, regardless if it has been closed or open.

  • [ ] This bug affects Discord website.

  • [ ] This issue is confirmed to be reproduceable when WebCord is packaged on at least all three latest supported Electron major releases.

  • [ ] This issue is reproduceable in Chrome, Chromium or any Chromium-based browser, e.g Brave or Edge (please write in Additional Context which browser you have used if it is neither Chrome nor unmodified Chromium).

  • [X] There are no fixes done to master which resolves this issue.

  • [ ] My issue describes one of the unstable and/or not fully implemented features.

  • [ ] I have found a workaround to mitigate or temporarily fix this issue in affected releases (please write it in Additional context section below).

Operating System / Platform

🪟️ Windows

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

Can't run it, so whatever's packaged with v4.2.0

Application version

v4.2.0

Bug description

I'm getting the following error when installing:

image

This is a fresh Windows 11 installation, so I might be missing some dependencies, even low-level ones. I remember everything was working fine before re-installing Windows, which is basically the only reason why I think I might be missing something.

Additional context

No response

SkullHex2 avatar May 02 '23 13:05 SkullHex2

A temporary fix that I found is to delete the windowState file, located at %AppData%/WebCord/ in Windows.

K0vah1911 avatar May 05 '23 18:05 K0vah1911

This is also happening to me, but I'm using Kubuntu Kinetic. This happened after I've enable "Developer Mode" for bot developing on "Advanced" options in my Discord account, but I don't know if this have any relation with the problem.

ghost avatar May 06 '23 07:05 ghost

I've just installed it on Kali Linux on VM, and it's working normal there. Installed both with .deb package, but also tried to install AppImage, and it has the same problem.

ghost avatar May 06 '23 07:05 ghost

Why is this refering for Windows file paths? webcord

ghost avatar May 06 '23 10:05 ghost

Why is this refering for Windows file paths? webcord

WinStateKeeper is a class name in program, this is a stack that points where it happens in code (file:line:character).

SpacingBat3 avatar May 06 '23 19:05 SpacingBat3

Why is this refering for Windows file paths? webcord

WinStateKeeper is a class name in program, this is a stack that points where it happens in code (file:line:character).

Btw, it stopped working after some hours in my VM also, with the same error.

ghost avatar May 07 '23 16:05 ghost

I'm having the same issue on Fedora 38 Workstation. Screenshot from 2023-05-07 22-19-31

brend-an avatar May 08 '23 02:05 brend-an

I'm having the same issue on Droidian, a mobile Linux OS, with Webcord installed as a flatpak. Any idea where are the configuration files for Webcord, see if deleting them helps as @K0vah1911 reported above? I couldn't find anything in ~/.config/ or ~/.local/share/, I suspect those are not the configuration directories for flatpaks?

[Edit] Found it in ~/.var/app/io.github.spacingbat3.webcord/config/WebCord. Deleting windowState did help indeed. Not sure how long it will last.

Kabouik avatar May 15 '23 11:05 Kabouik

Same issue on Arch Linux, both in the webcord and webcord-bin packages (config files not purged in-between testing both packages, which may explain why the issue persisted on an otherwise fresh install of webcord). Deleting windowState in ~/.config/WebCord seems to have resolved the problem for now.

Worth noting that I was not having this issue prior to updating today.

candlebrae avatar May 15 '23 23:05 candlebrae

Just had this issue when trying to open webcord - deleting ~/.config/WebCord/windowState fixed the issue temporarily. I'm on openSUSE Tumbleweed if that's relevant.

Merlin04 avatar May 21 '23 00:05 Merlin04

Getting the same issue on Pop_OS using the flatpak

totaltommygun avatar Feb 08 '24 21:02 totaltommygun

Same issue on Linux Mint 21 using the flatpak. Webcord v4.7.0 is what is in the Software Manager, Webcord v4.7.1 isn't in there yet.

LazyJ avatar Feb 09 '24 04:02 LazyJ

Experiencing the same issue on Linux Mint 21 via Flatpak. Webcord v4.7.0

fortunefox avatar Feb 09 '24 22:02 fortunefox

Also experiencing the same issue on EndeavourOS via Flatpak. Webcord v4.7.1

BarrelledBiscuit avatar Feb 10 '24 19:02 BarrelledBiscuit

I should be saying, Flatpak builds are not supported by me at all ocommunity maintains them, so don't expect from me fixing any bugs specific to them) and spamming that this issue still happens, especially in case of the Flatpaks, is not helpful at all.

SpacingBat3 avatar Feb 10 '24 20:02 SpacingBat3

I should be saying, Flatpak builds are not supported by me at all ocommunity maintains them, so don't expect from me fixing any bugs specific to them) and spamming that this issue still happens, especially in case of the Flatpaks, is not helpful at all.

Sorry about that! kinda weird on the maintainer to link to this github page to report issues but I guess I should've read the description. 44ce1953-0300-4b36-9a65-367e429c6db2

totaltommygun avatar Feb 11 '24 00:02 totaltommygun

I should be saying, Flatpak builds are not supported by me at all ocommunity maintains them, so don't expect from me fixing any bugs specific to them) and spamming that this issue still happens, especially in case of the Flatpaks, is not helpful at all.

Also, I think I wanted to work on this at some point, but given Electron developers were planning to implement a special API to preserve window bounds, I stopped working on this and waited once this will be resolved. Honestly right now I'm not sure if it's been already implemented or will be implemented at all, I guess I need to either search for that in API docs or Electron's bug tracker to find out how that ended.

SpacingBat3 avatar Feb 11 '24 00:02 SpacingBat3

Same issue on Arch Linux, both in the webcord and webcord-bin packages (config files not purged in-between testing both packages, which may explain why the issue persisted on an otherwise fresh install of webcord). Deleting windowState in ~/.config/WebCord seems to have resolved the problem for now.

Worth noting that I was not having this issue prior to updating today.

This fixed it for me. Thank you, I just had to delete .config/webcord just like you said. Though, I fixed this on my own and came to this issue to post my solution. Should've read this post first but thanks anyways.

liluzibird avatar Mar 02 '24 20:03 liluzibird

A temporary fix that I found is to delete the windowState file, located at %AppData%/WebCord/ in Windows.

Confirming this works. I've basically changed from GNOME to KDE Plasma in Arch Linux and It seems the only problem in WebCord because I've moved was that file (why?)

(The file was ~/.config/WebCord/windowState)

Inky1003 avatar Mar 15 '24 16:03 Inky1003