proxy dial issue
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
same here.
@m0nk3y-s3c by downloading the precompiled version i was able to run gitrob here is there link https://github.com/michenriksen/gitrob/releases
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.
thanks @digininja this fixed the issue.
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.
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
)
@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!
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.