It's all about the answers!

Ask a question

Eclipse connection error but web client connects


Michael Ribeiro (1111) | asked Oct 22 '15, 2:08 p.m.

The team was working with RTC 4.0 for a while now. However "suddenly" Eclipse connections are getting the following errors. I am am stuck on next steps to debug this issue.





The web client can still connection from the same workstations.

Looking in the logs we can see these errors (may or may not be related)
2015-10-16 13:05:31,406 [   jts: Remote license updater]  WARN com.ibm.team.repository                             - CRJAZ1297I The list of floating licenses could not be updated.  See nested exception for details.
com.ibm.team.repository.common.TeamRepositoryException: CRJAZ1267I The list of floating licenses could not be retrieved from "https://ehealth.clm.ibm.com:9443/jts/service/com.ibm.team.repository.service.internal.license.IFloatingLicenseService/licenses".
    at com.ibm.team.repository.service.internal.license.FloatingLicenseClient.getFloatingLicenseList(FloatingLicenseClient.java:137)
    at com.ibm.team.repository.service.internal.license.FloatingLicenseClient.getFloatingPolicies(FloatingLicenseClient.java:151)
    at com.ibm.team.repository.service.internal.license.ManagedFloatingLicenseClient.getFloatingPolicies(ManagedFloatingLicenseClient.java:412)
    at com.ibm.team.repository.service.internal.license.LicenseService.updateRemoteFloatingLicenses(LicenseService.java:699)
    at com.ibm.team.repository.service.internal.license.LicenseService.access$8(LicenseService.java:697)
    at com.ibm.team.repository.service.internal.license.LicenseService$3$1.run(LicenseService.java:493)
    at com.ibm.team.repository.service.internal.TeamServiceContext.runAsAdmin(TeamServiceContext.java:141)
    at com.ibm.team.repository.service.internal.license.LicenseService$3.run(LicenseService.java:491)
    at java.lang.Thread.run(Thread.java:736)
Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
    at com.ibm.jsse2.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:39)
    at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)


2015-10-16 13:03:48,981 [          http-bio-9443-exec-4] ERROR vice.compatibility.license.internal.LicenseService  - Error checking licenses
com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient$RestCommunicationException
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.createExceptionFromResponse(CrossServerHttpClient.java:544)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.checkResponse(CrossServerHttpClient.java:467)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.send(CrossServerHttpClient.java:441)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.send(CrossServerHttpClient.java:335)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.send(CrossServerHttpClient.java:453)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClient.send(CrossServerHttpClient.java:304)
    at com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClientService.sendAndDeserialize(CrossServerHttpClientService.java:78)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:600)
    at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)


Comments
Donald Nong commented Oct 23 '15, 12:53 a.m. | edited Oct 23 '15, 12:54 a.m.

"The following error" should refer to a screenshot which is invisible in your post because you don't have enough reputation. Can you post the errors in words or put the screenshot somewhere else so others can see?
Also, you should check the Eclipse .log file rather than the server log files.


Michael Ribeiro commented Oct 23 '15, 10:22 a.m.

Well I would put the error but the system detects the error as spam.

It looked like "Error tracking new loaded workspace.Try refreshing to fix this problem.
Unable to obtain license to read SCM related data: null."

The .log file has the following (can't put the stack trace here as it is detected as a spam) "com.ibm.team.repository.common.LicenseNotGrantedException: Unable to obtain license to read SCM related data: null."

2 answers



permanent link
Michael Ribeiro (1111) | answered Oct 23 '15, 10:48 a.m.

Found the issue, an audit of the system users incorrectly archived the jts user, restoring the jts user account resolved the issue. Was able to dig and found this issue on the forum https://jazz.net/forum/questions/119143/how-do-i-resolve-a-crossserverhttpclientrestcommunicationexception-error-when-accessing-project-areas


permanent link
anup Gaur (1392444) | answered Oct 22 '15, 3:28 p.m.
 Hi Michael,

Can you try checking that your connection settings in eclipse client is same as the ones being used in Web browser.
This is especially if your browser use proxy to connect to servers. In eclipse go to windows > preferences > General > Network Connections. Please compare the network settings here with your Web Browser connection settings.



Comments
Michael Ribeiro commented Oct 22 '15, 3:52 p.m.

We did, I actually copy the connection URL from the eclipse client.
I don't know why this would matter this week versus two weeks ago, but the SSL certificate is self signed and expired.

Owner: CN=localhost, OU=IBM Rational, O=IBM
Issuer: CN=localhost, OU=IBM Rational, O=IBM
Serial number: 4da34614
Valid from: 4/11/11 2:19 PM until: 11/4/12 1:19 PM

Just comparing the process we do "accept" the SSL warning through the browser.

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.