Repository https://user:******@myhostyname.com/repository/.git not found! : Error performing command: --- Command --- git ls-remote https://user:******@myhostyname.com/repository/.git --- Environment --- {} --- INPUT ---- --OUTPUT --- --- ERROR --- STDERR: error: couldn't connect to host while accessing https://user:******@myhostyname.com/repository/.git/info/refs STDERR: STDERR: fatal: HTTP request failed ---
Any help will be appreciated.
Thanks
Eric
--
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.
For more options, visit https://groups.google.com/d/optout.
git ls-remote ssh://myhostname/etc/chef/repository/.git
ssh://myhostname/etc/chef/repository/.git
If I check the connection in the gocd UI this time I got the errors below:
Repository ssh://myhostname/etc/chef/repository/.git not found! :
Error performing command: --- Command ---
git ls-remote ssh://myhostname/etc/chef/repository/.git
--- Environment ---
{}
--- INPUT ----
--OUTPUT ---
--- ERROR ---
STDERR: PuTTYNG X11 proxy: wrong authorisation protocol attempted
STDERR: (gnome-ssh-askpass:4056): Gtk-WARNING **: cannot open display: localhost:10.0
STDERR: Permission denied, please try again.
STDERR: PuTTYNG X11 proxy: wrong authorisation protocol attempted
STDERR: (gnome-ssh-askpass:4057): Gtk-WARNING **: cannot open display: localhost:10.0
STDERR: Permission denied, please try again.
STDERR: PuTTYNG X11 proxy: wrong authorisation protocol attempted
STDERR: (gnome-ssh-askpass:4058): Gtk-WARNING **: cannot open display: localhost:10.0
STDERR: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
STDERR: fatal: The remote end hung up unexpectedly
---I think the error is very self explanatory. Are you able to run that command locally?I think your url looks incorrect. should probably be `repository.git` instead of `repository/.git`
On Tue, Feb 23, 2016 at 10:26 PM Eric Dolce <dolce...@gmail.com> wrote:
Hello,I am really new on gocd and I am trying to setup a simple configuration of a pipeline using my local private git repository ( no GitHub involved ).So I configured the material using git and the URL below to my local git repo
when I check the connection I got the errorRepository https://user:******@myhostyname.com/repository/.git not found! : Error performing command: --- Command --- git ls-remote https://user:******@myhostyname.com/repository/.git --- Environment --- {} --- INPUT ---- --OUTPUT --- --- ERROR --- STDERR: error: couldn't connect to host while accessing https://user:******@myhostyname.com/repository/.git/info/refs STDERR: STDERR: fatal: HTTP request failed ---Any help will be appreciated.ThanksEric
Hello Eric,
to me it looks like your private SSH key is protected with a passphrase and gocd is unable to access a running SSH agent, so git tries to start a gnome ask pass helper which does not work because you have no DISPLAY.
Regards
Mirko
--
Sent from my mobile
when I check the connection I got the errorRepository https://user:******@myhostyname.com/repository/.git not found! : Error performing command: --- Command --- git ls-remote https://user:******@myhostyname.com/repository/.git --- Environment --- {} --- INPUT ---- --OUTPUT --- --- ERROR --- STDERR: error: couldn't connect to host while accessing https://user:******@myhostyname.com/repository/.git/info/refs STDERR: STDERR: fatal: HTTP request failed ---Any help will be appreciated.ThanksEric
--
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.
For more options, visit https://groups.google.com/d/optout.
when I check the connection I got the errorRepository https://user:******@myhostyname.com/repository/.git not found! : Error performing command: --- Command --- git ls-remote https://user:******@myhostyname.com/repository/.git --- Environment --- {} --- INPUT ---- --OUTPUT --- --- ERROR --- STDERR: error: couldn't connect to host while accessing https://user:******@myhostyname.com/repository/.git/info/refs STDERR: STDERR: fatal: HTTP request failed ---Any help will be appreciated.ThanksEric
--
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.
For more options, visit https://groups.google.com/d/optout.