It's all about the answers!

Ask a question

Query on RTC Webserver

vinitha dsouza (14718108) | asked Nov 07 '16, 3:56 a.m.

Hello team

UseCase :

We have Developed a Widget in RTC using  javascript. It uses some jquery url where it fetches information from RTC Server .

I am Hosting this widget in our  webserver (


Whenever I try to run this widget I get the following Error :

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS header 'Access-Control-Allow-Origin' missing).

 My observations:

   I think the primary issue here is that, I am  using the widget  to get some data or resources from another website/server:

 Example : my  current widget is on WEB1( but the  resources or data  are on WEB2 ( .

Any help would be Appreciated ….

 Thanks in Advance

2 answers

permanent link
Donald Nong (14.5k414) | answered Nov 15 '16, 7:39 p.m.
If you search "CORS" on the net, you will get lots of results. Also, you need to explain the situation in details (including browsers and application servers in use) for others to help you as the configuration is specific to each application (if doable). Here is one example:

permanent link
Stefan Oblinger (170213) | answered Nov 16 '16, 12:41 p.m.
You can use to bypass the CORS limitation.

Your answer

Register or to post your answer.