-
-
Notifications
You must be signed in to change notification settings - Fork 99
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 blocks StreamKit overlay #225
Comments
I have a feeling this is caused when StreamKit is looking for Discord client via WS and finds WebCord's WebSocket instead of the Discord's. As both Discord and WebCord should accuire one port from list of all, I believe ensuring that WebCord runs as the second client should fix/workaround your issue. |
Also after WebCord is closed you should restart Discord as well to ensure it will catch the first available port from range. |
Ah yeah you are right, launching native Discord first does make it work. Never thought the order would affect it Native discord always takes 5000 years and 5 minutes to launch so WebCord has consistently always started first |
I've managed to do some "fixes" on my side, but Discord still keeps spamming WebCord's WebSocket. You may think why WebCord uses WSS on the same port as Discord and the answer is simple: for communication with browser. While it doesn't support all requests, it can reply to some (like this). |
I'll close this as |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@3e849f2e5c I've reported the bug to Discord, hopefully they will improve their implementation of WebSocket client on StreamKit to solve this so it will ask Discord client once WebCord closes the connection. |
Aknowledgements
I have checked that there's no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.
I can confirm that this is not an issue with the Discord website,
but it is a problem specific to the WebCord itself. I have tested
if this bug occurs on Chromium/Chrome or any other Chromium-based
browser that uses unpatched/upstream Chromium engine.
I have tried running the build from the
master
branch and it doesnot have any fixes implemented according to my 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
20.0.0
Application version
v3.7.1
Bug description
While WebCord is running the StreamKit Overlay fails to connect. If both WebCord and the native Discord client are launched at the same time then the overlay fails to connect to the native client until WebCord has been closed.
Additional context
I personally have 2 Discord accounts, my main running in WebCord and my second account in the native Discord client and my secondary account I use for streaming and use the overlay kit with it but because of this bug I have to close WebCord while I'm streaming.
0001-0630.mp4
The text was updated successfully, but these errors were encountered: