-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
WHEP: The 'Access-Control-Allow-Origin' header is missing for CORS #4067
Comments
winlinvip
changed the title
A cross-domain problem is encountered:No 'Access-Control-Allow-Origin' header
The issue is related to cross-origin resource sharing (CORS): The 'Access-Control-Allow-Origin' header is missing.
May 24, 2024
winlinvip
changed the title
The issue is related to cross-origin resource sharing (CORS): The 'Access-Control-Allow-Origin' header is missing.
WHEP: The 'Access-Control-Allow-Origin' header is missing for CORS
May 24, 2024
Please provide a detailed description of the steps to reproduce the issue, otherwise, this issue will be removed.
|
srs/trunk/src/protocol/srs_protocol_http_stack.cpp Lines 887 to 912 in 282d94d
SRS already supported CORS request, it is maybe your service deployment problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error message reads as follows:
Access to XMLHttpRequest at 'http://10.244.3.204:1985/rtc/v1/whep/?app=live&stream=livestream' from origin 'http://direct.virtaicloud.com:20410/' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
TRANS_BY_GPT4
The text was updated successfully, but these errors were encountered: