-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
IllegalStateException: Response head already sent during login #44458
Comments
There is an easy way to hide the error from happening, but I would like @sberyozkin to have a look at the request flow to make sure that Quarkus REST is not being engaged here when it shouldn't be. |
Hello @sberyozkin , are there any updates on this? Running into a similar issue. |
It looks like the issue is known at least from 2022:
|
@sberyozkin I think this warrants your attention. Thanks |
Hello @sberyozkin Could you please provide any answer? |
I'll have a look in next weeks. |
Thanks for nice reproducer, it helped very much. Here is the fix #46418. I realized I have seen this in past many times and never looked into it. |
Thank you ❤️ |
Describe the bug
Hello
When setting
quarkus.http.auth.proactive=false
, I get an exception during form-based authentication login (though the login still succeeds). This doesn't occur whenquarkus.http.auth.proactive=true
.Expected behavior
No IllegalStateException with
quarkus.http.auth.proactive=false
during login.Actual behavior
IllegalStateException with
quarkus.http.auth.proactive=false
during login.How to Reproduce?
Use the simple project at repository:
https://github.com/ksdev-pl/quarkus-response-head-already-sent/tree/master
Run it in dev mode, visit http://localhost:8080 and login using credentials:
admin@example.com
/secret
.Check the logs after login.
Output of
uname -a
orver
Fedora 6.11.6-300.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 16:16:00 UTC 2024 x86_64 GNU/Linux
Output of
java -version
OpenJDK Runtime Environment Temurin-21.0.5+11 (build 21.0.5+11-LTS)
Quarkus version or git rev
3.16.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)3.9.8
Additional information
No response
The text was updated successfully, but these errors were encountered: