2

I am trying to validate a VAST tag in different validators. It throws me this error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xml. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

I can't figure out the problem because:

  1. I have enabled CORS in my Amazon S3 bucket.(Done the configuration)
  2. No errors are thrown for tags that were uploaded already while configuring the CORS in s3.
  3. If I copy the xml manually and test it as VAST xml, it works fine.
  4. I double checked on the urls for the files associated, everything is accesible and works fine.

What is the issue? Can't figure out the issue for whole day now, please help.

Red Bottle
  • 2,839
  • 4
  • 22
  • 59
  • You might want to share your S3 config, VAST and URIs. The question, as it is written right now, is hard if not impossible answered. – zyexal Aug 09 '17 at 07:50
  • I didn't post the original question, but I have the same problem. This is my S3 configuration. I don't see any CORS headers for any request, though. http://* https://* GET HEAD 3000 Authorization – carpiediem Dec 22 '17 at 04:19

1 Answers1

-1

I have encountered this problem before. Usually the advertiser needs to place an * within their header. If this still is not the problem, then you are actually looking at an issue with the player and need to debug that.