-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to update a private registry due to SSH host verification on v1.6-beta1 #2333
Comments
Can you try manually editing that line in the known hosts file and deleting the trailing IP address? |
No luck. In each case, i'm deleting the registry from
I tried deleting the IP address from portion ( I also tried with editing my
or
(following @fredrikekre suggestions on Slack) p.s. sorry for raising this in multiple places. I thought i'd move it to an issue here in case other people hit the same thing. And thanks a lot for your help! |
Okay, i think i fixed it. I tried removing the nick@nickwork ~/.j/registries> julia-1.6 -e 'using Pkg; Pkg.update()'
Updating registry at `~/.julia/registries/General`
Updating registry at `~/.julia/registries/Invenia`
Updating git-repo `git@gitlab.invenia.ca:invenia/PackageRegistry.git`
SSH host verification: the server `gitlab.invenia.ca` is not a known host. Please run `ssh-keyscan gitlab.invenia.ca >> /Users/nick/.ssh/known_hosts` in order to add the server to your known hosts file and then try again.
┌ Warning: Some registries failed to update:
│ — /Users/nick/.julia/registries/Invenia — failed to fetch from repo
└ @ Pkg.Types /Users/julia/src/julia/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1183
No Changes to `~/.julia/environments/v1.6/Project.toml`
No Changes to `~/.julia/environments/v1.6/Manifest.toml` After adding the Thanks a lot for your help! |
I think the behaviour described in the second part of the top post is still a bug: #2334 |
I was still having this issue. I don't know what the full implications are, but basically if I use I think as long as I make sure the packages are registered with the correct URL in the first place this won't be an issue. Not sure if this sheds any light or helps anybody else, but just thought I'd throw it out there if it does. Thanks! |
i tried deleting the
gitlab.invenia.ca
entry from my~/.ssh/known_hosts
file, and removed this registry, then didbut i still see the same issue.
The relevant line in the
known_hosts
file isThe gitlab server does not have a static IP address. (The IP changes frequently. It's behind an AWS load balancer.)
The text was updated successfully, but these errors were encountered: