quarkiverse / quarkus-vault

Quarkus HashiCorp Vault extension
Apache License 2.0
18 stars 22 forks source link

Quarkus will not live reload when use Vault extension with Gradle #99

Open brunohpg opened 1 year ago

brunohpg commented 1 year ago

I opened this issue in the Quarkus repository, but I think this might be a good place as well.

Vault extension is preventing reload of quarkus.

I have one reproducer: https://github.com/quarkusio/quarkus/files/10221453/proj1.zip It's a simple project, nothing of code, just basic Vault config.

When Quarkus try live reload, there's a exception: java.util.concurrent.RejectedExecutionException: Task io.smallrye.mutiny.infrastructure.MutinyScheduler$DecoratedRunnableTask@7a0339fc rejected from io.quarkus.mutiny.runtime.MutinyInfrastructure$1@41de07f[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].

Apparently it's when loading the settings on startup. I have tried with: Vault 1.8.4 and Vault 1.12.2.

More details: https://github.com/quarkusio/quarkus/issues/29841

raffaelespazzoli commented 1 year ago

this is a simple reproducer vault-issue-repro.zip

please ignore this comment, it should have been on a different issue.

geoand commented 1 year ago

It's hard to tell what the problem on this one is until we have a solution for https://github.com/quarkiverse/quarkus-vault/issues/78#issuecomment-1413342413

kdubb commented 1 year ago

@brunohpg There is a now a 2.x branch which includes fixes that will be back ported to Quarkus 2.16.x. Can you test with that branch?

Building quarkus-vault via mvn install should produce a local 2.1.1-SNAPSHOT version you can test with.