79698747

Date: 2025-07-11 19:15:17
Score: 0.5
Natty:
Report link

I run a Rails Application with Kubernetes, EKS, and Istio behind Cloudfront. I got it running the following way:

  1. Create a new Cloudfront Origin Request Policy that ONLY accepts the following headers: Sec-WebSocket-Key Sec-WebSocket-Version Sec-WebSocket-Protocol Sec-WebSocket-Accept. Allowing all headers doesn't work.

  2. Attach this new origin request policy to a new behavior for the /cable URL. Use Managed-CachingDisabled cache policy or similar (no cache).

After that, the connection through Cloufront works.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Checo R