Skip to content

[JENKINS-72343] "Validate Proxy" button should accept 2xx and 3xx responses in HTTP Proxy Configuration #18817

Closed

Description

@jenkins-infra-bot

In "Manage > Plugins > Advanced settings > HTTP Proxy Configuration" there is a "Validate Proxy" button.

If you try it with an URL returning a valid status code like a 301 redirection, an error is returned even if the URL correctly responded.

Example with `https://google.com`, redirecting to `https://www.google.com`:


Originally reported by hlemeur, imported from: "Validate Proxy" button should accept 2xx and 3xx responses in HTTP Proxy Configuration
  • assignee: hlemeur
  • status: Closed
  • priority: Trivial
  • component(s): core
  • label(s): jenkins, proxy
  • resolution: Fixed
  • resolved: 2023-12-05T13:35:04+00:00
  • votes: 0
  • watchers: 1
  • imported: 2025-11-24
Raw content of original issue

In "Manage > Plugins > Advanced settings > HTTP Proxy Configuration" there is a "Validate Proxy" button.

If you try it with an URL returning a valid status code like a 301 redirection, an error is returned even if the URL correctly responded.

Example with `https://google.com`, redirecting to `https://www.google.com`:

1 attachment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions