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.