gitrob icon indicating copy to clipboard operation
gitrob copied to clipboard

proxy dial issue

Open ghost opened this issue 6 years ago • 8 comments

while trying to run git rob i am getting this issue

gopkg.in/src-d/go-git.v4/plumbing/transport/ssh

../../../gopkg.in/src-d/go-git.v4/plumbing/transport/ssh/common.go:147:15: undefined: proxy.Dial

am trying to figure out what is the issue here

ghost avatar Jul 14 '19 19:07 ghost

same here.

m0nk3y-s3c avatar Jul 25 '19 17:07 m0nk3y-s3c

@m0nk3y-s3c by downloading the precompiled version i was able to run gitrob here is there link https://github.com/michenriksen/gitrob/releases

ghost avatar Jul 26 '19 16:07 ghost

Your problem is that your golang.org/x/net/proxy package is out of date. To fix it:

cd ~/go/src/golang.org/x/net/proxy
go get -u -v

You should then see some updates happen and then things should work.

digininja avatar Jul 31 '19 10:07 digininja

thanks @digininja this fixed the issue.

ghost avatar Jul 31 '19 15:07 ghost

If you want to make sure everything else is up to date:

go get -u -v all

You don't need the -v but it adds verbose so you can see it is actually doing things otherwise it just sits for a long time and you don't know if it is working or hung.

digininja avatar Jul 31 '19 15:07 digininja

For those using go modules, add the below to the bottom of your go.mod and run go mod tidy

replace (
	golang.org/x/net => github.com/golang/net master
)

It will then be changed to something like:

replace (
	golang.org/x/net => github.com/golang/net v0.0.0-20191105084925-a882066a44e0
)

stevegore avatar Nov 08 '19 00:11 stevegore

@digininja @stevegore @soupnatzi @m0nk3y-s3c Could you please try the latest version of the fork. If you are still running into an issue then please open an issue in that repo and we can look into this further.

Thanks!

mattyjones avatar May 20 '20 13:05 mattyjones

I'm already up to date with all my repos so it wouldn't be easy to roll back stuff to test it.

If you don't get anywhere with testing, let me know and I'll sort something out.

digininja avatar May 28 '20 14:05 digininja