Open Workbench throws Unable to tunnel through proxy connection
search cancel

Open Workbench throws Unable to tunnel through proxy connection

book

Article ID: 398972

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Open Workbench does not work over a PROXY network with security authentication

Steps Taken:

  1. Create a proxy server with Proxy authentication enabled
  2. Set up a Windows workstation with proxy connection enabled
    example: 

    Google Chrome: Check the proxy settings under Settings > System > Open your computer’s proxy settings.

    Mozilla Firefox: Check under Preferences > Network Settings to ensure it's using the proxy with authentication enabled. 

  3. Open a Clarity environment (basic auth or SSO enabled), open a project that is set up with OWB as the scheduler format
     
  4. Open the project with the OWB scheduling option from Clarity

Expected result:

OWB opens the project from Clarity

Actual result:

OWB returns A server error that occurred during login: - Unable to tunnel through proxy connection. Proxy returns "HTTP/1.1 407 Authentication Required"

Resolution

Edit tunnelling properties via the JDK configuration used for OWB.

For example: 

C:\Program Files (x86)\Clarity\ScheduleConnect\jre\conf\net.properties

Ensure the following lines are commented out and saved

#jdk.http.auth.proxying.disabledSchemes=
#jdk.http.auth.tunneling.disabledSchemes=Basic

Back to the web browser, open a project in the OWB scheduler option, and you should ideally no longer get the unable to tunnel exception. i.e. A server error occurred during login: - Unable to tunnel through proxy connection. Proxy returns "HTTP/1.1 407 Authentication Required"

NOTE:

If there is SSL validation error thrown, open open workbench and check the connection properties

  • The SSL handling is set to Login, and clear out any SSL Host details in the window 
  • Switch back to SSL Handling to None
  • Close OWB by hitting OK /Cancel