Are Server-sent events SSE supported, or will they trigger HTTP 524 timeouts?

Update:

Cloudflare support kindly tested the current bahaviour for me, finding that it works when

running 30+ minutes, which way more than even Enterprise plan’s Error 524 limit or 6000s

This replication case confirms that:

  1. You should be able to do SSE with Cloudflare
  2. Error 524 only triggered if there is nothing from the server within 100s (in my replication, I keep sending every 2 seconds).

The described behaviour is certainly good enough for our use case.

There is one issue though:

For building production systems, the “undocumented feature seems to work for me today” approach is risky.

I’m following up with:

Can we get any certainty in writing that it will continue to work in the future, vs. just being an accidental implementation detail that works today but might stop any time overnight when Cloudflare changes its implementation?

This is what I mean by an “official answer”. It’s a product question.

I’ll post here once I get a reply.

1 Like