CORS error on /sync from app.element.io #32
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CORS not configured for /sync (at least for MSC4222-flavored requests) - breaks app.element.io and any cross-origin client.
Requests to /_matrix/client/v3/sync?...org.matrix.msc4222.use_state_after=true... from app.element.io fail with CORS error in browser console, despite the join/room functionality actually working server-side. This causes Element to show a spurious "failed to join" error even though the join succeeded.
Reproduce this issue:
Created a new room via Element (app.element.io) without setting an explicit room name, invited test_user.
Result: Element UI displayed a "failed to join" type error message, however room existed, test_user was joined, message send/receive worked normally in that room afterward.
Browser LibreWolf console dump:
Translate into English: