While configuring proxy parameter on Red Hat Satellite GUI, getting error Value is invalid must be an array.

Solution Verified - Updated

Environment

  • Red Hat Satellite 6

Issue

  • Unable to set the HTTP(S) proxy except hosts parameter on Red Hat Satellite GUI.
  • Getting error Value is invalid: must be an array while saving the value for HTTP(S) proxy except hosts parameter on Red Hat Satellite GUI.

Resolution

  • The hostnames must be enclosed in square brackets [], following the same format used when the array is defined.

    [satellite.example.com,capsule1.example.com,capsul2.example.com,host1.example.com]
    

    NOTE:Red Hat Satellite cannot whitelist an entire domain. Each hostname must be explicitly defined in the configuration.

Root Cause

  • The error occurs because the HTTP(S) proxy except hosts parameter expects values to be provided in an array format. Specifying a hostname without the required array structure results in the error.
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.