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

Issue with HttpClient in RTC 4.0.2

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: https://issues.apache.org/jira/browse/HTTPCLIENT-1118

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:
java.net.UnknownHostException: usfdeveloper
        at java.net.InetAddress.getAllByName0(InetAddress.java:1274)
        at java.net.InetAddress.getAllByName(InetAddress.java:1196)
        at java.net.InetAddress.getAllByName(InetAddress.java:1118)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:242)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:130)
        at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
        at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
        at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)

It produces this error message:
javax.net.ssl.SSLException: hostname in certificate didn't match: <usfdeveloper/9.24.239.218> != <usfdeveloper>

Thanks

0 votes



4 answers

Permanent link
Hi Chris,
I found similar defect on jazz.net https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=196230. Anyway it seems to be already fixed. I would recomment you to create new defect on jazz.net 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 jazz.net? Or you have any issue with CLM applications usage?
Best regards,
Krzysztof Kazmierczyk

0 votes


Permanent link
Sorry, plugin version number should be 4.1.2, not 1.4.2.

0 votes


Permanent link
Krzysztof,

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?
Regards,
Chris

0 votes


Permanent link
Hello Chris,
I don't think that you can revert the version of HttpClient library. This version is used by many other components.

0 votes

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

Question asked: Jun 05 '13, 9:23 a.m.

Question was seen: 5,220 times

Last updated: Jun 05 '13, 12:01 p.m.

Confirmation Cancel Confirm