-
Notifications
You must be signed in to change notification settings - Fork 460
Spring Boot application hangs without any error when azure-keyvault-secrets-spring-boot-starter version upgraded from 2.1.6 to 2.1.8 #853
Comments
Thanks for reaching out. Could you please try again with our latest release 2.1.9? |
Hi Saragluna, Thank you for reply. Yes tried with 2.1.9 and same result |
Could you help provide some more details, like the pom file of your project, for me to reproduce the issue? |
I have the same issue appears to be in private void fillSecretsList() {
try {
this.rwLock.writeLock().lock();
if (this.secretKeys == null || secretKeys.size() == 0) {
this.propertyNames.clear();
final PagedIterable<SecretProperties> secretProperties = keyVaultClient.listPropertiesOfSecrets();
//Hangs here:
secretProperties.forEach(s -> {
final String secretName = s.getName().replace(vaultUri + "/secrets/", "");
addSecretIfNotExist(secretName);
});
this.lastUpdateTime.set(System.currentTimeMillis());
} else {
for (final String secretKey : secretKeys) {
addSecretIfNotExist(secretKey);
}
}
propertyNamesArr = propertyNames.toArray(new String[0]);
} finally {
this.rwLock.writeLock().unlock();
}
} |
Thanks for sharing this. I will look into this. |
hi @saragluna I'm having the same issue using:
|
I reported the issue here |
This issue is same to #909 , so I'll close this issue. |
Hi, @nandha2143, please update version to 2.2.5 or 2.3.2. |
* Fix KeyVaultOperation blocked problem. Refs: microsoft/azure-spring-boot#853 * Add an item in external_depandencies. * Remote reduantant whitespace. It's removed by Intellij automically. * Fix the order to 'a, b, c, d.' * Fix the error in the message. Co-authored-by: Rujun Chen <rujche@microsoft.com>
try
|
Environment
Spring boot starter:
OS Type: Windows
Java version:
Summary
Spring Boot application hangs without any error when azure-keyvault-secrets-spring-boot-starter version upgraded from 2.1.6 to 2.1.8. Spring boot version is 2.1.10-RELEASE
Reproduce steps
Spring 2.1.10-RELEASE. Upgraded azure-keyvault-secrets-spring-boot-starter version upgraded from 2.1.6 to 2.1.8. Same application is working in 2.1.6
Application.yml
azure:
keyvault:
uri:
client-id:
client-key:
tenant-id:
allow:
telemetry: false
Expected Results
Spring boot application up and running and get all secrets from Azure key vault
Actual Results
Spring boot app hangs
The text was updated successfully, but these errors were encountered: