Web Services - awsSignedURL Signature Version 4 error
book
Article ID: 84463
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation EngineAUTOMIC WORKLOAD AUTOMATION
Issue/Introduction
Error Message : java.lang.Exception: Response error code: 400 (Response family:CLIENT_ERROR), Exception: AuthorizationHeaderMalformedThe authorization header is malformed; the region 's3' is wrong; expecting 'us-west-2'us-west-29044CD1DA111111+0mIbbGVE1111112222223333D4ESvwy4pVlMZMO5IRjIXkKAw7i3gg=:Bad Request at com.uc4.common.JerseyUtils.handleExceptions(JerseyUtils.java:45) at com.uc4.common.JerseyUtils$handleExceptions.call(Unknown Source) at REST.handleResponse(WebService.groovy:2927) at REST.this$4$handleResponse(WebService.groovy) at REST$this$4$handleResponse.callCurrent(Unknown Source) at REST.runJob(WebService.groovy:3634) at com.uc4.extensibility.types.CITAgent.dispatchJob(CITAgent.java:258) at com.uc4.ex.cit.CITJob.execute(CITJob.java:191) at com.uc4.ex.Job.run(Job.java:469) at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
When using the RA Web Service 3.2.0 solution to list all Objects in the AWS S3 bucket using the REST API, the job fails with the (above) error message.
Cause
Cause type: Defect Root Cause: The Authorization header is not forming the Credential component correctly.
Notes: Automic will make the v4.x version of the WebService Agents compatible with v11.2 of the Automation Engine.
For technical reasons we cannot fix this bug in the 3.X version of the 2 RA.WebService Agent but we already verified that the issue is resolved in the v4.2 of the agent.
Currently v4.2 requires at least v12 of the Automation Engine to work.
Automic is working on making the v4.2 RA.WebService Agent compatible with 11.2 of the automation engine and plans to release this early 2018 as v4.3 of the agent.
It will be possible install and use the 4.3 version in v11.2 side by side with the existing v3 agents. The v4.3 agent will not replace/overwrite v3 agents.
For automated migration of WS 3 soap objects to v4.x automic will release a migration tool with the v4.3 release of the RA WebService Soap agent.
Fix Status: Released
Fix Version(s): RA Web Service REST 4.3.0 - Available