RTC - Git integration - error 22 on push
Hi,
I continue to follow the tutorial https://jazz.net/wiki/bin/view/Main/RTCGitIntegrationSetupUsingNode.
I have started the node.js server - "nodejs main.js" using v5.10.1. Using RTC 6.0.1.
Got to the step where I cloned the repo from the 8888 port (node.js), made some changes, committed locally with "task 2" in the message and then pushed.
C:\GitWork\groovyTest>git push origin master
error: Cannot access URL http://mint-rtc:8888/git/groovyTest.git/, return code 22
fatal: git-http-push failed
There is no output from node.js - I have run it with nohup and nothing new in nohup.out, nor if I just run it on the command line with open terminal.
Just to add, git remote -v gives
origin http://mint-rtc:8888/git/groovyTest.git (fetch)
origin http://mint-rtc:8888/git/groovyTest.git (push)
but if I do the url in a browser then I do get a login dialog as in the tutorial
Also, if I push via RTC client (eclipse) then I am asked for http authentication and then get
Can't connect to any URI (the mint-rtc above) 302 Found.
I am using a developer user rather than the gituser that I added to the server authentication details. Is that going to cause a problem?
Also when I coned the git rep I was not asked for a user
C:\Temp>git clone http://mint-rtc:8888/git/groovyTest.git
Cloning into 'groovyTest'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
Any ideas where I am going wrong?
Regards,
John
2 answers
Or you could connect Nodejs , through config.json to the LDAP server that your CLM is connected to.
Comments
Hi John
It does work with a few modifications in JTS/RTC configurations. Or if CLM is connecting to an Enterprise Directory (LDAP), you could connect Nodejs to the same Enterprise directory instead of changing JTS/RTC to basic authentication.
Let me re-direct to our online documentation , Configuring Auth for Nodejs Server
Comments
john norris
Apr 17 '16, 5:07 a.m.x
john norris
Apr 17 '16, 5:07 a.m.z