We had a problem in Rational Team Concert 5.0.2 and Git integration.
We had some problem cloning a git project. We configured the apache httpd 2.4.6 on Red Hat Enterprise Linux 7.1 and git version 1.8.3.1 version. The REDIRECT_REMOTE_USER environment did not received the user information.
Follow envs in the apache configuration. DocumentRoot /gitrepos SetEnv GIT_PROJECT_ROOT /gitrepos SetEnv GIT_HTTP_EXPORT_ALL 1 SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER SetEnv DEBUG_PYT true ERROR trying clone: GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone -v http://almgit@172.17.169.216:8113/gitrepos/newproject.git trace: built-in: git 'clone' '-v' 'http://almgit@172.17.169.216:8113/gitrepos/newproject.git' Initialized empty Git repository in /opt/git/newproject/.git/ trace: run_command: 'git-remote-http' 'http://almgit@172.17.169.216:8113/gitrepos/newproject.git' 'http://almgit@172.17.169.216:8113/gitrepos/newproject.git' trace: run_command: '/usr/libexec/openssh/gnome-ssh-askpass' 'Password: ' * Couldn't find host 172.17.169.216 in the .netrc file; using defaults * About to connect() to 172.17.169.216 port 8113 (#0) * Trying 172.17.169.216... * Connected to 172.17.169.216 (172.17.169.216) port 8113 (#0) > GET /gitrepos/newproject.git/info/refs?service=git-upload-pack HTTP/1.1 User-Agent: git/1.7.1 Host: 172.17.169.216:8113 Accept: */* Pragma: no-cache * The requested URL returned error: 500 Internal Server Error * Closing connection #0 * Couldn't find host 172.17.169.216 in the .netrc file; using defaults * About to connect() to 172.17.169.216 port 8113 (#0) * Trying 172.17.169.216... * Connected to 172.17.169.216 (172.17.169.216) port 8113 (#0) > GET /gitrepos/newproject.git/info/refs HTTP/1.1 User-Agent: git/1.7.1 Host: 172.17.169.216:8113 Accept: */* Pragma: no-cache * The requested URL returned error: 500 Internal Server Error * Closing connection #0 error: The requested URL returned error: 500 Internal Server Error while accessing http://almgit@172.17.169.216:8113/gitrepos/newproject.git/info/refs fatal: HTTP request failed ============================================ Follow the cgi_log error. %% [Fri Apr 22 14:57:12 2016] GET /gitrepos/newproject.git/info/refs?service=git-upload-pack HTTP/1.1 %% 500 /rtc-git-hooks/rtc-git-http-interceptor %request User-Agent: git/1.7.1 Host: 172.17.169.216:8113 Accept: */* Pragma: no-cache %response ('/gitrepos/newproject.git/info', '$REDIRECT_REMOTE_USER=', 'http') %stdout ('Executing command: ', ['git', 'config', 'rtc.skipaccessvalidation']) ('Executing command: ', ['git', 'config', 'rtc.repokey']) ('Executing command: ', ['git', 'config', 'rtc.repourl']) ('Executing command: ', ['git', 'rev-parse', '--git-dir']) ('getAssociateWIUrl(): Could not switch to git repository path',) ('data: ', 'gitUser=%24REDIRECT_REMOTE_USER%3D&repositoryKey=ce9e3dcbd25d4dd886271a36a7876884') %% [Fri Apr 22 14:57:12 2016] GET /gitrepos/newproject.git/info/refs HTTP/1.1 %% 500 /rtc-git-hooks/rtc-git-http-interceptor %request User-Agent: git/1.7.1 Host: 172.17.169.216:8113 Accept: */* Pragma: no-cache %response ('/gitrepos/newproject.git/info', '$REDIRECT_REMOTE_USER=', 'http') %stdout ('Executing command: ', ['git', 'config', 'rtc.skipaccessvalidation']) ('Executing command: ', ['git', 'config', 'rtc.repokey']) ('Executing command: ', ['git', 'config', 'rtc.repourl']) ('Executing command: ', ['git', 'rev-parse', '--git-dir']) ('getAssociateWIUrl(): Could not switch to git repository path',) ('data: ', 'gitUser=%24REDIRECT_REMOTE_USER%3D&repositoryKey=ce9e3dcbd25d4dd886271a36a7876884') |
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.