Access-Control-Allow-Origin missing from some responses

We are seeing this error intermittently across devices and browsers when accessing our app.

2019-01-11 10:03:13.128 16854-16854/? I/chromium: [INFO:CONSOLE(0)] “Access to XMLHttpRequest at ‘https://xxxxx’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”, source: http://localhost:8080/ (0)

We use Ionic cordova.
This happens intermittently across may browsers. We are also using a Cordova Android app. Switching from CF to direct, this issue stops, so its something to do with Cloudflare. We have made no changes in 3 weeks to our infrastructure or application. We believe the problem started some time ago.

We have forced every request on every HTTP Method to include the header Access-Control-Allow-Origin with the wild card *, but we can still see that its being stripped from the response by Cloudflare, any ideas?

Hi @sean.monaghan, were you able to resolve this OK? Any issues still?

This topic was automatically closed after 14 days. New replies are no longer allowed.