It's all about the answers!

Ask a question

Issue with HttpClient in RTC 4.0.2

Chris Rowan (1146) | asked Jun 05 '13, 9:23 a.m.
I am seeing what I believe is a know bug with the Apache HttpClient, version 1.4.2, which I have confirmed is the version in my RTC4.0.2 installation. Here is a link to the issue:

It's not clear from that link which release this is fixed in. Is it possible to determine that, and upgrade the version packaged with RTC 4? Is there a way I could deploy version 1.4.1 as a workaround? Please advise how I would do this.

For reference, here is the exception I am getting in my installation: usfdeveloper
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(
        at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(
        at org.apache.http.impl.client.DefaultRequestDirector.execute(
        at org.apache.http.impl.client.AbstractHttpClient.execute(
        at org.apache.http.impl.client.AbstractHttpClient.execute(
        at org.apache.http.impl.client.AbstractHttpClient.execute(

It produces this error message: hostname in certificate didn't match: <usfdeveloper/> != <usfdeveloper>


4 answers

permanent link
Krzysztof Ka┼║mierczyk (7.5k478103) | answered Jun 05 '13, 9:40 a.m.
Hi Chris,
I found similar defect on Anyway it seems to be already fixed. I would recomment you to create new defect on for that if you want to have it fixed.
By the way, how are you using http client library? Are you writing any extension on top of Or you have any issue with CLM applications usage?
Best regards,
Krzysztof Kazmierczyk

permanent link
Chris Rowan (1146) | answered Jun 05 '13, 9:43 a.m.
Sorry, plugin version number should be 4.1.2, not 1.4.2.

permanent link
Chris Rowan (1146) | answered Jun 05 '13, 9:47 a.m.

I have a plugin developed for my application which uses HttpClient. That plugin is experiencing this problem. It's not a problem for any native Jazz functionality that I have encountered to date.

Do you know if it's possible to revert to an older version of the plugin in my current 4.0.2 installation?

permanent link
Krzysztof Ka┼║mierczyk (7.5k478103) | answered Jun 05 '13, 12:01 p.m.
Hello Chris,
I don't think that you can revert the version of HttpClient library. This version is used by many other components.

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.