Open Rambatino opened 2 years ago
cc: @ryanbr
Testing in Brave 1.41.96.
I refreshed the page a few times (10 so far), takes a few seconds between a refresh and the page loading. Nothing so far @Rambatino Can you re-test in the latest ver?
Hi @ryanbr thanks for getting back to me. Just tried it on the new version and it's still an issue.
I've been using cmd+shift+r and if it still works, then I press it multiple times in a row before the page has reloaded and then the socket stops connecting.
Would you mind having another go please? 🙏
(you will need to be logged in to access the websocket)
For context, this is the issue:
I have the same issue. I am working on the backend based on Nest.js. I have WebSocket that all other browsers will work fine but the brave browser was working fine after a while it won't receive messages from a WebSocket. note that my operating system is Windows 10 in case you want to change the issue tag.
same here and tested on Linux. [Version 1.42.86 Chromium: 104.0.5112.81 (Official Build) (64-bit)]
Problems with websockets too. Can't connect.. but it works with chrome and firefox. Linux OS
[Version 1.42.97 Chromium: 104.0.5112.102 (Official Build) (64-bit]
Same here.
Need to disable Trackers & ads blocking:
(EDIT: I calibrated my language to not appear pretentious)
There should be some flag "allow dev mode" to connect to localhost.
(apparently someone in the past abused it to fingerprint / track users)
I've heard about Brave since 2017 and BAT, and here we are in 2023, in the meanwhile tried many times to switch and each time I found some "non starter" issue in the first 5-10 minutes of usage.
I also have this issue. On brave version: 1.49.128 Chromium: 111.0.5563.110 (Official Build)
I'm unable to repro the issue on https://csgo.endx.gg/dashboard after logging in using the test creds provided. I hard refreshed several times, and didn't get the broken page. Is this still an issue?
@ShivanKaul we switched to ably to manage our sockets instead which is a single socket.
I have the same issue.
I have an external app that hosts ws endpoints, and when I try to connect, I get: "webSocket connection to 'wss://{url}' failed:"
After disabling the option for "disable Trackers & ads blocking", everything works.
Can you say which external app it is?
Unfortunately, It's not a public app, but I can tell you that it is an app written in asp .net 6 that just maps a middleware for websockets.
I also have an issue with WebSockets being blocked during the handshake. I can see the connection hitting my server but it doesn't complete it, it stays stuck in pending status for a while and then I eventually get:
WebSocket connection to 'wss://example.com/socket/' failed: WebSocket is closed before the connection is established.
I'm using nginx to proxy websockets on the back end though I doubt that's the problem. I tried restarting it and also my WebSocket server and the issue persisted. It works fine in all other browsers. I opened a new incognito tab with Brave and it also worked... Then I go back to a regular Brave tab and it doesn't work. I tried disabling the shields, this seems to have fixed it in the past, but not anymore.
One weird thing I noticed is that, when I look at the WebSocket messages, under the Timing
tab, it says Stalled 7.6 days
... I only just opened the connection so I don't see how it could have taken 7.6 days... Could it be some issue with old sockets from several days ago which did not get cleaned up? The issue persists even when I open new (non-icognito) tabs within the same Browser window.
I'm using Linux (Kubuntu). I noticed that if I close the browser, open it again and try again, it starts working again! Will be fine for several days or weeks. This seems to support the theory of it being related to old socket data not getting cleaned up properly.
Similar issue here: https://github.com/brave/brave-browser/issues/22851
But apparently fixed.
Description
After multiple refreshes of our app: https://endx.gg, the websockets stop connecting.
Chrome works as expected, as does wscat.
E.g. wscat -c "wss://auth.endx.gg/api/prices"
Steps to Reproduce
Actual result:
Expected result:
On chrome:
Reproduces how often:
All the time.
Brave version (brave://version info)
Version 1.40.107 Chromium: 103.0.5060.53 (Official Build) (arm64)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information: