quarkus: Panache Reactive not working with Quarkus GraphQL

Describe the bug

First query works fine. Others throw IllegalStateException: HR000061: Session is currently connecting to database

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

2 Methods in @GraphQLApi and call them in one query which is common for gql. The first works fine but others fail.

Output of uname -a or ver

5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Output of java -version

openjdk version “11.0.12” 2021-07-20

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.3.0.Final

Build tool (ie. output of mvnw --version or gradlew --version)

3.8.1

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 34 (23 by maintainers)

Most upvoted comments

Yes, aiming for 2.10

This should be fixed in the next version. I’ll add a test case for this scenario specifically. see https://github.com/quarkusio/quarkus/pull/25194

Good news, I just tested this reproducer with snapshot (main branch) and it’s working (or at least it goes past 4 requests 😃)

If anyone here is keen to test, use the main branch (999-SNAPHOT) and let me know if it’s not working. CR1 for 2.10 should also be release in a few weeks and should contain the fix.

vokoscreenNG-2022-05-09_21-38-48

/cc @hogmuzzle @vnhim @RuggeroDAlo @indiealexh @KienDangTran @dawi @joedevgee @zbhavyai @michalszynkiewicz @Sanne @cescoffier

I am not sure. I’ll commit my branch tomorrow then you can check?