Issues

Redmine integration

Redmine integration
Answer
10/19/17 9:18 AM
Hello

We test Klaros TestManagement platform and we need Redmine integration.
I check the documentation and forum threads about Redmine integration but have a problem.

Used version:
Klaros-Testmanagement Community Edition 4.7.1 - Build 1182
Redmine 3.4.0
Mylyn Connector plugin - tested with (https://github.com/yukoff/redmine_mylyn_connector) and (git://github.com/yukoff/redmine_mylyn_connector)

I have REST enabled in Redmine and "klaros" user is added to used Redmine project.

When I try to connect I receive this error:
ERROR    09:59:36    Redmine authentication failed (unknown user name or wrong password).
ERROR    09:59:36    Unexpected error: net.sf.redmine_mylyn.core.RedmineStatusException: net.sf.redmine_mylyn.api.exception.RedmineApiHttpStatusException: Unexpected status code - 404 Not Found

I use HTTPS for access to Redmine - is this can be a problem?
0 (0 Votes)

RE: Redmine integration
Answer
10/19/17 9:57 AM as a reply to Nikolay Kanchev.
Hi Nikolay,

it seems that the server on which the redmine installation is running uses a self signed certificate.

The Java-Installation that Klaros-Testmanagement uses doesn't trust this certificate (yet), so you first need to import it into the Java certificate store of trusted certificates. This can be accomplished with the keytool -import command:

https://www.klaros-testmanagement.com/files/doc/html/User-Manual.Installation.html#User-Manual.Installation.SSL


Regards,
Fabian
+1 (1 Vote)

RE: Redmine integration
Answer
10/19/17 2:15 PM as a reply to Fabian Klaffke.
Hi Fabian

Yes I use self sign certificate for Redmine. I follow your sugestion to import the certificate to Java cert store but the same error appear again.
After this I get certificate from LetsEncrypt and try whit it but I have the same error.
Now I search simple Java HTTPS connect tool only to be sure that the certificates are trusted for Java.

While doing this I have a question:
If there somebody who can confirm that Mylin plugin is working with Redmine 3.4.0 or newer.

Edit:
I found simple example for Java HTTPS connection tool and now I receive Redmine login screen though HTTPS without certificate error.
When I try to onother server with self sign certificate that is not part of trust store of Java there is a errors.
0 (0 Votes)

RE: Redmine integration
Answer
10/19/17 3:10 PM as a reply to Nikolay Kanchev.
I found the problem.
Because I try with different Mylin plugins the last one that I install create folder "redmine_mylyn_connector-master" but the plugin must be in "redmine_mylyn_connector" folder. After I remane the folder I can succesfuly connect to Redmine and create new issue.

The comment of Fabian about self sign certs is good point.
I think my main problem was Mylin plugin but after that I would difinitely hit the cert problem.
If you use HTTPS and self sign certificates you should add them to Java trust cert store.

Thanks for your help Fabian

Best Regards
Nikolay
+1 (1 Vote)

RE: Redmine integration
Answer
10/19/17 3:15 PM as a reply to Nikolay Kanchev.
Hi Nikolay,

awesome, I'm glad that I could help you!

Best Regards,
Fabian
0 (0 Votes)