Eclipse connector throws SSLHandshakeException (was ~ has timeout when connecting to Jira 6.0)

Hello,

Server is v6.0.8#6109-sha1:57cf099

IDE connector is

Atlassian JIRA Connector (Recommended) 3.2.2.v20130909 com.atlassian.connector.eclipse.jira.feature.group Atlassian

Eclipse Release is

Version: Kepler Service Release 2
Build id: 20140224-0627

Eclipse is configured to use system Proxy and the internal browser can connect to the Jira server.

But when doing "check credentials" in the Task Repository preferences I get a network timeout. There ar no additional network setting made in the Repositoty preferences.

what could be the reason why the connector cannot reach the server and how do I prove this?

[Edit 2014/Apr/30]: The Proxy/firewall issue seams to be solved, now I have a Authentication problem...

bye

Thomas

4 answers

1 accepted

Hi,

Could you please attach a screenshot of your JIRA Task Repository configuration (proxy part)?

Could you also attach a screenshot of your Eclipse proxy settings?

If you want to make this conversation private then please raise a support request at https://support.atlassian.com

The most likely reason is of course proxy misconfiguration but I need to know more details to say anything more.

Cheers,
Jacek

The settings in the connector and in eclipse are kind of boring... ;o)

bye

Thomas

Do I need the keys from your issue or from my companies jira server?

bye

Thomas

That looks OK but Eclipse proxy setting is also important. Can you please attach a screenshot?

WRT SSLHandshakeException it means that SSL certificate is not signed but trusted party. To fix this error you must add the SSL certificate to your java keystore. You can find detailed instruction at https://ecosystem.atlassian.net/browse/PLE-1430?focusedCommentId=82612&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-82612

Cheers,
Jacek

Definitely from your company JIRA server.

You can simply open JIRA page in the browser, click the "lock pad" icon and save the certificate.
Next you need to add this saved certificate to java keystore as described in the linked issue.

Cheers,
Jacek

unfortunately the keytool wants me to set a password on that keystore but I don't want to deal with one more PW to forget...

So I added the cert via java-systemcontrol and restarted eclipse. but tis does not help... :o(

bye

Thomas

Please make sure you have added the certificate to the correct java version if you have more than one installed on your computer. It should be the same version which is used by Eclipse.

Also, I did not use java-systemcontrol and cannot confirm it does the correct job.

Java keystore has default password "changeit". You need to provide it when you manipulate the keystore. No need to change it.

Cheers,
Jacek

0 votes

Hi Thomas, did you try using a network sniffer to see what happens?

this is a customers PC in a customers network.

I'm not allowed to unse a network sniffer and I'm pretty sure that the customers IT will set my issure on top of the priority list... :o(

bye

Thomas

outside of the customers network I get this error:

om.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 6 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

48 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you