Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
we are fetching dynamic database credentials using Hashicorp Vault for our Quarkus Kubernetes services. Quarkus authenticates against Vault using Kubernetes authentication. Passing below env variables -
TTL
Lease_expiry = 1 hour
max ttl = 24 hour
version
quarkus - 3.15.4.redhat-00001
quarkus-vault - 4.1.0
we are getting below exception when increases the load to our application -
java.util.concurrent.CompletionException: java.lang.InterruptedException at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:79) at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65) at io.smallrye.mutiny.groups.UniAwait.indefinitely(UniAwait.java:46) at io.quarkus.vault.runtime.VaultCredentialsProvider.getCredentials(VaultCredentialsProvider.java:55) at io.quarkus.vault.runtime.VaultCredentialsProvider_ClientProxy.getCredentials(Unknown Source) at io.quarkus.agroal.runtime.AgroalVaultCredentialsProviderPassword.asProperties(AgroalVaultCredentialsProviderPassword.java:21) at io.agroal.api.security.AgroalDefaultSecurityProvider.getSecurityProperties(AgroalDefaultSecurityProvider.java:23) at io.agroal.pool.ConnectionFactory.securityProperties(ConnectionFactory.java:211) at io.agroal.pool.ConnectionFactory.securityProperties(ConnectionFactory.java:200) at io.agroal.pool.ConnectionFactory.jdbcProperties(ConnectionFactory.java:181) at io.agroal.pool.ConnectionFactory.createConnection(ConnectionFactory.java:225) at io.agroal.pool.ConnectionPool$CreateConnectionTask.call(ConnectionPool.java:580) at io.agroal.pool.ConnectionPool$CreateConnectionTask.call(ConnectionPool.java:561) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at io.agroal.pool.util.PriorityScheduledExecutor.beforeExecute(PriorityScheduledExecutor.java:75) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.InterruptedException at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1048) at java.base/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:230) at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:67) ... 17 more
Beta Was this translation helpful? Give feedback.
All reactions