Closed Tcharl closed 3 years ago
Thanks for your reporting, we will look into it soon.
FYI, it's on spring boot 2.4.4
Hi @Tcharl , I reproduced your issue with our sample by specifying spring boot as 2.4.4 and jackson-databind as 2.12.1. And the bug is caused due to that spring boot 2.4.4 only supports jackson 2.11.1 while our starter supports both 2.12.1 and 2.11.1 actually, which could be refered to https://github.com/Azure/azure-sdk-for-java/pull/19967/ and https://github.com/Azure/azure-sdk-for-java/pull/19918. So in our sample, it could work with spring boot 2.4.4 and jackson-databind 2.11.1. So you could try with removing below version in your pom.xml
<dependency><!-- Mandatory because spring uses databind 2.11.4 which is incompatible with keyvault-->
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.12.1</version>
</dependency>
If it still hangs after modifying version of jackson-databind, cloud you provide a project with our sample that could reproduce your issue?
Not possible: azure vault is using a method that do not exists in 2.11.x...
Hi @Tcharl , I ignored that the mentioned commits to support both 2.12.x and 2.11.x are not in our starter 3.3.0. So I think you could use the key vault starter 3.4.0 and remove dependency of jackson-databind:2.12.1, or use starter 3.3.0 together with the following dependency:
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.14.1</version>
</dependency>
Close this issue for no response for the customer. If you still have any issue, please open it again.
Describe the bug Using the latest and greatest azure-spring-boot-starter-keyvault-secrets indefinitely hangs on start
Exception or Stack Trace No exception at all, just stucked
To Reproduce Steps to reproduce the behavior:
I generated an app with the latest jhipster, then added these dependencies:
Code Snippet
Expected behavior My secrets to be retreived :-)
Screenshots If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context Add any other context about the problem here.
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report