Git Integration with RTC using NodeJS resulting in CRRTC8814E: You are not authorized to perform that Git operation.
Hi,
|
3 answers
Lily,
Problem is that wiki https://jazz.net/wiki/bin/view/Main/RTCGitIntegrationSetupUsingNode is not mentioning not even single word about LDAP as it is using Basic CLM authentication.
I already went through this discussion https://jazz.net/forum/questions/235317/rtc-and-git-integration-using-nodejs-authentication-ldap and me issue is mentioned there once but without any explenation what was changed in the config file to make it work.
Here is my config
Comments
Lily Wang
commented Mar 28 '17, 9:09 p.m.
I don't see obvious problem in the config.json. Could you please clarify what operation did you do to get the error "CRRTC8814E: You are not authorized to perform that Git operation"?
Bartosz Chrabski
commented Mar 29 '17, 7:24 a.m.
I am getting this message after opening GIT repository page and entering credentials in te web bowser. Using GIT clone is not working as well. |
I'm getting the same message but I'm using the phyton scipts. In the script rtcprocess.py which runs on the GitLab server in the validatePush method it tries to do an http request to the RTC server
req = urllib.request.Request(PushUtil.getValidatePushUrl(jazzRepoUrl), binary_data, HttpUtil.getHeaders())
urllib.request.urlopen(req) <----this fails with an error code 403
It seems that the error is comming from the RTC server. I'm assuming it is attempting an gitCommand to the GITLab server and failing on.
Which user will it use to execute it from the RTC server to GIT server? Is there a way to turn on logging on the RTC to trace this.
Comments
Frik Briers
commented Apr 04 '17, 2:56 a.m.
apologies. I should have posted this as a comment
Frik Briers
commented Apr 10 '17, 4:07 a.m.
I confirmed that the user that I'm using to do the commit has access to the gitLab repository and is able to push changes. Is there some debug options on RTC that we can enable to get more info on the error?
Winston Enos
commented Dec 03 '17, 12:59 p.m.
I'm using IBM's NodeJS scripts for vanilla Git integration using just SSH clients (the replacement for the Python scripts.)
|
I also got the error 'CRRTC8814E: You are not authorized to perform that Git operation' when trying to clone a GIT repository after completing the setup of Nodejs and RTC/Git integration. Confirmed that the configurations in config.json are correct. Found out that the error was because I did not grant access to git request in CCM. It's the last step in the 'Setup: Configuring the RTC Server' section of the following wiki:
https://jazz.net/wiki/bin/view/Main/RTCGitIntegrationSetupUsingNode |
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.
Comments
Please check if the authentication configuration is correct in config.json.
Lily,
Config is correct as I am able to login to the server using AD credentials and error message is diplayed after successful authentication.
If the error is reported when you tried to access URL "http://spserver:8888/git/Demo.git" from a browser, it most likely something wrong in config.json file.
Please follow the wiki https://jazz.net/wiki/bin/view/Main/RTCGitIntegrationSetupUsingNode and forum discussion https://jazz.net/forum/questions/235317/rtc-and-git-integration-using-nodejs-authentication-ldap to have a check your current configuration.