Skip to content

[Bug] Talk fails to upload files over HTTP (crypto.randomUUID is not a function) #18733

Description

@Antreesy

Tip

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Actual behaviour

Users are experiencing errors and failures when trying to attach and send files directly through the web chat interface.

Investigation results

  • TypeError: crypto.randomUUID is not a function
  • According to developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID the function is available in HTTPS
  • Fail if server is running strictly over HTTP
  • Since we potentially support http pages for chatting (camera and mic access does not work, so no calls), we might fix that with a fallback at some point

Extracted from #18415

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions