Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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

2 votes


Accepted answer

Permanent link

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

4 votes


One other answer

Permanent link
I got the same ccm error.

Kanal,

How did you solved this problem?


Thanks.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936
× 97

Question asked: Oct 15 '15, 6:25 a.m.

Question was seen: 6,041 times

Last updated: Nov 13 '15, 1:00 p.m.

Confirmation Cancel Confirm