RQM Failed to connect to ETM
Hi All,
I have 5 machines on which I wanted to install CLA adaptor. out of 5 I am able to connect to ETM using CLA Adaptor. for one particular machine I am not able to connect to ETM.
I am able to browse ETM link on that machine I am able to open from chrome browser.
Here are adaptor.log file snippet.
023-10-27 10:00:32,948 [main] ERROR com.ibm.rqm.adapter.library - The adapter lost connection to the server while accessing this resource: https://bt-clmserver01.hqs.sbt.siemens.com/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/projects.
2023-10-27 10:00:42,950 [main] ERROR com.ibm.rqm.adapter.library - Error while retrieving the list of project areas
2023-10-27 10:00:42,956 [main] ERROR com.ibm.rqm.adapter.commandline - "Failed to log in to server at https://bt-clmserver01.hqs.sbt.siemens.com/qm . Please check the repository URL https://bt-clmserver01.hqs.sbt.siemens.com/qm, user name robertjonas@siemens.com and its password and try again. Make sure that the Server is available."
2023-10-27 10:01:45,830 [main] WARN com.ibm.rqm.adapter.commandline - Configuration file C:\FS20QM Library\RQMCommandLineAdapter\Config2.ini does not exist, adapter will use the arguments passed
2023-10-27 10:01:45,959 [main] INFO com.ibm.rqm.adapter.library - Successfully created an HTTP client
2023-10-27 10:01:45,959 [main] INFO com.ibm.rqm.adapter.library - Security consideration: Adapters enable you to run programs remotely. When you use adapters, ensure that you run them by using a restricted user account that has access to only the required resources.
2023-10-27 10:02:07,142 [main] ERROR com.ibm.rqm.adapter.library - The adapter failed to connect to the server
org.apache.http.conn.HttpHostConnectException: Connect to bt-clmserver01.hqs.sbt.siemens.com:443 [bt-clmserver01.hqs.sbt.siemens.com/139.16.252.12] failed: Connection timed out: connect
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.executeMethod(JFSHttpsClient.java:821)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.basicLogin(JFSHttpsClient.java:576)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.login(JFSHttpsClient.java:490)
at com.ibm.rqm.integration.client.clientlib.JFSHttpsClient.login(JFSHttpsClient.java:478)
at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.login(RQMConnectionHelper.java:220)
at com.ibm.rqm.adapter.library.data.ServerInformation.login(ServerInformation.java:215)
at com.ibm.rqm.adapter.library.data.NewRequester.<init>(NewRequester.java:154)
at com.ibm.rqm.adapter.commandline.QMCommandLineAdapter.main(QMCommandLineAdapter.java:371)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:589)
at java.base/sun.nio.ch.Net.connect(Net.java:578)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:337)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
... 17 more
2023-10-27 10:02:28,216 [main] ERROR com.ibm.rqm.adapter.library - The adapter lost connection to the server while accessing this resource: https://bt-clmserver01.hqs.sbt.siemens.com:-1/qm/rootservices.
2023-10-27 10:02:38,219 [main] WARN com.ibm.rqm.adapter.library - Unable to determine ETM server version. This is expected for ETM 2.x and earlier servers.
Any suggestions why its happening from specific machine.
Thanks in advance.
Accepted answer
Consider to open a case with support.
Comments
May I know how to open a case with support
In general: https://jazz.net/help
I assume your organization that runs the servers would be able to do it for you and should also be your first contact in trying to understand what the issue could be, since it seems to be machine or version related. make sure you have a compatible version of the Command Line Adaptor installed. Usually have the same version as the server.
I am not sure if the message below has anything to do with the version or is the result of a simple connection failure.
- Unable to determine ETM server version. This is expected for ETM 2.x and earlier servers.