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

Getting CORS error in latest chrome browser v90 #32

Open
gopaljoshi-brainvire opened this issue Apr 30, 2021 · 1 comment
Open

Getting CORS error in latest chrome browser v90 #32

gopaljoshi-brainvire opened this issue Apr 30, 2021 · 1 comment

Comments

@gopaljoshi-brainvire
Copy link

Hello Community,

I have been using Agora since 2 years. Recently it is started encountering CORS issue in config file.

POST https://cds-ap-web-1.agora.io/api/v1?action=config net::ERR_FAILED
Access to XMLHttpRequest at 'https://cds-ap-web-3.agora.io/api/v1?action=config' from origin '<my domain>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
POST https://cds-ap-web-3.agora.io/api/v1?action=config net::ERR_FAILED
Access to XMLHttpRequest at 'https://cds-ap-web-2.agoraio.cn/api/v1?action=config' from origin '<my domain>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
POST https://cds-ap-web-2.agoraio.cn/api/v1?action=config net::ERR_FAILED
15:18:44:203 Agora-SDK [ERROR]: [30F19] Disconnect from server [{"type":"disconnect"}], attempt to recover [#1] after 1 seconds

However its working in old browser versions. There is no any settings in Agora console to configure CORS

Chrome: Version 90.0.4430.93 (Official Build) (64-bit)

Looking forward for support, thank you!

@plutoless
Copy link
Contributor

it seems the problem is your request to https://cds-ap-web-1.agora.io/api/v1?action=config failed.

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

No branches or pull requests

2 participants