Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set up secret storage / CORS error #13582

Open
marceljay opened this issue May 7, 2020 · 2 comments
Open

Unable to set up secret storage / CORS error #13582

marceljay opened this issue May 7, 2020 · 2 comments

Comments

@marceljay
Copy link

marceljay commented May 7, 2020

Description

Happens when trying to back up my encryption keys. After I wrote down the passphrase plus recovery seed two times, because the seed was newly generated, I still get the error "Unable to set up secret storage".

image

Version information

  • OS: macOS Catalina
  • Version: 1.6.0
@RX4NT9UP
Copy link

RX4NT9UP commented May 7, 2020

I think I am having the same or similar issue, whenever this account tries to log in from riot web i get this:

...

Storing client options... vendors~init.js:2:950859
Stored client options vendors~init.js:2:950859
Getting filter... vendors~init.js:2:950859
Key backup is absent or missing required data vendors~init.js:2:950859
No usable key backup: not enabling key backup vendors~init.js:2:950859
Sending first sync request... vendors~init.js:2:950859
Waiting for saved sync before starting sync processing... vendors~init.js:2:950859
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://matrix-client.matrix.org/_matrix/client/r0/sync?filter=6&timeout=0&_cacheBuster=1588882749233. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
/sync error ConnectionError: request failed: CORS request rejected: https://matrix-client.matrix.org/_matrix/client/r0/sync?filter=6&timeout=0&_cacheBuster=1588882749233 vendors~init.js:2:950859
Error: "request failed: CORS request rejected: https://matrix-client.matrix.org/_matrix/client/r0/sync?filter=6&timeout=0&_cacheBuster=1588882749233"
    g https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
    p https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
    f https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
    u https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
    onreadystatechange https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
vendors~init.js:2:950859
Number of consecutive failed sync requests: 1 vendors~init.js:2:950859
Starting keep-alive vendors~init.js:2:950859
MatrixClient sync state => RECONNECTING vendors~init.js:2:950859
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://matrix-client.matrix.org/_matrix/client/r0/sync?filter=6&timeout=0&_cacheBuster=1588882755898. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
/sync error ConnectionError: request failed: CORS request rejected: https://matrix-client.matrix.org/_matrix/client/r0/sync?filter=6&timeout=0&_cacheBuster=1588882755898 vendors~init.js:2:950859
Error: "request failed: CORS request rejected: https://matrix-client.matrix.org/_matrix/client/r0/sync?filter=6&timeout=0&_cacheBuster=1588882755898"
    g https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
    p https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
    f https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
    u https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
    onreadystatechange https://riot.im/app/bundles/9f769ac7a648e2ec9507/vendors~init.js:2
vendors~init.js:2:950859
Number of consecutive failed sync requests: 2 vendors~init.js:2:950859
Starting keep-alive vendors~init.js:2:950859
MatrixClient sync state => RECONNECTING vendors~init.js:2:950859

@t3chguy
Copy link
Member

t3chguy commented May 7, 2020

CORS hides the underlying cross-origin error. Typically timeouts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants