snipsco/snips-nlu-rs

Can't install snips-nlu-lib due to authentication error fetching snips-nlu-resources module

allisterb opened this issue · 1 comments

This is my Cargo.toml dependencies section:

[dependencies]
snips-nlu-lib = { git = "https://github.com/snipsco/snips-nlu-rs", branch = "master" }

This is the error I get when I try to build it:

C:\Projects\hello_cargo>cargo build
  Updating git repository `https://github.com/snipsco/snips-nlu-rs`
error: failed to load source for a dependency on `snips-nlu-lib`

Caused by:
 Unable to update https://github.com/snipsco/snips-nlu-rs

Caused by:
 failed to update submodule `snips-nlu-resources/snips-nlu-resources`

Caused by:
 failed to fetch submodule `snips-nlu-resources/snips-nlu-resources` from ssh://git@github.com/snipsco/snips-nlu-resources

Caused by:
 failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded

Caused by:
 error authenticating: failed connecting agent; class=Ssh (23)

It seems that there is an authentication issue with anonymous users accessing the snips-nlu-resources git repository.

Hello, we prevented this issue by replacing the ssh submodule url by https url in this commit 0944e9b.
Since we're not yet on crates.io I think your Cargo.lock isn't up-to-date.
Please try to run cargo update or to delete your Cargo.lock and try again to build the crate.