I am still beginner in using Licode (migrated from Flash and Flash Media
Server).
Basic example works fine on server where Licode is, but when I
put connection_test.html on other server and in it I change:
then I get:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
remote resource at http://licode_server:3001/createToken/. (Reason: CORS
header ‘Access-Control-Allow-Origin’ missing).
Can you please tell me what should I do to solve this?
Hi,
request from javascript file (in this case createToken request from
connection_test.js) can be sent to the server that has served the file. If
not you get a CORS error. You can use the basic example in other server
than the one is running Licode. But you cannot serve the javascript from a
server and send the requests to another one (unless you change the CORS
configuration in basic server).
Anyway this is not a Licode constraint. It is valid for any web server.
BR2015-11-03 18:13 GMT+01:00 Dejan Popov popovdejan@gmail.com:
I am still beginner in using Licode (migrated from Flash and Flash Media
Server).
Basic example works fine on server where Licode is, but when I
put connection_test.html on other server and in it I change:
then I get:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
remote resource at http://licode_server:3001/createToken/. (Reason: CORS
header ‘Access-Control-Allow-Origin’ missing).
Can you please tell me what should I do to solve this?
–
You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.