Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

dep freezes if a repository needs to be fetched over SSH and SSH host key verification is necessary #1524

Closed
nhooyr opened this issue Jan 12, 2018 · 2 comments

Comments

@nhooyr
Copy link

nhooyr commented Jan 12, 2018

What version of dep are you using (dep version)?

v0.3.2-192-g7bf46112

What dep command did you run?

dep ensure

What did you expect to see?

It to finish.

What did you see instead?

It did not finish and was hung for well over a day.

A colleague gave me the tip that sometimes dep hangs if SSH host key verification is necessary for one of the repositories. He told me to look at the running processes on my system. Sure enough, there was an SSH process just hung and when I tried to manually run it, it gave me a SSH host key verification prompt.

Not sure how to fix this but dep needs some way to make ssh fail when host key verification is necessary and ask the user to manually run ssh someserver to get the host key cached.

@nhooyr nhooyr changed the title dep freezes if a repository needs to be fetched over SSH and there is a SSH verification dep freezes if a repository needs to be fetched over SSH and SSH host key verification is necessary Jan 12, 2018
@slycrel
Copy link

slycrel commented Jan 16, 2018

Note that in addition to the above, this also happens if the ssh key cannot be found.

@sdboyer
Copy link
Member

sdboyer commented Jan 26, 2018

yeah, this sucks. it's mentioned in the failure modes section on hangs.

original issue for this one is #1476 - closing this as a dupe of that.

@nhooyr nhooyr closed this as completed Jan 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants