Webservice Rest Jobs fails with protocol is not supported when using http proxy with https endpoint
search cancel

Webservice Rest Jobs fails with protocol is not supported when using http proxy with https endpoint

book

Article ID: 366926

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

After upgrading agent Webservice REST to 4.6.10 or 4.6.11, the Jobs that use an http proxy in conjunction with an endpoint https fail with the following error in PLOG:

+++++++++++++++++++++++++++++++++++++ Start of Runtime Exception ++++++++++++++++++++++++++++++++++++
com.sun.jersey.api.client.ClientHandlerException: org.apache.http.conn.UnsupportedSchemeException: protocol is not supported
at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187)

In the Jobs Report:

INFO: I/O exception (org.apache.http.conn.UnsupportedSchemeException) caught when processing request to
{tls}>://PROXY_HOST:PROXY_PORT>https://WEBSERVICE_ENDPOINT:WEBSERVICE_ENDPOINT_PORT: protocol is not supported

Environment

Issue introduced in Ra WebService REST Agent 4.6.10 and 4.6.11

Cause

Defect introduced on Ra WebService REST Agent 4.6.10

Resolution

Workaround 1:

Downgrade to the previously working version of the RA Webservice Agent, such as 4.6.9 or inferior.

Workaround 2:

Set 'Proxy'->'Realm' to correct value when using proxies.

Solution:

Update to a fix version listed below or a newer version if available.

Fix version:
Component(s): RA.Web.Service.REST 4.6.12  - Available 

Additional Information

Bug ID: RA_WEB_SERVICE_REST-528

Public Description: Fixed 'protocol is not supported' error when proxy realm is empty. Proxy realm for http proxies will now default to 'http' if it is not set.