Brave-browser: [Desktop] Cookies are not added to WebSocket connections

Created on 13 Dec 2018  路  8Comments  路  Source: brave/brave-browser

Description

A cookie set by a WebSocket connection (be it normal or HTTP/Secure only) is not added to any subsequent request, causing failure of connections which rely on cookies for authentication.

Steps to Reproduce

  1. Connect to a WebSocket server and have it set a cookie.
  2. Make another WebSocket connection request to the same domain.
  3. The previous set cookie is not present. Checks for it will fail.

Actual result:

Cookie response

Missing on the next connection

Expected result:

The cookie should be set to the domain.

Reproduces how often:

Every time.

Brave version (brave://version info)

Brave | 0.57.18 Chromium: 71.0.3578.80 (Official Build) (64-bit)
Revision | 2ac50e7249fbd55e6f517a28131605c9fb9fe897-refs/branch-heads/3578@{#860}
OS | Windows

Reproducible on current release:

Yes

Website problems only:

Works correctly in all browsers.

Additional Information

The WebSocket server origin is different than the user agent origin.

ODesktop bug prioritP3 webcompat

Most helpful comment

Brave user here.

I'm seeing broken WebSocket-based chat in Basecamp's web application. Their support has informed me that this issue is preventing their chat from functioning.

Is there any kind of fix for this in progress?

All 8 comments

Does this work with Shields down?

It does not.

I noticed this as well. I thought this was basic browser behavior with WebSockets, but it works in all other major browsers. Hope it gets fixed soon because I love using Brave for testing.

Does anyone know if this is still an issue?

Brave user here.

I'm seeing broken WebSocket-based chat in Basecamp's web application. Their support has informed me that this issue is preventing their chat from functioning.

Is there any kind of fix for this in progress?

Same problem for me on Basecamp 3. No pending solution it seems :(

I just experienced what seemed to be an outage in the basecamp 3 chat. This is the first time i tried using the chat. I also was directed here. However, after several hours I noticed the chat was working

I had brave 1.13.82 and just upgraded to 1.13.86. The basecamp 3 chat seems to work in both versions. I'm not exactly what I experienced at first, but I no longer have any issues using the chat.

Running on Pop! OS (Linux)

Running the latest brave and still not avail, how come something as basic and inbuilt as websockets has become broken, need to be able to use brave to test a site but we use websockets so it breaks.

Was this page helpful?
0 / 5 - 0 ratings