Community
Participate
Working Groups
To reproduce configure apache to: 1. reverse-proxy gerrit instance; 2. authenticate client by the 'basic' method. In this situation connector fails to retrieve gerrit configuration and after executing mylyn queries a warning icon is displayed. If I'm correct the reason for this is that GerritHttpClient#getMothod doesn't supply valid username/password for apache to handle authentication. It isn't the case for the GerritHttpClient#postJsonRequest method. -- Configuration Details -- Product: Eclipse Platform 3.7.1.v201109091335 (org.eclipse.platform.ide) Installed Features: org.eclipse.mylyn_feature 3.7.0.I20110922-1921
We reconfigured gerrit and apache server for authentication to be handled entirely by gerrit, everything works smoothly now. As a one way to resolve the issue I would suggest displaying a warning during repository configuration that the mentioned setup is only partially supported. Regards.
Thanks for the request. The Gerrit connector does not support HTTP authentication, yet. I'm surprised that it would work for post requests since the configuration elements in the task repository settings page are disabled.
*** Bug 366022 has been marked as a duplicate of this bug. ***
The configuration handling now uses the same authentication mechanism as the Json post requests. I have verified that configuration retrieval now works in the described configuration which I have setup on a test server at http://mylyn.org/gerrit-2.2.2/#/.
Created attachment 210299 [details] mylyn/context/zip