Dimensions CM Git Client fail to log

Hello,

I'm facing the following issue that troubles me a bit : when trying to use the Git Client for VSCode extension, all I get from the extension is that it fails to authenticate me on the server, and that's it. Trying to use the Git Client directly isn't really better as I can't event clone a stream. Using the Dimensions CM desktop client works perfectly, but strangely, trying to use anything Git related fails miserably.

The versions that I'm using :

 - Dimensions CM : 14.5.1

- Git : 2.44.0.windows.1

- Dimensions CM Git Client : 2.3.3 9.14

- Dimensions CM Git client for VSCOde : 1.5.0

I've enabled the logs from the extension and I get the following logs :

/30/2024 08:57:10.450 [debug] 'Dimensions CM Git Client for VS Code' is now starting.
7/30/2024 08:57:10.515 [debug] Git found: 2.44.0.windows.1 @ C:\Program Files\Git\cmd\git.exe.
7/30/2024 08:57:10.571 [debug] Dimensions CM Git client found: C:\Program Files\Git\mingw64\libexec\git-core\git-remote-dimensions.
7/30/2024 08:57:10.571 [debug] Loading config for model.
7/30/2024 08:57:10.630 [debug] Repository: .
7/30/2024 08:57:10.630 [debug] Repository is not recognized as Dimensions CM.
7/30/2024 08:57:10.630 [debug] . Missing server host name.
7/30/2024 08:57:10.631 [debug] 'Dimensions CM Git Client for VS Code' is now activated.
7/30/2024 09:09:08.872 [debug] Loading Reviews/Pull Requests
7/30/2024 09:09:08.872 [debug] PulseSession.credential
7/30/2024 09:09:08.872 [debug] WebSession.credential
7/30/2024 09:09:08.873 [debug] WebSession.login
7/30/2024 09:09:08.873 [debug] git config,--get,credential.helper
7/30/2024 09:09:08.879 [debug] Loading Request Inbox
7/30/2024 09:09:08.879 [debug] WebSession.credential
7/30/2024 09:09:08.911 [debug] manager
7/30/2024 09:09:08.911 [debug] git credential,fill
7/30/2024 09:09:09.098 [debug] git credential,approve
7/30/2024 09:09:09.410 [debug] Loading Dimensions configuration properties for dimensions://********@**********/****@****/******.
7/30/2024 09:09:11.287 [debug] Loaded 89 items.
7/30/2024 09:09:11.288 [debug] Loading CM server version.
7/30/2024 09:09:11.288 [debug] WebSession.credential
7/30/2024 09:09:11.288 [debug] Building options
7/30/2024 09:09:11.288 [debug] Building request path
7/30/2024 09:09:11.288 [debug] Executing rest request
7/30/2024 09:09:12.279 [debug] WebSession.credential
7/30/2024 09:09:12.280 [debug] git credential,reject
7/30/2024 09:09:12.599 [debug] WebSession.login
7/30/2024 09:09:12.600 [debug] git config,--get,credential.helper
7/30/2024 09:09:12.602 [debug] PulseSession.credential
7/30/2024 09:09:12.602 [debug] WebSession.credential
7/30/2024 09:09:12.630 [debug] manager
7/30/2024 09:09:12.631 [debug] git credential,fill
7/30/2024 09:09:25.611 [debug] git credential,approve
7/30/2024 09:09:25.929 [debug] Loading CM server version.
7/30/2024 09:09:25.929 [debug] WebSession.credential
7/30/2024 09:09:25.929 [debug] Building options
7/30/2024 09:09:25.929 [debug] Building request path
7/30/2024 09:09:25.929 [debug] Executing rest request
7/30/2024 09:09:26.898 [debug] WebSession.credential
7/30/2024 09:09:26.899 [debug] git credential,reject
7/30/2024 09:09:27.222 [debug] WebSession.login
7/30/2024 09:09:27.222 [debug] git config,--get,credential.helper
7/30/2024 09:09:27.224 [debug] User authentication failed.
7/30/2024 09:09:27.254 [debug] manager
7/30/2024 09:09:27.254 [debug] git credential,fill
7/30/2024 09:09:40.202 [debug] git credential,approve
7/30/2024 09:09:40.517 [debug] Loading CM server version.
7/30/2024 09:09:40.517 [debug] WebSession.credential
7/30/2024 09:09:40.518 [debug] Building options
7/30/2024 09:09:40.518 [debug] Building request path
7/30/2024 09:09:40.518 [debug] Executing rest request
7/30/2024 09:09:41.494 [debug] WebSession.credential
7/30/2024 09:09:41.495 [debug] git credential,reject
7/30/2024 09:09:41.816 [debug] User authentication failed.

The git dm config command gives the following result :

$ ./git-dm  config dimensions://LL767856@***/***@***/****/***
CLIENT_PLCD_SUBDIR = 90B14FA6177047C8E614B4B07DACAF78
DBIO_LIBRARY = dbio_srv_oci8_11201.DLL
DMDB =
DM_AGENT_SERVER = D:\Serena\Dimensions 14.5\CM\prog\dmagentsrv.exe
DM_ALF_ENDPOINT = http://******:8080/pulse/services/soap/alf
DM_ALF_EVENT_CONFIG = D:\Serena\Dimensions 14.5\CM\dfs\alf_events_config.xml
DM_APPS = D:\Serena\Dimensions 14.5\CM\apps\
DM_AUTH_TYPE_DBS = LDAP
DM_CAN_AVOID_SSL = yes
DM_CHECK_CC_LOOPS =
DM_CODEPAGE = D:\Serena\Dimensions 14.5\CM\codepage\
DM_COMPARE_END_COBOL = 73
DM_COMPARE_START_COBOL = 6
DM_COMPRESSION_MIN_FILELENGTH = 32768
DM_COMPRESS_FILES_ON_TRANSFER = yes
DM_CRT = D:\Serena\Dimensions 14.5\CM\apps\
DM_DAEMON_CONFIG_FILE = D:\Serena\Dimensions 14.5\CM\/dfs/daemon_config.dat
DM_DBASE = D:\Serena\Dimensions 14.5\CM\dbase\
DM_DBCACHE_DIR = C:\ProgramData\Micro Focus\Dimensions CM\Server\db_cache_dir\
DM_DBS = D:\Serena\Dimensions 14.5\CM\prog\dmappsrv.exe
DM_DEFAULT_CODEPAGE = 819
DM_DEFAULT_DBMS = Oracle
DM_DELETE = del /f
DM_DFS = D:\Serena\Dimensions 14.5\CM\dfs\
DM_DFS_COMMON_ROUTING = D:\Serena\Dimensions 14.5\CM\dfs\dfs.dat
DM_DFS_TRACE =
DM_DIRECT_COPY_MIN_FILELENGTH = 1024
DM_DIRECT_LOCAL_LIBRARY_ACCESS = y
DM_DMEMAIL = D:\Serena\Dimensions 14.5\CM\prog\dmemail.exe
DM_DMSCHEDULE = D:\Serena\Dimensions 14.5\CM\prog\dmschedule.exe
DM_EBCDIC_CODEPAGES = 37,273,277,278,280,284,285,297,500,871,924,1047,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149
DM_EMAIL_AUTOSTART_DIR = D:\Serena\Dimensions 14.5\CM\temp\
DM_EMAIL_AUTOSTART_TIMES = +01:00 12:00
DM_EMAIL_TEMPLATE_DIR = D:\Serena\Dimensions 14.5\CM\email_templates
DM_EVENT_TRACE =
DM_EXAMPLES = D:\Serena\Dimensions 14.5\CM\examples\
DM_FILE_BLOCKSIZE = 119700
DM_FILE_ENCRYPTION = NO
DM_LANGUAGES = COBOL
DM_LANGUAGE_EXTENSIONS_COBOL = cob, cbl
DM_LC_ACCESD =
DM_LC_ACESSS =
DM_LM_LONG_ERRMSG =
DM_LOG =
DM_LOGON_DOMAIN =
DM_LOGS = D:\Serena\Dimensions 14.5\CM\logs\
DM_MAKE_SERVER = D:\Serena\Dimensions 14.5\CM\prog\mcxslave.exe
DM_MAKE_SRV_LOC =
DM_MERGE_SCAN_LEVELS = 20
DM_MMI = D:\Serena\Dimensions 14.5\CM\mmi\
DM_MSG = D:\Serena\Dimensions 14.5\CM\msg\
DM_NETWORK_BLOCKSIZE =
DM_NETWORK_SERVER = D:\Serena\Dimensions 14.5\CM\prog\dmlibsrv.exe
DM_NO_DEPLOYMENT_REGRESSION = N
DM_NO_VM_DELTA =
DM_PARAM_COMPRESS = D:\Serena\Dimensions 14.5\CM\prog\compress -cf
DM_PARAM_UNCOMPRESS = D:\Serena\Dimensions 14.5\CM\prog\compress -dcf
DM_PLCD_BOAST = 0
DM_PLCD_DIR = C:\Users\dmsys\Serena\Cache
DM_PLCD_ENABLED = Y
DM_PLCD_FILE_BLOCKSIZE = 100000
DM_PLCD_FILE_MAX_KB = 512000
DM_PLCD_FILE_MIN_KB = 0
DM_PLCD_MAX_SIZE_MB = 10000
DM_PLCD_TIMEOUT = 5
DM_PLCD_TRACE = 0
DM_PRINT = lpr -S server -P printer
DM_PROG = D:\Serena\Dimensions 14.5\CM\prog\
DM_PULSE_WEB_URL = http://******:8080/pulse
DM_REMOTE_FILE_AREA = D:\Serena\Dimensions 14.5\CM\remote_file_area\
DM_REPLICATOR_PDIFF = D:\Serena\Dimensions 14.5\CM\prog\pdiff.exe
DM_ROOT = D:\Serena\Dimensions 14.5\CM\
DM_SCC_TRANSFER_MODE =
DM_SCHEDULE_AUTOSTART = Y
DM_SCHEDULE_AUTOSTART_DIR = D:\Serena\Dimensions 14.5\CM\temp\
DM_SCHEDULE_INTERVAL = 30
DM_SCHEDULE_SLEEP = Y
DM_SCHEMA_FILE = D:\Serena\Dimensions 14.5\CM\AdmSchema.xml
DM_SERVICES_FILE =
DM_SERVICE_PCMS_REPLICATOR_TCP = 1096
DM_SERVICE_PCMS_SDP_TCP = 671
DM_SMART_ATTR_VALIDATION = true
DM_SOCKET_OPTIONS = TCP_NODELAY(1),SO_LINGER(1,5),SO_REUSEADDR(1),SO_KEEPALIVE(1),SO_RCVBUF(119700)
DM_STREAM_FILES = yes
DM_TAR = D:\Serena\Dimensions 14.5\CM\prog\tar.exe
DM_TMP = C:\temp\
DM_TRACE =
DM_WEB_URL = http://******:8080
DM_WHATS_NEW_ONLINE_URL = https://admhelp.microfocus.com/dimensionscm/en/14.5.1/Content/QuickTours/whatsnew/index.html
DM_WHATS_NEW_URL = http://******:8080/cm-help/whatsnew/
LOCAL =
SELF = dmsys
SQL_DEBUG =
SQL_TRACE =
STOP_DFS = D:\Serena\Dimensions 14.5\CM\dfs\stop_dfs.exe
Serena.CM.CAP_RPC_DBIO_INT64_SUPPORT = 1
Serena.CM.DIMENSIONS_SERVER_NLS_LANG = AL32UTF8
Serena.CM.DIMENSIONS_SERVER_OSTYPE = 6
Serena.CM.EXTENDED_REMOTE_CAP_THIS = 1
Serena.CM.GIT_CLIENT_SUPPORT = Y
Serena.CM.REMOTE_PEER_TIME_ZONE = Europe/Paris
Serena.CM.SCCS_SUPPORT = Y
Serena.CM.VERSION_DIMENSIONS_SCHEMA = 14.5.1
Serena.CM.VERSION_DIMENSIONS_SCHEMA_REVISION = 2
Serena.CM.VERSION_DIMENSIONS_SERVER = 14.5.1 Build 9.311
Serena.CM.VERSION_DIMENSIONS_SERVER_NUMBER = 1331456
Serena.CM.YEAR_VERSION_DIMENSIONS_SERVER = 14.5.1 Build 9.311
TRACE_REPLICATOR_SERVICE =
TWO_TASK =

Trying to contact the address specified by DM_WEB_URL gives the following (login credentials checked 10+ times and working in the desktop client) :

$ curl -k http://*********:8080/dmrestservices/version -u login:password -v
* Host *********:8080 was resolved.
* IPv6: (none)
* IPv4: 172.16.185.82
* Trying 172.16.185.82:8080...
* Connected to ********* (172.16.185.82) port 8080
* Server auth using Basic with user 'login'
> GET /dmrestservices/version HTTP/1.1
> Host: *********:8080
> Authorization: Basic TEw3Njc4NTY6V28zM0s1OXUzbndtNjMzUTIyMDI0
> User-Agent: curl/8.6.0
> Accept: */*
>
< HTTP/1.1 401 < Content-Type: text/html;charset=utf-8 < Content-Language: fr < Content-Length: 1011 < Date: Tue, 30 Jul
    2024 07:39:15 GMT < Server: Unknown Web Server/1.0 < <!doctype html>
    <html lang="fr">

    <head>
        <title>�tat HTTP 401 � Unauthorized</title>
        <style type="text/css">
            h1 {
                font-family: Tahoma, Arial, sans-serif;
                color: white;
                background-color: #525D76;
                font-size: 22px;
            }

            h2 {
                font-family: Tahoma, Arial, sans-serif;
                color: white;
                background-color: #525D76;
                font-size: 16px;
            }

            h3 {
                font-family: Tahoma, Arial, sans-serif;
                color: white;
                background-color: #525D76;
                font-size: 14px;
            }

            body {
                font-family: Tahoma, Arial, sans-serif;
                color: black;
                background-color: white;
            }

            b {
                font-family: Tahoma, Arial, sans-serif;
                color: white;
                background-color: #525D76;
            }

            p {
                font-family: Tahoma, Arial, sans-serif;
                background: white;
                color: black;
                font-size: 12px;
            }

            a {
                color: black;
            }

            a.name {
                color: black;
            }

            .line {
                height: 1px;
                background-color: #525D76;
                border: none;
            }
        </style>
    </head>

    <body>
        <h1>�tat HTTP 401 � Unauthorized</h1>
        <hr class="line" />
        <p><b>Type</b> Rapport d''�tat</p>
        <p><b>message</b> Unauthorized</p>
        <p><b>description</b> La requ�te n�cessite une authentification HTTP.</p>
        <hr class="line" />
        <h3>Apache Tomcat/8.5.43</h3>
    </body>

    </html>* Connection #0 to host MRF-AME13 left intact

I don't really get how this could work so badly while the Desktop Client has absolutely no problem connecting and retrieving all the information about different products.

What would be the next steps to make this work ?

Best regards

Tags:

Parents
  • 0

    Forgot to mention : when I'm trying to clone, the following happens :

    1. It says Cloning into ....
    2. I get the message Connect to Dimensions server:done
    3. A folder is created
    4. That folder is deleted

    I've tried adding verbose option to git clone with --verbose and --progress but that doesn't add any message

Reply
  • 0

    Forgot to mention : when I'm trying to clone, the following happens :

    1. It says Cloning into ....
    2. I get the message Connect to Dimensions server:done
    3. A folder is created
    4. That folder is deleted

    I've tried adding verbose option to git clone with --verbose and --progress but that doesn't add any message

Children
No Data