GitHub Path Material Plugin - "ls-remote failed" Error?

45 views
Skip to first unread message

Emil

unread,
May 5, 2021, 8:01:16 AM5/5/21
to go-cd
Hi Folks,

I'm experiencing "Check connection failed. Reason(s): ls-remote failed" error with the Git Path Material Plugin. I have tried both ssh & https and the error message persists with both connection protocols:
gocd-git-path-material-plugin-error.png
So far I have:
                  git ls-remote git@github:devops/dev-utils.git

I get the error when I am using internal GitHub Enterprise instance that is still running version 2.20.1, which is quite outdated and I am not sure if this could be the cause of the problem, because if I point to a repo at github.com I do not experience the error!?

Any ideas, how to troubleshoot this further?

Thanks,
Emil


Marques Lee

unread,
May 12, 2021, 6:58:15 AM5/12/21
to go...@googlegroups.com
Hi Emil, sorry for the late reply, I missed this message.

Haven’t used that plugin but your URL doesn’t look right. Try removing `ssh:` from your URL. It should just be `g...@github.com:user/repo.git` for ssh (or do a proper URL protocol syntax by using ssh://g...@github.com:...).

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/4252b7e0-ee6d-44b9-bd11-3354acba5df9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages