vert-x3 / vertx-config

Vert.x Configuration Service
Apache License 2.0
54 stars 64 forks source link

Authentication is required but no CredentialsProvider has been registered #83

Closed razzbee closed 5 years ago

razzbee commented 5 years ago

The Git config store seems not to work with bitbucket private repo, I have manually tested the repo with jGit and it works great, but does not work with vertx

config: JsonObject() .put("url", "https://username@bitbucket.org/username/repo.git") .put("path", "local") .put("user","user") .put("password","password") .put("filesets", new JsonArray().add(new JsonObject().put("pattern", "*.json"))) );

SGjorge commented 5 years ago

Hello,

I've got the same issue, can you solve it?

Thanks!

razzbee commented 5 years ago

I am using a thirdparty library to load content, parsing json and feeding it as json to the config Object

SINGS079 commented 5 years ago

I can take a look at this issue. Is it specifically with bitbucket or have you experienced it with GitHub and GitLab too?

ClaudenirFreitas commented 5 years ago

Hi @razzbee @SGjorge , this bug has been fixed in commit: https://github.com/vert-x3/vertx-config/commit/b8e7a4a50695894d3816c49f651ffa96ac188353#diff-e3544bb9aad726e9dd8d0f429a1316e3

Is it posible to test on the new version (4.0.0-milestone3)?

razzbee commented 5 years ago

I will do some tests and post the results here.

vietj commented 5 years ago

thanks @razzbee

vietj commented 5 years ago

do we need to backport this bug fix in 3.8.2 ?