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

Some matrix.org users can't join #matrix:matrix.org - CORS request rejected #7745

Closed
aaronraimist opened this issue Nov 25, 2018 · 7 comments
Labels
P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@aaronraimist
Copy link
Collaborator

aaronraimist commented Nov 25, 2018

@tya99:matrix.org and @cj232:matrix.org can't join #matrix:matrix.org

tya99:

i'm having trouble joining the #marix:matrix.org channel the thing just spins around and never lets me get in

Browser console:

https://dpaste.de/hsrr

Highlights:

rageshake.js:99 [!QtykxKocfZaZOUrTwp:matrix.org] Peek poll failed: Error: CORS request rejected: https://matrix.org/_matrix/client/r0/events?room_id=%21QtykxKocfZaZOUrTwp%3Amatrix.org&timeout=30000&from=s753744768_623528594_1124893_201363733_93238299_519270_13565385_10267141_24511
    at c (file:///usr/lib/riot/webapp/bundles/7d178a862b1d188cf096/bundle.js:23:48825)
    at XMLHttpRequest.o.onreadystatechange (file:///usr/lib/riot/webapp/bundles/7d178a862b1d188cf096/bundle.js:23:48351)
rageshake.js:99 Error: CORS request rejected: https://matrix.org/_matrix/client/r0/sync?filter=3&timeout=30000&since=s753744760_623528584_1124890_201363731_93238297_519270_13565485_10267234_24511
    at c (index.js:259)
    at XMLHttpRequest.o.onreadystatechange (index.js:242)
rageshake.js:99 Number of consecutive failed sync requests: 1
rageshake.js:99 Starting keep-alive
rageshake.js:99 MatrixClient sync state => RECONNECTING
rageshake.js:99 MatrixClient sync state => SYNCING

https://matrix.to/#/!iNmaIQExDMeqdITdHH:matrix.org/$1542975037111476BQxvp:matrix.org?via=matrix.org&via=disroot.org&via=chat.weho.st&via=bosmsg.de
https://matrix.to/#/!iNmaIQExDMeqdITdHH:matrix.org/$1543003303205464UtACh:matrix.org?via=matrix.org&via=disroot.org&via=chat.weho.st&via=bosmsg.de

@aaronraimist
Copy link
Collaborator Author

Related: #7526

@aaronraimist aaronraimist changed the title Some users can't join #matrix:matrix.org Some matrix.org users can't join #matrix:matrix.org - CORS request rejected Nov 25, 2018
@ghost
Copy link

ghost commented Nov 26, 2018

Thanks for opening the issue. I wasn't sure what I was looking for :)

@lampholder lampholder added T-Defect P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels Nov 30, 2018
@lampholder
Copy link
Member

I just had a chat about this with @erikjohnston - it sounds like the CORS could be a red herring masking a plain old timeout (if the request times out between our haproxy and the synapse instance, the error response from haproxy to riot doesn't have CORS headers so registers with a CORS error).

Are the affected users ever able to get into #matrix:matrix.org? Are they trying at a particularly busy time?

@lampholder lampholder added the X-Needs-Info This issue is blocked awaiting information from the reporter label Jan 21, 2019
@ghost
Copy link

ghost commented Jan 22, 2019

Are the affected users ever able to get into #matrix:matrix.org? Are they trying at a particularly busy time?

I had tried at different times of the day, and on different days. I haven't had the error happen since. I'm not a heavy Matrix user though.

@aaronraimist
Copy link
Collaborator Author

aaronraimist commented Feb 12, 2019

I’m going to close this for now. If someone gets this again they can create a new issue.

@asim-vax
Copy link

asim-vax commented Oct 1, 2019

@aaronraimist trying to reset a password caused a timeout, now i can't create a new account, or reset password on an old account
CORS request rejected: https://matrix.org/_matrix/client/r0/register/email/requestToken (for requesting a new account)

@aaronraimist
Copy link
Collaborator Author

aaronraimist commented Oct 1, 2019

@asim-vax actually maybe opening a new issue would be better, sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

3 participants