Stalwart
Stalwart

Reputation: 59

CRJAZ2384E Cannot connect to the repository at URL. Invalid Padding Length

When I try to connect to the Repository from Eclipse, I get the following error,

CRJAZ2384E Cannot connect to the repository at URL "https://clm.product.org/ccm", see the nested exception for more details. 
For more details, open the help system and search for CRJAZ2384E. 

CRJAZ2384E Cannot connect to the repository at URL "https://clm.product.org/ccm", see the nested exception for more details. 
For more details, open the help system and search for CRJAZ2384E. 
Invalid Padding length: 

Note: It was working till yesterday. Suddenly it got disconnected and began showing up the above error

I installed new version of Eclipse too and tried to connect. But it still did not connect.

Request help please.

Upvotes: 1

Views: 5081

Answers (2)

emre avci
emre avci

Reputation: 11

In the Rational Software Architect JRE edit the java.security file and comment out the option jdk.certpath.disabledAlgorithms=MD2

http://www-01.ibm.com/support/docview.wss?uid=swg21663610

Upvotes: 0

VonC
VonC

Reputation: 1325137

It can depends on your OS and on the java used (the one from RTC, IBM jre), or an external one (as in this thread)

An Invalid padding length error when trying to connect to an https url indicates an handshake issue (like this one or this one)

I noticed that the bug suggested here relates to the Diffie-Hellman key exchange, so I tried selecting a cipher which does not use Diffie-Hellman (-Dhttps.cipherSuites=TLS_RSA_WITH_AES_256_CBC_SHA256) and the problem went away.

Depending on how your RTC server is installed, check with the RTC admin if that policy can be enforced.

Since the issue persists with a new Eclipse, it is unlikely that this older answer (about upgrading Eclipse) would help.

The OP Stalwart mentions in the comments:

I resolved this issue by adding the path of JDK in the Target path after clicking on properties

Upvotes: 0

Related Questions