Open ebrard opened 2 years ago
I increased the micronaut client read time to 5 mins and still I see read timeout while hitting the rest service endpoint from another browser tab which seems to indicate that the rest server implemented can take extra calls.
@ebrard can you retry with last version please ? Since there is a major upgrade from micronaut that don't use RxJava, it will be fine to test it again :pray:
Hey! I'm obtaining same issue, while trying to connect to OIDC provider.
I tried to debug a bit through JVM debug, and code has failed in Micronaut HttpClient... :-(
So, we were still facing the issue. I believe that's because lots of operation are being done on the main thread(s) by akhq during a topic page view (topic listing, cg reverse lookup...). The following extra configuration seems to have fixed it once and for all (will confirm over time):
netty:
event-loops:
other:
num-threads: 10
prefer-native-transport: true
http:
client:
event-loop-group: other
read-timeout: 1s
I have configured the auth authentification along side with the call to a rest endpoint for permissions. Regularly the micronaut http clients runs into a time out as such:
which seems to mean that the rest client takes more than 10 sec to answer. On the rest server side we have Datadog APM configured and we see that all calls are being processed in a few ms, which makes me wonder if the issue could be in akhq. I have read somewhere that micronaut http client uses the main thread which can potentially conflict with akhq operations.