It's all about the answers!

Ask a question

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


Kunal Doddanavar (45222332) | asked Oct 15 '15, 6:25 a.m.
Hi,
  
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
RTC_Git_Interceptor.py

ccm.log:
<unauthenticated> <Initial Page Load@1e55933e-7d85-4182-b783-08545e5fae58> /ccm/auth/authrequired] ERROR com.ibm.team.git - GitAuthorizeService.executeAsUser(): un-anticipated exception com.ibm.team.jfs.app.oauth.OAuthInvalidOrExpiredTokenException: CRJZS0034E The OAuth token is not valid or has expired.
at com.ibm.team.jfs.app.oauth.OAuthHelper.checkResponseForOAuthErrorsInternal(OAuthHelper.java:1982)
 

Thanks in advance
-Kunal

Accepted answer


permanent link
Arun K Sriramaiah (3.2k1837) | 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

  c:\Apache24\gitrepo\jke.git\config

  Update respective "repokey" and "repourl" information

3) Verify the GIT GIt repo configuration

    c:\Apache24\gitrepo\jke.git\hooks

    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.

  https://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.0/com.ibm.team.connector.cq.doc/topics/t_git_auth_req.html

Please let me know does the above solution helped.

Regards,
Arun.

Kunal Doddanavar selected this answer as the correct answer

One other answer



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

Kanal,

How did you solved this problem?


Thanks.

Your answer


Register or to post your answer.