Help! (go get) fatal: Unable to find remote helper for 'https'

5,553 views
Skip to first unread message

RickyS

unread,
Jun 27, 2013, 12:07:46 PM6/27/13
to golan...@googlegroups.com
The normal command 'go get' never seems to work for me. The rest of the go commands work fine.  A typical example:

% go get -u github.com/nsf/gocode                       
# cd .; git clone https://github.com/nsf/gocode /home/ricky/Projects/Go/test1/src/github.com/nsf/gocode
Cloning into '/home/ricky/Projects/Go/test1/src/github.com/nsf/gocode'...
fatal: Unable to find remote helper for 'https'
package github.com/nsf/gocode: exit status 128

% echo $GOPATH                                                                                                            1 
/home/ricky/Projects/Go/test1
% echo $GOROOT
/usr/local/go
% uname -a
Linux ricky-Dell-System-Inspiron-N4110 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
%go version
go version go1.1.1 linux/amd64

   Any hints at all would be appreciated,
   RickyS

Aaron France

unread,
Jun 27, 2013, 12:09:31 PM6/27/13
to RickyS, golang-nuts
Eek, didn't read ignore. ABORT ABORT.


On Thu, Jun 27, 2013 at 6:09 PM, Aaron France <aaron.l...@gmail.com> wrote:
Hi,

Remove the https:// section, you don't need it.


--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


Aaron France

unread,
Jun 27, 2013, 12:09:10 PM6/27/13
to RickyS, golang-nuts
Hi,

Remove the https:// section, you don't need it.
On Thu, Jun 27, 2013 at 6:07 PM, RickyS <rickys...@gmail.com> wrote:

--

Peter Bourgon

unread,
Jun 27, 2013, 12:11:23 PM6/27/13
to RickyS, golang-nuts
This is a problem with your 'git' command, not with your 'go' command.

Can you 'git clone https://github.com/nsf/gocode'?
What about 'git clone g...@github.com:nsf/gocode'?


On Thu, Jun 27, 2013 at 6:07 PM, RickyS <rickys...@gmail.com> wrote:

Dominik Honnef

unread,
Jun 27, 2013, 12:12:02 PM6/27/13
to golan...@googlegroups.com
RickyS <rickys...@gmail.com> writes:

> The normal command 'go get' never seems to work for me. The rest of the go
> commands work fine. A typical example:
>
> *% go get -u github.com/nsf/gocode*
> # cd .; git clone https://github.com/nsf/gocode
> /home/ricky/Projects/Go/test1/src/github.com/nsf/gocode
> Cloning into '/home/ricky/Projects/Go/test1/src/github.com/nsf/gocode'...
> *fatal: Unable to find remote helper for 'https'*
> package github.com/nsf/gocode: exit status 128

That's a git error. Possible solution can be found at
http://stackoverflow.com/questions/8329485/git-clone-fatal-unable-to-find-remote-helper-for-https
Message has been deleted

RickyS

unread,
Jun 27, 2013, 4:41:39 PM6/27/13
to golan...@googlegroups.com

RickyS

unread,
Jun 27, 2013, 4:42:07 PM6/27/13
to golan...@googlegroups.com
I removed and re-installed git with the Ubuntu Software Center (5.6.0) and there was no change.  Git version is '1.8.2.GIT'

RickyS

unread,
Jun 28, 2013, 2:01:14 AM6/28/13
to golan...@googlegroups.com, RickyS, pe...@bourgon.org
Interested to find it's all about git.  Thanks for the info.  Here's the results of my attempts:

 [ricky:~]% git clone https://github.com/nsf/gocode
Cloning into 'gocode'...
fatal: Unable to find remote helper for 'https'

 [ricky:~]% git clone g...@github.com:nsf/gocode                                                     
Cloning into 'gocode'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 [ricky:~]% git version                                                                                                     
git version 1.8.2.GIT
--

capnm

unread,
Jun 28, 2013, 4:26:40 AM6/28/13
to golan...@googlegroups.com, RickyS, pe...@bourgon.org
On Friday, 28 June 2013 08:01:14 UTC+2, RickyS wrote:
 [ricky:~]% git clone g...@github.com:nsf/gocode                                                     
Cloning into 'gocode'...
Permission denied (publickey).
fatal: Could not read from remote repository.


That is for private access with a ssh private key. Try:
git clone git://github.com/nsf/gocode

Martin

RickyS

unread,
Jun 28, 2013, 7:13:00 AM6/28/13
to golan...@googlegroups.com, RickyS, pe...@bourgon.org
Much better results.  Thanks.
I ran 'go install' and now have a $GOPATH/bin/gocode that runs and passes all but 2 tests.

darsha...@gmail.com

unread,
Dec 3, 2013, 3:07:08 PM12/3/13
to golan...@googlegroups.com
Hi Ricky,

How did you solve this issue? I am facing exactly same problem.

TIA.
D.

Darshan Mehta

unread,
Dec 3, 2013, 3:08:26 PM12/3/13
to golan...@googlegroups.com, RickyS
Hi Ricky,

How did you solve this issue? I am facing exactly same problem.

TIA.
D.


RickyS

unread,
Dec 3, 2013, 4:08:03 PM12/3/13
to golan...@googlegroups.com, RickyS
It was a while ago, and I remember I did a lot of things.  For some ideas, see http://stackoverflow.com/questions/8329485/git-clone-fatal-unable-to-find-remote-helper-for-https

I remember that installing curl-devel finally did the trick.  Then I removed and reinstalled the latest version of git from sources.  I just now tried the "git clone g...@github.com:nsf/gocode" version of the command and it all worked.  And 'go get' has worked well for months.

I'm now running git version 1.8.4.3 under Ubuntu 13.10, 64-bit, with the new go 1.2.  This combination works very well for me.  I installed the latest git by compiling from sources, which I recommend.

Reply all
Reply to author
Forward
0 new messages