-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NettyHttpRequest.formRouteCompleter - java.util.NoSuchElementException: No value present #11049
Comments
The signature of the method related to the exception above is:
The core part of the method looks like this:
|
error looks like a missing ROUTE_MATCH, potentially fixed by #11017 |
After upgrade to Micronaut 4.6.1 I still see
|
I upgraded to Micronaut 4.6.2 and we still see this problem.
Isn't Session supposed to be created automatically by the framework? Rolling back Micronaut to 3.10.2 makes the problem disappear. |
I don't know exactly what fixed it but we haven't seen any of the above problems since upgrading from Micronaut 4.6.2 to 4.6.3 about 4 days ago. With 4.6.2 we saw errors within an hour. |
More than two weeks without any error. I think this issue can be closed. But I'm very curious to hear if @yawkat or anyone else knows what commit that actually fixed it (something between Micronaut 4.6.2 and 4.6.3). |
no idea, nothing interesting in the corresponding core release v4.6.5...v4.6.6 |
I browsed through commits but could not find anything related. Strange. Anyway, I'm happy it's working now. Closing this. |
Expected Behavior
After upgrade from Micronaut 3.x to 4.5.1 we see "random"
No value present
errors from a service that accepts multipart file uploads.We also see that sometimes requests seems unauthenticated (injected Authentication parameter is null) but request from the same user before and after the failing request (few milliseconds) are authenticated and works ok. Seems the JWT token (cookie) get lost in some requests.
Actual Behaviour
Exceptions related to missing auth tokens.
Steps To Reproduce
It seems very random and I will try my best to create a reproducer. We've been debugging this for 2 weeks without success. But right now I just wanted to create a placeholder issue for the stacktrace. I'll add more info as debugging progresses.
Environment Information
Example Application
No response
Version
4.5.1
The text was updated successfully, but these errors were encountered: