Closed kamaydeo closed 3 years ago
Read timeout for Micronaut HTTP client defaults to 10 seconds.
You could update it to a more sensible default for your use case:
micronaut:
http:
client:
read-timeout: 15s
Please, reopen if this does not fix the issue.
Suggested fix does not resolve above issue. Now it times out after 15s. Anyways, please run the example I have provided. BTW, I can't reopen the issue so opening a new one.
@sdelamo Any updates?
It's been 20 days and no concrete response. I am giving up and closing this issue. It seems like micronaut team is not ready yet and it's waste of time for me to give it a try. I am so happy that I didn't invest fully into this. It was just a POC to compare it against Spring and outcome is very clear.
comment move here : https://github.com/micronaut-projects/micronaut-security/issues/752
Expected Behavior
HTTP Call should return successfully
Actual Behaviour
HTTP calls times out. The token is received and you can see that in the trace logs, but the chain of calls hang, and no call to bitbucket is ever made. Application goes in a strange hung state and any subsequent calls fail.
Stacktrace
Steps To Reproduce
Refer to README.md
Environment Information
Example Application
https://github.com/kamaydeo/http-oauth-client-test
Version
2.5.11