You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vertx config retriever does not work with spring-cloud-config server with HTTPS even if the spring-cloud-config server is configured with proper certificate (not self signed) . Underlying exception says "Connection closed"
Sample code:
ConfigStoreOptions springCloudStore =
new ConfigStoreOptions()
.setType("spring-config-server")
.setConfig(
new JsonObject()
.put("url", String.format("https://some-cloud-config-server.com/application/profile", profile))
.put("ssl", true)
.put("timeout", 60000)
.put("user", "dummy-user")
.put("password", "secret")
);
ConfigRetriever retriever =
ConfigRetriever.create(
vertx,
new ConfigRetrieverOptions()
.addStore(springCloudStore)
);
retriever.getConfig(json -> {
if (json.failed()) {
log.error("failed to retrieve config {}", json.cause().getMessage());
return;
}
Version
4.3.3
The text was updated successfully, but these errors were encountered:
Questions
Vertx config retriever does not work with spring-cloud-config server with HTTPS even if the spring-cloud-config server is configured with proper certificate (not self signed) . Underlying exception says "Connection closed"
Sample code:
Version
4.3.3
The text was updated successfully, but these errors were encountered: