CORS Issue on Rails app

Hey,

I’m seeing an issue with cors (Rails) when Cloudflare reports a cache miss, in that case, it just strips the access-control headers and CORS fails.

So the same request will sometimes randomly fail but succeed at other times so I don’t think it’s a problem with my CORS config on the rails app.

I don’t have direct access to Cloudflare but I assume render uses it under the hood so their purging recommendations etc. don’t really help me.

Any ideas on how to resolve this?

Thanks,
Stefan

Hi @Stefan_Wirth,

We’ve rolled out a fix for this - can you confirm that requests to your app are consistently returning the expected response and headers now?

Seems to be fine now :pray:

Thanks :slight_smile: