Redmine Authentication Failed - Klaros Test Management - Forum - Klaros Test Management
Redmine Authentication Failed
Bev Dellosa, modified 6 Years ago.
Redmine Authentication Failed
Youngling Posts: 7 Join Date: 12/21/18 Recent Posts
Hi,
I am trying to integrate Klaros to Redmine but got stuck with a failing authentication to Redmine. It shows an 'Authentication failed (unknown name or password)' when I try to validate the url. The user I used to validate has an admin access to both Redmine and Klaros.
Redmine version: 3.4.1 stable
Klaros version: 4.9.7
Mylyn version: 2.8.2 stable
Any help will be highly appreciated.
Thank You,
Bev
I am trying to integrate Klaros to Redmine but got stuck with a failing authentication to Redmine. It shows an 'Authentication failed (unknown name or password)' when I try to validate the url. The user I used to validate has an admin access to both Redmine and Klaros.
Redmine version: 3.4.1 stable
Klaros version: 4.9.7
Mylyn version: 2.8.2 stable
Any help will be highly appreciated.
Thank You,
Bev
Attachments:
Torsten Stolpmann, modified 6 Years ago.
RE: Redmine Authentication Failed
Jedi Council Member Posts: 764 Join Date: 2/12/09 Recent Posts
Hi Bev,
I think that you have configured the wrong URL for your redmine instance (it should be the base URL of your installation):
Please change http://192.168.168.222/login to http://192.168.168.222 on the issue management configuration page.
Hope this helps, please let me know if this works for you.
Regards,
Torsten
I think that you have configured the wrong URL for your redmine instance (it should be the base URL of your installation):
2018-12-20 00:42:39: ERROR, de.verit.klaros.web.handler.GlobalExternalConnectionHandler, http-nio-18080-exec-1 Unable to connect to external server IM00001 at http://192.168.168.222/login | |
de.verit.klaros.exception.KlarosServiceException: net.sf.redmine_mylyn.core.RedmineStatusException: net.sf.redmine_mylyn.api.exception.RedmineApiHttpStatusException: Unexpected status code - 404 Not Found |
Please change http://192.168.168.222/login to http://192.168.168.222 on the issue management configuration page.
Hope this helps, please let me know if this works for you.
Regards,
Torsten
Bev Dellosa, modified 6 Years ago.
RE: Redmine Authentication Failed
Youngling Posts: 7 Join Date: 12/21/18 Recent Posts
Hi Torsten,
Thanks for taking the time to check this.
I changed the URL but it still failed to authenticate. Attached is the updated log file.
Regards,
Bev
Thanks for taking the time to check this.
I changed the URL but it still failed to authenticate. Attached is the updated log file.
Regards,
Bev
Attachments:
Torsten Stolpmann, modified 6 Years ago.
RE: Redmine Authentication Failed
Jedi Council Member Posts: 764 Join Date: 2/12/09 Recent Posts
Hi Bev,
this is caused by an error in the Redmine server (hence the 500 return code).
Please attach the redmine logs as well, as there is no further information available at the Klaros side.
Regards,
Torsten
this is caused by an error in the Redmine server (hence the 500 return code).
Please attach the redmine logs as well, as there is no further information available at the Klaros side.
Regards,
Torsten
Bev Dellosa, modified 6 Years ago.
RE: Redmine Authentication Failed
Youngling Posts: 7 Join Date: 12/21/18 Recent Posts
Hi Torsten,
Kindly see attached file. Let me know if this is what you're lookiing for.
Btw, Klaros is installed in windows server while Redmine is in linux. Just letting you know in case it has any relevance to the issue.
Thank You,
Bev
Kindly see attached file. Let me know if this is what you're lookiing for.
Btw, Klaros is installed in windows server while Redmine is in linux. Just letting you know in case it has any relevance to the issue.
Thank You,
Bev
Attachments:
Torsten Stolpmann, modified 6 Years ago.
RE: Redmine Authentication Failed
Jedi Council Member Posts: 764 Join Date: 2/12/09 Recent Posts
Hi Bev,
Thanks, this is what I was looking for.
But this log is strange. I see the requests fom Klaros in the log (look for GET "/mylyn/..."), but all of them return 200 OK.
Is there a proxy web server involved here? I suspect that hese 500 Server Error responses do not orginate from Redmine directly.
In case of a proxy misconfiguration: Can you please add a trailing slash to the redmine base URL and see if it makes a difference?
Torsten
Thanks, this is what I was looking for.
But this log is strange. I see the requests fom Klaros in the log (look for GET "/mylyn/..."), but all of them return 200 OK.
Is there a proxy web server involved here? I suspect that hese 500 Server Error responses do not orginate from Redmine directly.
In case of a proxy misconfiguration: Can you please add a trailing slash to the redmine base URL and see if it makes a difference?
Torsten
Bev Dellosa, modified 6 Years ago.
RE: Redmine Authentication Failed
Youngling Posts: 7 Join Date: 12/21/18 Recent Posts
Hi Torsten,
There is no proxy server involved here. I also tried adding a trailing slash but still got the same issue.
Regards,
Bev
There is no proxy server involved here. I also tried adding a trailing slash but still got the same issue.
Regards,
Bev
Fabian Klaffke, modified 6 Years ago.
RE: Redmine Authentication Failed (Answer)
Padawan Posts: 92 Join Date: 8/31/12 Recent Posts
Hi Bev,
have you entered a valid Redmine project name on the Klaros IMS configuration page (see attached screnshot)? The entries on this page represent links to single Redmine projects, not just to the redmine server itself.
Another often overlooked setting, which could prevent you from connecting to Redmine, is the remote REST access:
https://www.klaros-testmanagement.com/files/doc/html/User-Manual.Installation.html#User-Manual.Installation.IssueManagement.redmine.Redmine.Config
Regards,
Fabian
have you entered a valid Redmine project name on the Klaros IMS configuration page (see attached screnshot)? The entries on this page represent links to single Redmine projects, not just to the redmine server itself.
Another often overlooked setting, which could prevent you from connecting to Redmine, is the remote REST access:
https://www.klaros-testmanagement.com/files/doc/html/User-Manual.Installation.html#User-Manual.Installation.IssueManagement.redmine.Redmine.Config
Regards,
Fabian
Attachments:
Bev Dellosa, modified 6 Years ago.
RE: Redmine Authentication Failed
Youngling Posts: 7 Join Date: 12/21/18 Recent Posts
Hi Fabian,
The 'REST web services' and 'Authentication required' options are both enabled.
As for the Project ID, I'm not sure if I got this correct because the screenshot on your help file does not match with the Redmine version we're using. I cannot find the 'Identifier' field the help file is pointing out so I used the 'Application Title' instead. See attached file.
Regards,
Bev
The 'REST web services' and 'Authentication required' options are both enabled.
As for the Project ID, I'm not sure if I got this correct because the screenshot on your help file does not match with the Redmine version we're using. I cannot find the 'Identifier' field the help file is pointing out so I used the 'Application Title' instead. See attached file.
Regards,
Bev
Attachments:
Fabian Klaffke, modified 6 Years ago.
RE: Redmine Authentication Failed (Answer)
Padawan Posts: 92 Join Date: 8/31/12 Recent Posts
Hi Bev,
the screenshot you've provided shows the settings screen, but the project names are instead listed on the projects page (Administration/Projects):
http://www.redmine.org/projects/redmine/wiki/RedmineProjects
I've attached another screenshot of our Redmine test server that shows the project list.
Regards,
Fabian
the screenshot you've provided shows the settings screen, but the project names are instead listed on the projects page (Administration/Projects):
http://www.redmine.org/projects/redmine/wiki/RedmineProjects
I've attached another screenshot of our Redmine test server that shows the project list.
Regards,
Fabian
Attachments:
Bev Dellosa, modified 6 Years ago.
RE: Redmine Authentication Failed
Youngling Posts: 7 Join Date: 12/21/18 Recent Posts
Hi Fabian,
You're right, I was looking at the wrong screen.Â
I changed the Project ID and it is working now!Â
Thanks so much to you and to Torsten for being patient with me.
Best Regards,
Bev
You're right, I was looking at the wrong screen.Â

I changed the Project ID and it is working now!Â

Best Regards,
Bev
Fabian Klaffke, modified 6 Years ago.
RE: Redmine Authentication Failed
Padawan Posts: 92 Join Date: 8/31/12 Recent Posts
Hi Bev,
thanks for the kind words! We're glad that it's working now.
Did you know that we also have a support page which covers frequently asked issues? We will update the section about IMS authentication errors (Support/Usage/I get an authentication error...) to clarify that a project name/id is mandatory for some issue trackers.
Be sure to check out this page if you run into any other issues, though!
Regards,
Fabian
thanks for the kind words! We're glad that it's working now.
Did you know that we also have a support page which covers frequently asked issues? We will update the section about IMS authentication errors (Support/Usage/I get an authentication error...) to clarify that a project name/id is mandatory for some issue trackers.
Be sure to check out this page if you run into any other issues, though!
Regards,
Fabian