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
However if I run the -runner jar file in the /target directory (its an uber-jar) with the following command :
java -jar poc-quarkus-vault-db-runner.jar
I get the following error:
2022-12-06 12:23:59,870 WARN [io.agroal.pool] (agroal-11) Datasource 'soam': Failed to create connection due to VaultClientException
2022-12-06 12:23:59,883 ERROR [sun.java.ws.rest.quarkus.poc.api.personinf.DbInfoService] (executor-thread-0) Error point 1: null: io.quarkus.vault.runtime.client.VaultClientException code=404 body={"errors":[]}
I should note that the app starts up fine, its just when I call the REST endpoint to pull something from the DB that is crashes.
Any ideas would be very welcome.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a small POC java app that has a db password stored in a HashiCorp vault.
I use it as a credentials provider in quarkus.
If I run the it from command line with
mvn quarkus:dev
it all works fine.
However if I run the -runner jar file in the /target directory (its an uber-jar) with the following command :
java -jar poc-quarkus-vault-db-runner.jar
I get the following error:
I should note that the app starts up fine, its just when I call the REST endpoint to pull something from the DB that is crashes.
Any ideas would be very welcome.
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions