The REST step is unable to invoke the REST service call

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
sandhya.budhi
Premium Member
Premium Member
Posts: 18
Joined: Wed Nov 15, 2017 10:50 am

The REST step is unable to invoke the REST service call

Post by sandhya.budhi »

The REST call is failing with the error

CDIER0961E: The REST step is unable to invoke the RESTservice, cause=javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

The REST call was successful during previous executions and suddenly we started receiving the above error message as response when the job do a REST call.

I checked with the infrastructure team and no upgrades has been done on the datastage side which could have caused this issue.

Can you please help me how to proceed with this error?
Thanks,
Sandhya
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

In your shoes, I would start with a Google search for "java peer not authenticated".
-craig

"You can never have too many knives" -- Logan Nine Fingers
sandhya.budhi
Premium Member
Premium Member
Posts: 18
Joined: Wed Nov 15, 2017 10:50 am

Post by sandhya.budhi »

I did Google Search and I got the details from IBM troubleshooting saying that we need to upgrade DataStage jdk

http://www-01.ibm.com/support/docview.w ... wg22008850

That's why I reached my infrastructure team to check any upgrades have done so there is some issues happening when doing a REST call.
Thanks,
Sandhya
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Let us know what you find out!
-craig

"You can never have too many knives" -- Logan Nine Fingers
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

I can only guess, but maybe it is a certificate issue.
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
sandhya.budhi
Premium Member
Premium Member
Posts: 18
Joined: Wed Nov 15, 2017 10:50 am

Post by sandhya.budhi »

I tried running the datastage job by giving Optional Argument in Hierarchical Stage as -Djavax.net.debug=SSL

The logs showed the below message

pool-1-thread-3, WRITE: TLSv1 Handshake, length = 121
pool-1-thread-3, handling exception: java.net.SocketException: Connection reset
pool-1-thread-3, IOException in getSession(): java.net.SocketException: Connection reset
pool-1-thread-3, called close()
pool-1-thread-3, called closeInternal(true)
pool-1-thread-3, SEND TLSv1 ALERT: warning, description = close_notify
pool-1-thread-3, WRITE: TLSv1 Alert, length = 2
pool-1-thread-3, Exception sending alert: java.net.SocketException: Broken pipe
pool-1-thread-3, called closeSocket(selfInitiated)
pool-1-thread-3, called close()
pool-1-thread-3, called closeInternal(true)

I reached the Network team to further investigate on this.
Thanks,
Sandhya
sandhya.budhi
Premium Member
Premium Member
Posts: 18
Joined: Wed Nov 15, 2017 10:50 am

Post by sandhya.budhi »

The issue is resolved by enabling the Proxy in the Hierarchical Stage. Also the Enable SSL option is checked along with the Basic Authentication.

The REST call is happening fine and success return code is received from call.

Basically the issue was with SSL certificate and once we enable it from DataStage everything went fine.
Thanks,
Sandhya
Post Reply