Error integrating with Jira

I'm getting the error below during the setup wizard while trying to configure the integration with Jira:

2013-01-30 09:34:54,250 ERROR - Failed to setup JIRA integration: java.security.spec.InvalidKeySpecException: java.lang.ClassCastException: org.bouncycastle.asn1.DERInteger cannot be cast to org.bouncycastle.asn1.ASN1Sequence

com.atlassian.fisheye.jira.setup.JiraSetupException: Failed to setup JIRA integration: java.security.spec.InvalidKeySpecException: java.lang.ClassCastException: org.bouncycastle.asn1.DERInteger cannot be cast to org.bouncycastle.asn1.ASN1Sequence

I'm an Administrator for Jira OnDemand.

3 answers

1 accepted

Accepted Answer
0 votes

Hi Lawrence,

JIRA OnDemand can only connect to other applications through port 80 or 443 only.

Please make sure that your Site URL is set to port 80 or 443 too.

Initially i was stuck in step 2. But adding a proxy with port 80 solve it and allow me to proceed to step 3.

Please try adding the following parameter into the proxy server:

LogLevel debug
ProxyRequests           Off
ProxyPreserveHost       On

and remove the IP address in the 'http bind' in your config.xml

0 votes

You don't tell us what you are trying to "integrate" or where really.

If it's two OnDemand systems that you own, then you need to talk to Atlassian OnDemand support. If not, and you want help here, then you need to tell us what the systems are and give us at least an outline of how they're configured and what you've done so far.

Hi Nic,

Basically i've installed Fisheye on my on server running Linux. I'm experiencing the error above on the last step(Step 3) of the setup wizard where i have the options to choose Set Users and Trust.

When i choose "These servers fully trust each other" i'm getting the error above in the log.

Yeap, that is my guess as well. I've told them it's a bug either in Fisheye or Jira side, currently awaiting for their feedback. It's Foong that has been assign to my ticket.

Will feedback once i get an answer from them.

Ok, well, that looks like an SSL authentication error to me. This will either be a certificate problem (i.e. Fisheye doesn't have the right certificate or certificate authority to see your Jira) or an authentication error based on Fisheye or Jira not having the right to log into the other system.

In our Jira OnDemand...it is linked to Confluence...

And yes, Fisheye is able to reach Jira and vice versa. Or else we won't be able to proceed to step 3.

Mmm, you don't know that it's a bug. Can you reach Jira from your Fisheye server? On the right port? Can Jira be linked to other applications?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

138 views 6 8
View post

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