Click here to Skip to main content
15,884,791 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am using webrtc for making video call.

i got this error when i click on videocall button..

Quote:
XMLHttpRequest cannot load https://lifesathi.rocket.chat/socket.io/?EIO=3&transport=polling&t=1506336283797-27. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://ws-net.in.jayyy.com' is therefore not allowed access.


What I have tried:

i serch on web but i dont get any solution for that
Posted
Updated 25-Sep-17 0:59am

1 solution

There are certain ways one can protect his own... in this case, 'lifesathi.rocket.chat' not wish to share what it has, so it forbids to load the specified resource...
If both sites are yours, you can easily add the missing header to allow access, otherwise you have to contact the owner and ask for permissions...
HTTP access control (CORS) - HTTP | MDN[^]
Access-Control-Allow-Origin - HTTP | MDN[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900