It's all about the answers!

Ask a question

Unable to clone repository @ RTC GIT intg - returned error: 500

Kunal Doddanavar (45222732) | asked Oct 15 '15, 6:25 a.m.
I am getting error 500 when I try clone a repository: fatal: unable to access ' http://*.*.*>*/git/test.git/': The requested URL returned error: 500 

GIT Log:
I tried to check the  error log on the apache/git server and this is what I get:
Premature end of script headers: rtc-git-http-interceptor I went to that script and found it is activating another script named

<unauthenticated> <Initial Page Load@1e55933e-7d85-4182-b783-08545e5fae58> /ccm/auth/authrequired] ERROR - GitAuthorizeService.executeAsUser(): un-anticipated exception CRJZS0034E The OAuth token is not valid or has expired.

Thanks in advance

Accepted answer

permanent link
Arun K Sriramaiah (3.2k13277) | answered Oct 15 '15, 6:32 a.m.
edited Oct 15 '15, 6:35 a.m.

Below are checkpoints for verifying the integrations:

1) Verify the GIT login, just to ensure GIT login is fine

    $ git remote show origin
2) Verify the GIT GIt repo configuration


  Update respective "repokey" and "repourl" information

3) Verify the GIT GIt repo configuration


    Update respective "pre-receive" and "post-receive" hooks information

4) The server-side hooks interact with the Rational Team Concert server by invoking its services and its not authorizing access      to it, as per the ccm.log .

    Authorizing Git requests will help you to fix.
   You can authorize yourself to send Git requests or a JazzAdmin can authorize all users.

Please let me know does the above solution helped.


Kunal Doddanavar selected this answer as the correct answer

One other answer

permanent link
Christiano Monteiro (1356) | answered Nov 13 '15, 1:00 p.m.
I got the same ccm error.


How did you solved this problem?


Your answer

Register or to post your answer.

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.