Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Jenkins RTC Error - Unrecognized SSL message, plaintext connection

Hi,

I have configured one code repository in IBM SCM and doing integration with Jenkins.

IBM RTC version :  6.0.2
IBM RTC Buildtoolkit installed on Jenkins : 6.0.2
Jenkins Version : 2.32.1
Jenkins Team Concert Plugin: 1.2.0.2

My Jenkins server is behind proxy. I have configured proxy for the system. 
While configuring Job for IBM SCM, I am getting error mentioned below.

IBM RTC is running on https (https://<<hostname>>/ccm)

Failed to connect : CRJAZ0099E An HTTP error occurred when this URL was being accessed: /ccm/versionCompatibility?clientVersion=6.0.2. Error details: Unrecognized SSL message, plaintext connection?.
Failed to connect : CRJAZ0099E An HTTP error occurred when this URL was being accessed: /ccm/versionCompatibility?clientVersion=6.0.2. Error details: Unrecognized SSL message, plaintext connection?. com.ibm.team.repository.common.transport.TeamServiceException: CRJAZ0099E An HTTP error occurred when this URL was being accessed: /ccm/versionCompatibility?clientVersion=6.0.2. Error details: Unrecognized SSL message, plaintext connection?. at com.ibm.team.repository.transport.client.RemoteTeamServer.executePrimitiveRequest(RemoteTeamServer.java:1918) at com.ibm.team.repository.transport.client.RemoteTeamServer.executeWithAuthHandling(RemoteTeamServer.java:1546) at com.ibm.team.repository.transport.client.RemoteTeamServer.executeMethod(RemoteTeamServer.java:1172) at 

I am part of DevOps team and don't having access of IBM RTC server. I don't having access to change anything on IBM RTC. I am able to access IBM RTC from web browser & Eclipse, but getting error in Jenkins.

Please help

0 votes



2 answers

Permanent link

You're not supposed to change anything on the RTC server if it is working fine with web browsers and the Eclipse client. The error message suggests that your Jenkins server has problems with going through the proxy server. Have you checked out this post?
https://jazz.net/forum/questions/214230/how-do-you-configure-jenkins-to-work-with-a-proxy-server

Additional to the -Dhttp.proxyHost and -Dhttp.proxyPort options, you may need to add -Dhttps.proxyHost and -Dhttps.proxyPort as well.

0 votes

Comments

 I have configured four proxy parameters 

-Dhttp.proxyHost=<<ProxyHostName>> 
-Dhttp.proxyPort=<<ProxyHostName>> 
-Dhttps.proxyHost=<<ProxyHostName>> 
-Dhttps.proxyPort=<<ProxyHostName>> 

I also configured proxy in "Manage Jenkins -> Advance" Tab. In "Manage Jenkins -> Advance" tab, I test the connection with IBM RTC URL and connection is successful.

I suspect, it is something related to SSL Configuration. 
If I browse "https://<<RTCHostName>>/ccm/versionCompatibility?clientVersion=6.0.2" (which Jenkins is trying to hit), I get response "{"compatible":true,"isJTS":false}". It seems Jenkins is expected encrypted response, as RTC URL is https. But Jenkins is getting plan text response. And jenkins throw error: Unrecognized SSL Message, Plaintext connection


Of course it's related to SSL configuration, but it's not the Jenkins is expected encrypted responses - SSL is encrypted anyway. The error basically means that an SSL connection cannot be established.

As you keeps saying Jenkins server, are you really sure the error is thrown by the Jenkins server, not the Jenkins slaves? You need to make the same SSL configuration on all Jenkins machines, be it server or slave.

 I have only one Jenkins server. There is no slave.


In case I use IBM RTC Build toolkit ver 5.0.2, then it works fine. 
If I use IBM RTC Build toolkit ver 6.0.2 then I get SSL error. I have checked again, IBM RTC server version is 6.0.2. 

I can't think of anything else at the moment. If you know how to capture and analyze network trace, you can do it to find out why the error is thrown. Otherwise, contact IBM Support and get some assistance there.


Permanent link

 This looks like a network error and not like an RTC problem. On the Jenkins host, make sure you can reach


https://<<hostname>>/ccm/versionCompatibility?clientVersion=6.0.2

Try to open https://<<hostname>>/ccm/web

If you can not connect (likely because of the proxy and network settings) you have to fix that first. 

0 votes

Comments

 Hi Ralph, 

Thanks for your reply. 

URL "https://<<hostname>>/ccm/versionCompatibility?clientVersion=6.0.2" is reachable from Jenkins server and I am getting response "{"compatible":true,"isJTS":false}".

It seems Jenkins is expected encrypted response, as RTC URL is https. But Jenkins is getting plan text response. And jenkins throw error: Unrecognized SSL Message, Plaintext connection.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 151
× 36

Question asked: Mar 10 '17, 1:29 a.m.

Question was seen: 4,755 times

Last updated: Mar 14 '17, 12:30 a.m.

Confirmation Cancel Confirm