Workload: Adding proxy server by IP address throws the error "Invalid Proxy Server"
search cancel

Workload: Adding proxy server by IP address throws the error "Invalid Proxy Server"

book

Article ID: 292621

calendar_today

Updated On:

Products

Carbon Black Cloud Workload

Issue/Introduction

  • The IP address of Proxy Server contains just "0" in IP intervals
  • Below error is seen:
    Invalid Proxy Server

Environment

  • Carbon Black Cloud Console: All Versions
    • Workload

Cause

An extra check in regular expression of UX validation because of which 0 was not accepted at second and third position in IP address

Resolution

  • This will be fixed in a future Workload appliance release
  • Once the Workload appliance release with the fix is available, this KB will be updated to reflect that information

Workaround:
  • Appliance Admin needs to execute the script set_proxy.sh which will accept the proxy details like IP address & Username, Password [if applicable] to save the proxy configuration
  • Steps to execute script:
  1. Download the script set_proxy.sh
  2. Login to appliance VM using ssh command:
    Eg ssh admin@<appliance_ip>
  3. Ensure to change directory to $HOME directory
  4. Copy the downloaded script under $HOME directory of appliance VM
  5. Change the permission of the file to make it executable:
    chmod 744 set_proxy.sh
  6. Execute the script to set proxy:
    sh set_proxy.sh
  7. Follow the script commands and enter all mandatory details. Optional details can be left blank by simply hitting enter/return key
  8. Verify if the script is successful and if so, below should be seen: 
    “Successfully set proxy server. Please verify on UI”
  9. Login to appliance UI using admin credentials
  10. Navigate to Appliance -> Network -> Proxy tab, this should show the proxy details which were set through the script.

Additional Information

Please note that saving proxy configuration using script is needed only in case of UI failed to validate correct proxy detail.

Attachments

set_proxy.sh get_app