BdBrowser icon indicating copy to clipboard operation
BdBrowser copied to clipboard

Plugins cannot check for updates

Open IIRobotNinjaII opened this issue 3 years ago • 13 comments

On edge , on startup many plugins can't seem to check for updates and can't download additional libraries or new updates automatically

IIRobotNinjaII avatar Oct 05 '21 15:10 IIRobotNinjaII

running into this as well. also getting errors that it can't download emotes and another error saying "Could not initiate BDFDB Library Plugin. Check your Internet Connection and make sure GitHub isn't blocked by your Network or try disabling your VPN/Proxy.".

huds0nx avatar Oct 05 '21 16:10 huds0nx

Yes, I got lots of reports about that, I can't reproduce that so that makes it harder to fix the issue. I believe it's some CSP (Content Secure Policy) issue or the browser doesn't like me remove it. It could also be a firewall issue.

Strencher avatar Oct 05 '21 16:10 Strencher

that could definitely be a cause. just in case, here are a few screenshots of the errors i am getting: CleanShot 2021-10-05 at 16 17 10@2x CleanShot 2021-10-05 at 16 17 27@2x

CleanShot 2021-10-05 at 16 18 56@2x CleanShot 2021-10-05 at 16 18 23@2x

don't know if it would mean anything but i am using chrome on the latest version, on macos (specifically an m1 mac). also, where are the plugins and themes stored on the computer?

huds0nx avatar Oct 05 '21 20:10 huds0nx

The last one isn't related. The other ones are definitely.

Strencher avatar Oct 05 '21 20:10 Strencher

Anything I can do to narrow it down?

image

IIRobotNinjaII avatar Oct 06 '21 07:10 IIRobotNinjaII

Okay so, can you switch the context in your console (in the top bar select BetterDiscord instead of Top) and run this code?

fetch("https://github.com");

Strencher avatar Oct 06 '21 16:10 Strencher

I know you told him to run the fetch command, but I just ran it too and got this CleanShot 2021-10-06 at 12 42 37@2x :

huds0nx avatar Oct 06 '21 16:10 huds0nx

You ran it inside the proper context i assume?

Strencher avatar Oct 06 '21 16:10 Strencher

Ehhhh. I just copied and pasted it into the console

huds0nx avatar Oct 06 '21 16:10 huds0nx

okay so I just launched chrome with no cors (--disable-web-security), and I still got the error. I think this means it is not a problem with CORS when it gives the initializing bdfb and emojis

huds0nx avatar Oct 06 '21 17:10 huds0nx

image

yah I run fetch("https://github.com"); in console.

IIRobotNinjaII avatar Oct 07 '21 05:10 IIRobotNinjaII

Yes, that's the issue. Your browser is ignoring my CSP rules for some reason. Maybe I added them wrong? Not sure because it works fine for a lot people.

Strencher avatar Oct 07 '21 11:10 Strencher

Can I change anything in my browser that will fix it?

IIRobotNinjaII avatar Oct 08 '21 04:10 IIRobotNinjaII