frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Safari: Collaborative session does not work

Open shenyih0ng opened this issue 3 years ago • 0 comments

Description

When a safari client tries to join a collaborative session, the following browser error is reported:

Failed to load resource: cannot parse response

The expected response contains a "Document Exists" body along with some headers (Connection, Upgrade) for subsequent wss connection.

Possible reason

  • Request uses http2 protocol
  • https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection

    Warning: Connection-specific header fields such as Connection and Keep-Alive are prohibited in HTTP/2 and HTTP/3. Chrome and Firefox ignore them in HTTP/2 responses, but Safari conforms to the HTTP/2 spec requirements and does not load any response that contains them.

shenyih0ng avatar Oct 04 '22 04:10 shenyih0ng