It's all about the answers!

Ask a question

Remote host closed connection during handshake


Klaus Obermueller (6122) | asked Nov 05 '14, 10:03 a.m.
Hello,

we are trying to integrate our existing RFT installation (Version 8.1.0) with our RQM (Version 4.0).

When starting or configuring the RFT Adapter the following messages appear on the adapter console:

03:49:38:406 PM Starting Adapter
03:49:40:609 PM Remote host closed connection during handshake
03:49:41:343 PM Reconnecting to the server
    The adapter failed to connect to the server

I can access the server URL via a browser but not with the RFT adapter.

After enabling debug logging for the RFT adapter an exception appears in the log. This is the log:

15:10:36,312 [Thread-3] DEBUG com.ibm.rqm.adapter.library                        - Are you sure (Y/N)?processed dir: C:\Documents and Settings\All Users\Application Data\IBM\RQMConnectivity

15:10:36,328 [Thread-3] DEBUG com.ibm.rqm.adapter.library                        - rc = 0
15:10:36,343 [main] DEBUG com.ibm.rqm.adapter.library                        - SetProject Area Name  = Quality Manager
15:10:36,343 [main] DEBUG com.ibm.rqm.adapter.library                        - SetProject Area Name  = Quality Manager
15:10:36,343 [main]  INFO com.ibm.rqm.adapter.rft                            - Save Project Area Info C:\Documents and Settings\All Users/Application Data/IBM/RQMConnectivity\rqmadapter.ini
15:10:39,500 [main]  INFO com.ibm.rqm.adapter.rft                            - StartAdapter URL[https://tdsrqm2.tivlab.raleigh.ibm.com:9443/jazz] User [OBM@de.ibm.com] AdapterName[RFT Adapter on sasrv1] ProjectArea[Quality Manager]
15:10:40,546 [main]  INFO com.ibm.rqm.adapter.library                        - Successfully created an HTTP client
15:10:41,562 [main] ERROR com.ibm.rqm.adapter.library                        - The adapter failed to connect to the server
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at com.ibm.jsse2.sc.a(sc.java:227)
    at com.ibm.jsse2.sc.g(sc.java:284)
    at com.ibm.jsse2.sc.a(sc.java:200)
    at com.ibm.jsse2.sc.startHandshake(sc.java:205)
    at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:160)
    at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:10)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:972)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:384)
    at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:450)
    at com.ibm.net.ssl.www2.protocol.https.b.getResponseMessage(b.java:38)
    at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.getFromServer(RQMConnectionHelper.java:523)
    at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.login(RQMConnectionHelper.java:200)
    at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:131)
    at com.ibm.rqm.adapter.library.data.NewRequester.<init>(NewRequester.java:102)
    at com.ibm.rqm.adapter.library.data.RQMAdapter.<init>(RQMAdapter.java:44)
    at com.ibm.rqm.adapter.rft.QMRFTAdapter.<init>(QMRFTAdapter.java:53)
    at com.ibm.rqm.adapter.rft.QMRFTAdapter.startAdapter(QMRFTAdapter.java:317)
    at com.ibm.rqm.adapter.rft.ui.AdapterMonitor$7.handleEvent(AdapterMonitor.java:522)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at com.ibm.rqm.adapter.rft.ui.AdapterMonitor.runLoop(AdapterMonitor.java:866)
    at com.ibm.rqm.adapter.rft.ui.AdapterMonitor.runConfigure(AdapterMonitor.java:848)
    at com.ibm.rqm.adapter.rft.options.UpdateConnectionInfo.main(UpdateConnectionInfo.java:183)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:599)
    at com.rational.test.ft.RQMAdapterLauncher.callAdapter(RQMAdapterLauncher.java:62)
    at com.rational.test.ft.RQMAdapterConfigure.main(RQMAdapterConfigure.java:19)
Caused by:
java.io.EOFException: SSL peer shut down incorrectly
    at com.ibm.jsse2.a.a(a.java:103)
    at com.ibm.jsse2.sc.a(sc.java:591)
    ... 30 more
15:10:41,640 [main]  INFO com.ibm.rqm.adapter.rft                            - Initial Login
15:10:41,937 [main] ERROR com.ibm.rqm.adapter.rft                            - Login Error Remote host closed connection during handshake
15:10:42,203 [main] ERROR com.ibm.rqm.adapter.rft                            - Unable to find project areaRemote host closed connection during handshake
15:10:42,437 [main] DEBUG com.ibm.rqm.adapter.rft                            - Starting the adapter thread


15:10:42,437 [Thread-5] DEBUG com.ibm.rqm.adapter.library                        - Adapter polling RQM server for instructions.
15:10:42,687 [Thread-5] DEBUG com.ibm.rqm.adapter.library                        - Adapter process going for sleep for: 3 seconds.
15:10:45,687 [Thread-5] DEBUG com.ibm.rqm.adapter.library                        - Adapter polling RQM server for instructions.
15:10:45,921 [Thread-5] DEBUG com.ibm.rqm.adapter.library                        - Adapter process going for sleep for: 3 seconds.

Any idea ? Thanks for your help in advance !

Regards Klaus

One answer



permanent link
Kevin Ramer (4.5k9186201) | answered Nov 05 '14, 11:40 a.m.
edited Nov 05 '14, 11:41 a.m.
This looks all too familar to me. 

cf: 
https://jazz.net/forum/questions/163472/should-rfc1323-be-1-related-to-remote-host-closed-connection-during-handshake
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=195587

Comment 19 on the work item.    See also

https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/279639

Question:  What application server ( WebSphere or Tomcat ) is being used for QM ?  Answer will lead you down one of the paths above.

Comments
Klaus Obermueller commented Nov 06 '14, 3:58 a.m.

Hi Kevin, thanks for your fast reply.
But I don't know which application server is being used for QM.
We are using the Quality Management (TDSRQM2) at tdsrqm2.tivlab.raleigh.ibm.com and do not know who or what is installed on this machine .....

Anyway, even if we could find out what application server is used, I think the problem can only be solved by the responsible admin of this server. Right ?

Thanks for your help in advance.


Kevin Ramer commented Nov 12 '14, 8:27 a.m.

In the "masthead" of that WebUI there are 4 links the first of which is "Issues/Requests".  That is where issues should be reported.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.