SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.88k stars 93 forks source link

Blocked by cloudflare #470

Closed Derisis13 closed 11 months ago

Derisis13 commented 11 months ago

Acknowledgements

Operating System / Platform

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

v26.2.1

Application version

v4.4.1

Bug description

Today all of a sudden I got messages failed to load in all channels, despite having a working internet connection. I relaunched the application, and this page welcomed me: cloudflare I get the same page every time I relaunch WebCord. Seems like Discord did something to their cloudflare protection that blocks webcord (and possibly other 3rdparty clients too)

Additional context

No response

Derisis13 commented 11 months ago

After a full system reboot WebCord is working again. I experienced other issues, eg. with my email client, so it may have been some underlying issue in my OS.

Should I close the issue?

AmozPay commented 11 months ago

After a full system reboot WebCord is working again. I experienced other issues, eg. with my email client, so it may have been some underlying issue in my OS.

Should I close the issue?

I just got the same issue right now, and I just booted my system. Probably no OS related i suppose

r2rX commented 11 months ago

Just confirming the same issue is occurring with Webcord 4.4.0 & Fedora 38 KDE. I suspected that it may be related to using a VPN but the issue occurs whether it's active or not.

The official Discord Flatpak works, with or without the VPN.

Derisis13 commented 11 months ago

And it's dead again. From firefox it works just fine.

SpacingBat3 commented 11 months ago

I've experienced this quite recently, it's because WebCord blocks Cloudflare fingerprinting. This wasn't the issue before and isn't the issue in most cases (i.e. it'll probably be fine to re-enable fingerprinting blocking after passing Cloudflare tests), so I'll probably won't remove this from my client.

DarthSpot commented 11 months ago

This issue is being reported for the official discord app as well, seems to have nothing to do with webcord itself

SpacingBat3 commented 11 months ago

@DarthSpot Oh, I've also noticed that the error you get is a bit different, so there could be a different cause… I suppose trying to disable fingerprinting won't hurt though, WebCord indentifies to Cloudflare a bit differently than Discord, I think Discord might include their own client version to user agent and definitely sends different client info to Discord WebSocket server (gateway), so it isn't indentified as just regular browser.

Derisis13 commented 11 months ago

This issue is being reported for the official discord app as well, seems to have nothing to do with webcord itself

Yes, web version is broken now. Seems to be a slow process to get there. I don't think the disabling of fingerprinting resistance won't help here either.

jroneilky commented 11 months ago

I had this same issue since this morning. Full reboot did not help. I removed WebCord, deleted ~/.config/WebCord, then re-installed and now it works.

r2rX commented 11 months ago

Seems to be working again (without having done anything).

dreamsyntax commented 11 months ago

This can be closed. Cloudflare issue https://www.cloudflarestatus.com/

Which has since been resolved.