OpenShift default error page does not conform to RFC 2616 / RFC 7230

Solution Verified - Updated -


  • The default 503 error page in Openshifts HAproxy template contains linebreaks in the LF format, whereas the RFC 2616 and RFC 7230 both demand for CRLF line breaks to be used.
  • The default OpenShift HTTP 503 error page contains LF instead of CRLF in the files (Note: CR is 0x0d, LF is 0x0a, so CRLF is 0x0d0a)

    $ cat error-page-503.http | xxd | head -n3
    00000000: 4854 5450 2f31 2e30 2035 3033 2053 6572  HTTP/1.0 503 Ser
    00000010: 7669 6365 2055 6e61 7661 696c 6162 6c65  vice Unavailable
    00000020: 0a50 7261 676d 613a 206e 6f2d 6361 6368  .Pragma: no-cach


  • Red Hat OpenShift Container Platform (OCP) 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content