Open ksdev-pl opened 1 week ago
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:
I am logged in after sending only j_username and j_password and can access protected paths. Each login also generates an IllegalStateException: Response head already sent https://github.com/quarkusio/quarkus/issues/29924
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