Jump to content
flyfishtom

CORS Problem

Recommended Posts

Has anyone seen this error before? Is there a setting in Revive Adserver to fix this? It seems to be coming from revive code.

XMLHttpRequest cannot load http://52.1.183.40/adserver/www/delivery/fc.php?script=bannerTypeHtml:vastI…3D3&nz=1&source=&r=R0.05822725687175989&block=1&format=vast3&charset=UTF-8. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://www.megabitllc.com' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.

 

Share this post


Link to post
Share on other sites

Andrew id the Revive server setting credentials to true, possibly for setting a cookie ?

Also, nowhere on my Apache Revive server or my Apache web server am I setting Access-Control-Allow-Origin to "*" so I'm curious if Revive is doing this.

As a result of this I am not able to get Banner Delivery Capping to work. I can enter the caps in the UI but the ads don't play once I set the caps. I think the cookies aren't working. When I set the Campaign to "Show capped ads if cookies are disabled " the ad plays but it doesn't use the caps I set, it plays every time.

Tom

 

https://github.com/whatwg/fetch/issues/251

 

 

 

.

Edited by flyfishtom

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...