eclipse-vertx/vert.x · error

505 HTTP Version Not Supported

Error message

505 HTTP Version Not Supported

What it means

Constant defining the 505 HTTP Version Not Supported response expectation: applying expecting(SC_HTTP_VERSION_NOT_SUPPORTED) makes a 505 response fail the request future. The server refuses the major HTTP version used in the request; the 'message' is the reason attached to the failure.

Source

Thrown at vertx-core/src/main/java/io/vertx/core/http/HttpResponseExpectation.java:315

  /**
   * 502 Bad Gateway
   */
  HttpResponseExpectation SC_BAD_GATEWAY = status(502);

  /**
   * 503 Service Unavailable
   */
  HttpResponseExpectation SC_SERVICE_UNAVAILABLE = status(503);

  /**
   * 504 Gateway Timeout
   */
  HttpResponseExpectation SC_GATEWAY_TIMEOUT = status(504);

  /**
   * 505 HTTP Version Not Supported
   */
  HttpResponseExpectation SC_HTTP_VERSION_NOT_SUPPORTED = status(505);

  /**
   * 506 Variant Also Negotiates (RFC2295)
   */
  HttpResponseExpectation SC_VARIANT_ALSO_NEGOTIATES = status(506);

  /**
   * 507 Insufficient Storage (WebDAV, RFC4918)
   */
  HttpResponseExpectation SC_INSUFFICIENT_STORAGE = status(507);

  /**
   * 510 Not Extended (RFC2774)
   */
  HttpResponseExpectation SC_NOT_EXTENDED = status(510);

  /**
   * 511 Network Authentication Required (RFC6585)

View on GitHub (pinned to fb308bd8c3)

Solutions

  1. Downgrade the request to a supported HTTP version
  2. Handle the failure and skip version-specific features against this server
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at vertx-core/src/main/java/io/vertx/core/http/HttpResponseExpectation.java:315 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of eclipse-vertx/vert.x@fb308bd8c3 (2026-09-06). Data as JSON: /api/errors/252f3ffa319b8080. Report an issue: GitHub.