-
Notifications
You must be signed in to change notification settings - Fork 29
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
CORS error for light client on all transport servers on mainnet #2002
Comments
@agatsoh Thanks for opening the issue :) @andrevmatos has described a workaround yesterday to select a different server if the current one fails. We should implement it in the dApp. @Dominik1999 @ulope Is there any rule for CORS for the RSB provider? |
@christianbrb |
@agatsoh Could you also check our test and demo servers? |
One observation when i used the
Error fetching user presence, ignoring: M_FORBIDDEN: You are not allowed to see their presence. But then somehow it did not complain on the browser and got the presence from somewhere and while making the actual transfer it complained about CORS but from a different server
|
Yes I just now check the demo servers as well as the test servers we do not get the CORS errors |
Description
The light client encounters CORS exceptions while calling the mainnet matrix server API's at startup
This is not the problem of the light client but its just that the matrix servers or for that matter any other servers if they are called from a different domain and return the reply without the
Access-Control-Allow-Origin
headers set then the browser blocks the response.Acceptance criteria
may be some more commonly used domains used by light-client users as allowed on the CORS headers
Tasks
raiden_0x14efA2b271969A46A094A23e0d49E32C1B617f89_2020-07-30T07_39_20.313Z.log
@christianbrb please check whether the content of this issue is correct.
The text was updated successfully, but these errors were encountered: