opentok-react icon indicating copy to clipboard operation
opentok-react copied to clipboard

Blocked by CORS Policy?

Open meljason opened this issue 3 years ago • 1 comments

I have deployed my website with Firebase hosting and starting to encounter this error whenever I launch the video call.

Access to fetch at 'https://api.opentok.com/session/create' from origin '<mywebsite>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Help needed!

meljason avatar Mar 29 '21 19:03 meljason

In my case, the date-time of my machine was wrong. Fixing that solved this error.

Abhishek971999 avatar Nov 10 '21 09:11 Abhishek971999