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

RTC - Git node.js integration problem

I'm implementing RTC-Git integration with node.js following the information of this wiki
https://jazz.net/wiki/bin/view/Main/RTCGitIntegrationSetupUsingNode

The server operating system is RedHat 7.2 and RTC version is  6.0.3 (configured with express setup)

I've configured the node server choosing BASIC authentication and it start without problems.
Unfortunately, when I try to connect to server url (http://rh72:9999/git/MyPrj) I receive an HTTP 500 Internal server error.

Setting the environment variable RTC_GIT_SERVER_TRACE_LEVEL to 4, I obtain the following messages
[root@rh72 server]# node main.js
24 Apr 10:14:01 - main INFO main(): Git Repositories Root Directory = /gitrepos
24 Apr 10:14:01 - main INFO main(): Port Number = 9999
24 Apr 10:14:01 - main INFO main(): Node Runtime Versions:  { http_parser: '2.3',
  node: '0.12.0',
  v8: '3.28.73',
  uv: '1.0.2',
  zlib: '1.2.8',
  modules: '14',
  openssl: '1.0.1l' }
24 Apr 10:14:01 - OSUtils VERBOSE doSpawn(): cmd =  git args =  [ '--version' ] outputCharEncoding =  utf8
24 Apr 10:14:01 - OSUtils VERBOSE doSpawn(): child pid =  126406
24 Apr 10:14:01 - OSUtils VERBOSE doSpawn(): close event of child process 126406 code =  0 signal =  null
24 Apr 10:14:01 - main INFO main(): Git Version:  git version 1.8.3.1

24 Apr 10:14:01 - Services VERBOSE Attempting to load /rtc-toolkit/server/services/GitBackendService.js
24 Apr 10:14:01 - Services INFO getAuthenticator(): returning basic authenticator
24 Apr 10:14:01 - Services INFO getAuthenticator(): returning basic authenticator
24 Apr 10:14:01 - Services INFO getAuthenticator(): returning basic authenticator
24 Apr 10:14:01 - Services INFO getAuthenticator(): returning basic authenticator
24 Apr 10:14:01 - Services INFO getAuthenticator(): returning basic authenticator
24 Apr 10:14:01 - Services INFO getAuthenticator(): returning basic authenticator
24 Apr 10:14:01 - Services VERBOSE Attempting to load /rtc-toolkit/server/services/GitResourceService.js
24 Apr 10:14:01 - Services INFO getAuthenticator(): returning basic authenticator
24 Apr 10:14:01 - Services INFO getAuthenticator(): returning basic authenticator
24 Apr 10:14:01 - Services INFO getAuthenticator(): returning basic authenticator
Server started. Listening at port 9999.

When I insert the credentials I receive the following error message
24 Apr 10:16:06 - Services ERROR basicAuth(): RTC might not be started in Basic mode.

What is the Basic mode? My authentication setting is Liberty Basic Registry. Is it correct?

Thanks in advance.
Bye.

1 vote



One answer

Permanent link

I've solved the problem changing the RTC authentication from FORM to BASIC in web.xml file.

2 votes

Comments

 Thank you, solved my problem

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
× 6,122

Question asked: Apr 24 '17, 4:20 a.m.

Question was seen: 2,379 times

Last updated: May 03 '17, 12:02 p.m.

Confirmation Cancel Confirm