Troubleshooting
Problem
HTTP Client Method Service Get Operation errors out with handshake failure while executing API.
Symptom
The server side is responding with handshake failure.
httpclient.log
[2021-08-03 14:44:50.35] ALL 000000000000 GLOBAL_SCOPE [Raw read]: length = 2
[2021-08-03 14:44:50.35] ALL 000000000000 GLOBAL_SCOPE 0000: 02 28 ..
[2021-08-03 14:44:50.35] ALL 000000000000 GLOBAL_SCOPE 0000: 02 28 ..
[2021-08-03 14:44:50.35] ALL 000000000000 GLOBAL_SCOPE Unknown-TLS, READ: TLSv1 Alert, length = 2
[2021-08-03 14:44:50.35] ALL 000000000000 GLOBAL_SCOPE Unknown-TLS
[2021-08-03 14:44:50.351] ALL 000000000000 GLOBAL_SCOPE , RECV TLSv1.2 ALERT:
[2021-08-03 14:44:50.351] ALL 000000000000 GLOBAL_SCOPE fatal,
[2021-08-03 14:44:50.351] ALL 000000000000 GLOBAL_SCOPE handshake_failure
[2021-08-03 14:44:50.351] ALL 000000000000 GLOBAL_SCOPE Unknown-TLS, fatal: engine already closed. Rethrowing javax.net.ssl.SSLException: Received fatal alert: handshake_failure
[2021-08-03 14:44:50.35] ALL 000000000000 GLOBAL_SCOPE Unknown-TLS
[2021-08-03 14:44:50.351] ALL 000000000000 GLOBAL_SCOPE , RECV TLSv1.2 ALERT:
[2021-08-03 14:44:50.351] ALL 000000000000 GLOBAL_SCOPE fatal,
[2021-08-03 14:44:50.351] ALL 000000000000 GLOBAL_SCOPE handshake_failure
[2021-08-03 14:44:50.351] ALL 000000000000 GLOBAL_SCOPE Unknown-TLS, fatal: engine already closed. Rethrowing javax.net.ssl.SSLException: Received fatal alert: handshake_failure
Perimeter.log
[2021-08-03 14:45:41.367] ERROR <Unknown-TLS> [1628016341367] Received fatal alert: handshake_failure
[2021-08-03 14:45:41.368] ERRORDTL <Unknown-TLS> [1628016341367]javax.net.ssl.SSLException: Received fatal alert: handshake_failure
at com.ibm.jsse2.k.a(k.java:5)
at com.ibm.jsse2.as.a(as.java:242)
at com.ibm.jsse2.as.a(as.java:177)
at com.ibm.jsse2.as.j(as.java:479)
at com.ibm.jsse2.as.b(as.java:379)
at com.ibm.jsse2.as.a(as.java:272)
at com.ibm.jsse2.as.unwrap(as.java:184)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:5)
at com.sterlingcommerce.perimeter.ssl.TLSAgent.processInbound(TLSAgent.java:580)
at com.sterlingcommerce.perimeter.ssl.TLSAgent$NetworkConduitAgent.canReceive(TLSAgent.java:831)
at com.sterlingcommerce.perimeter.api.conduit.DataConduitApiImpl$4.body(DataConduitApiImpl.java:390)
at com.sterlingcommerce.perimeter.api.ContextRunnable.run(ContextRunnable.java:41)
at com.sterlingcommerce.perimeter.api.scheduler.TaskNode.run(TaskNode.java:62)
at com.sterlingcommerce.perimeter.dispatcher.AbstractDispatcher.runTasks(AbstractDispatcher.java:465)
at com.sterlingcommerce.perimeter.dispatcher.AbstractDispatcher.doRun(AbstractDispatcher.java:428)
at com.sterlingcommerce.perimeter.dispatcher.AbstractDispatcher$2.run(AbstractDispatcher.java:175)
at java.lang.Thread.run(Thread.java:811)
[2021-08-03 14:45:41.368] ERRORDTL <Unknown-TLS> [1628016341367]javax.net.ssl.SSLException: Received fatal alert: handshake_failure
at com.ibm.jsse2.k.a(k.java:5)
at com.ibm.jsse2.as.a(as.java:242)
at com.ibm.jsse2.as.a(as.java:177)
at com.ibm.jsse2.as.j(as.java:479)
at com.ibm.jsse2.as.b(as.java:379)
at com.ibm.jsse2.as.a(as.java:272)
at com.ibm.jsse2.as.unwrap(as.java:184)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:5)
at com.sterlingcommerce.perimeter.ssl.TLSAgent.processInbound(TLSAgent.java:580)
at com.sterlingcommerce.perimeter.ssl.TLSAgent$NetworkConduitAgent.canReceive(TLSAgent.java:831)
at com.sterlingcommerce.perimeter.api.conduit.DataConduitApiImpl$4.body(DataConduitApiImpl.java:390)
at com.sterlingcommerce.perimeter.api.ContextRunnable.run(ContextRunnable.java:41)
at com.sterlingcommerce.perimeter.api.scheduler.TaskNode.run(TaskNode.java:62)
at com.sterlingcommerce.perimeter.dispatcher.AbstractDispatcher.runTasks(AbstractDispatcher.java:465)
at com.sterlingcommerce.perimeter.dispatcher.AbstractDispatcher.doRun(AbstractDispatcher.java:428)
at com.sterlingcommerce.perimeter.dispatcher.AbstractDispatcher$2.run(AbstractDispatcher.java:175)
at java.lang.Thread.run(Thread.java:811)
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"ARM Category":[{"code":"a8m50000000CjxLAAS","label":"Protocol->HTTPS"}],"ARM Case Number":"TS006133718","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1"}]
To view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
More support for:
IBM Sterling B2B Integrator
Component:
Protocol->HTTPS
Software version:
6.0.1
Document number:
6482269
Modified date:
18 August 2021
UID
ibm16482269
Manage My Notification Subscriptions