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

Webcord does not stay logged in on reboot #501

Closed
2 of 7 tasks
Spamakin opened this issue Dec 27, 2023 · 5 comments
Closed
2 of 7 tasks

Webcord does not stay logged in on reboot #501

Spamakin opened this issue Dec 27, 2023 · 5 comments
Assignees
Labels
status:duplicate This issue or pull request already exists status:wontfix This will not be worked on type:bug Something isn't working

Comments

@Spamakin
Copy link

Spamakin commented Dec 27, 2023

Acknowledgements

  • 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 reproducible when WebCord is packaged
    on at least all three latest supported Electron major releases.

  • This issue is reproducible 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).

  • 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

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

v28.1.0

Application version

v4.6.0

Bug description

Every time I start my laptop, I have to login into my Discord account again. If I fully close the app and open it, this does not occur. It is only on startup.

As for the About window not working, it is even more strange. If I click about, Webcord closes the window (not fully shutting down the app) and reopens itself. Then the About window is there but completely greyed out. If I click on the About window, it flashes briefly. I cannot close out of the About window and also if I try to click away from Webcord, Webcord shoves itself to the top of the screen as the current application. If I close the window and reopen Webcord (not fully shutting down the app) Webcord works as normal.

Should I submit the above About bug as a separate issue?

Additional context

I can just temporarily login and the rest of the app works fine.
I am specifically on Kubuntu and using KDE if that makes a difference for this.

@Spamakin Spamakin added the type:bug Something isn't working label Dec 27, 2023
@SpacingBat3
Copy link
Owner

Should I submit the above About bug as a separate issue?

This was already submitted

Every time I start my laptop, I have to login into my Discord account again. If I fully close the app and open it, this does not occur. It is only on startup.

I've got reports like this in the past, but I was never able to reliably reproduce this in any way. I honestly would suspect this is an issue somehow associated with your current Linux setup than a problem with my app. At worst, this is yet another Electron bug.

Also, what builds were you using? Flatpaks, Snaps, DEBs, AppImage? I guess what could matter is whenever WebCord data is sandboxed or not and how sandboxing works.

@SpacingBat3 SpacingBat3 added status:wontfix This will not be worked on status:need-info Further information is requested labels Dec 28, 2023
@Spamakin
Copy link
Author

Spamakin commented Dec 29, 2023

I was using v4.6.0 and am now using v4.6.1, both with the amd64 debian file.

Now that I can access about, Electron is running v28.1.0

@4lrick
Copy link

4lrick commented Mar 15, 2024

Maybe it's related to the DevTools?

I had the same problem with Vesktop and the NoDevtoolsWarning plugin fixed it.

Related Vesktop issue

@SpacingBat3
Copy link
Owner

Maybe it's related to the DevTools?

More precisely:

(...) As a side effect, it also prevents Discord from hiding your token, which prevents random logouts.

DevTools should have nothing to be doing with it, I suppose Discord hides the token to prevent to access is from the DevTools, but it might as well be a good protection for any kind of the code that isn't running in the separate context and has access to the Discord page. Blocking that definitely harms the security, I don't think I want that (in the past I had plans to leak the token only to the authorized third-party mods).


But again, nothing changed within this context:

I've got reports like this in the past, but I was never able to reliably reproduce this in any way.

I've never encountered a logout just right after a reboot, at worst WebCord would launch in another session (I should say right now WebCord is designed around running in the single session and always runs a code to detect whenever another session is running of it, so that seems like a bug with Electron) but it doesn't affect the 1st instance in any way, meaning no logout should occur in such scenario.

@SpacingBat3
Copy link
Owner

Until I will reproduce this, I'm afraid I won't do anything to resolve this (since I don't know what is broken).

Also since there was #245 in the past, I'll probably just close this. That issue has some talk about this, and I've also didn't resolve it back then so I suspect this issue ticket is just a duplicate.

@SpacingBat3 SpacingBat3 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 16, 2024
@SpacingBat3 SpacingBat3 added status:duplicate This issue or pull request already exists status:wontfix This will not be worked on and removed status:wontfix This will not be worked on status:need-info Further information is requested labels Mar 16, 2024
Repository owner locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:duplicate This issue or pull request already exists status:wontfix This will not be worked on type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants