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] BD Installer hangs after "Downloading asar file" #362

Open
2 tasks done
CorneliusCornbread opened this issue Nov 23, 2023 · 8 comments
Open
2 tasks done

[Bug] BD Installer hangs after "Downloading asar file" #362

CorneliusCornbread opened this issue Nov 23, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@CorneliusCornbread
Copy link

Before Reporting

  • I found no existing issues matching my bug
  • My issue is not caused by a plugin or theme

Describe the Bug

Using the BetterDiscord app image on Fedora 39 it seems that every attempt at installing BetterDiscord leads to an installer hang. Running the app image through the terminal does not give any notable output, it just simply hangs. Sometimes it complains that it failed to download the package from the official website giving a 502 error, sometimes it just hangs while downloading the asar file.

Usual output before hanging

Downloading asar file
❌ Failed to download package from the official website
❌ Status code did not indicate success: 502
Falling back to GitHub...

Expected Behavior

Better discord installer works

Steps To Reproduce

  1. Download app image
  2. Run app image
  3. Go through install process
  4. See hang on install

Operating System

Linux

Discord Version

Stable

BetterDiscord Version

v1.3.0

Anything else?

Installer window is still responsive, it just stops doing anything.

@CorneliusCornbread CorneliusCornbread added the bug Something isn't working label Nov 23, 2023
@rauenzi rauenzi transferred this issue from BetterDiscord/BetterDiscord Nov 23, 2023
@Riddim-GLiTCH
Copy link

I will open up a fedora VM momentarily to see if I can replicate the issue.
Where did you get your Discord package from?

@CorneliusCornbread
Copy link
Author

I will open up a fedora VM momentarily to see if I can replicate the issue. Where did you get your Discord package from?

I get it from the RPM fusion repos.

@Huderon
Copy link

Huderon commented Nov 24, 2023

I don't know nothing about nothing, but adding any kind of delay before the fallback request seemed to fix it for me. Was only able to reproduce on Fedora though so maybe that's just bunk?

@Vulpovile
Copy link

Same thing happens here but
Downloading asar file
❌ Failed to download package from the official website
❌ Status code did not indicate success: 403
Falling back to GitHub...

@rauenzi
Copy link
Member

rauenzi commented Nov 28, 2023

Did the fallback to github not work in your case?

@999smokes
Copy link

same issue for me on windows and the fallback to github doesnt work

@Inve1951
Copy link
Member

Inve1951 commented Apr 3, 2024

same issue for me on windows and the fallback to github doesnt work

#368 is unrelated

@Riddim-GLiTCH
Copy link

Riddim-GLiTCH commented Apr 5, 2024

I will open up a fedora VM momentarily to see if I can replicate the issue. Where did you get your Discord package from?

I get it from the RPM fusion repos.

I completely forgot to update the status on my testing for this issue. My Sincerest apologies. With the package mentioned installed, I was not able to replicate this issue. Perhaps I did not install the correct version of Fedora. My knowledge of what they produce is rather limited. However, From my knowledge of the installation process, it shouldn't be too hard to manually install BD either way.

You can try manually compiling the Asar or downloading it from the BetterDiscord repo. then you want to modify your discord installation and simply require the downloaded Asar file in the desktop_discord_core index.js

This wont fix your installer issue, but it will get BD running on your system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants