Skip to content

Can't parse self hosted git remote with SSH on custom port

Summary

Can't connect to Gitlab workflow extension. I assume its because something is non standard on the self hosted instance.

Steps to reproduce

I'm not really sure.

What is the current bug behavior?

Can't connect to self hosted gitlab.

What is the expected correct behavior?

I can connect to gitlab workflow.

Relevant logs and/or screenshots

Here is the error log (I have to obfuscate company related info ) :

git remote "[git@dev.company.com:7999]:group/repo_name.git" could not be parsed
Error: git remote "[git@dev.company.com:7999]:group/repo_name.git" could not be parsed
    at GitService.<anonymous> (/home/bence/.vscode/extensions/gitlab.gitlab-workflow-3.11.2/src/git_service.ts:58:15)
    at Generator.next (<anonymous>)
    at fulfilled (/home/bence/.vscode/extensions/gitlab.gitlab-workflow-3.11.2/out/src/git_service.js:5:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)

Possible fixes

Edited by Tomas Vik