-
Notifications
You must be signed in to change notification settings - Fork 251
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
Togglz Console 404 not found error with WebFlux #920
Comments
Hey, the problem is, WebFlux is based on an reactive approach whereas the togglz-console is based on servlets which is heavily on a request/response/non-reactive technology. I will need to change the console from using servlets to something else, but this is a heavy task. best regards |
Hi @bennetelli Thanks for the reply. Yes, I have found one open ticket where web flux is not supporting the toggle console. I have implemented the actuator endpoint to change the state of the features. Thanks, at least we have some way of playing around. Regards, |
Welcome :) Glad you can work with togglz even when it's not as comfortable with WebFlux as with non-reactive frameworks. It's still on my list and I will work on this as soon as I will have some time between projects. |
From the source codes, it seems console is based on the traditional spring webmvc, does not support webflux. |
Hi,
Currently, I am working on a web flux application, and my togglz implementation is working fine with all the features implemented using SpringSecurityUserProvider and JDBCStateRepository, but the toggle console is not working, and I am getting a 404 Not Found exception. Please guide me if I am missing something. Below is the configuration.
To ensure the console is working, I have disabled the security in my SpringSecurityConfig file.
Properties:
I have tried both with .properties and .yaml
Error:
2023-01-30 14:25:21.671 [reactor-http-nio-3] DEBUG o.s.w.s.a.HttpWebHandlerAdapter - [1b3e48ae-1] HTTP GET "/togglz-console/"
2023-01-30 14:25:21.695 [parallel-2] DEBUG o.s.w.s.s.DefaultWebSessionManager - Created new WebSession.
2023-01-30 14:25:21.706 [parallel-2] DEBUG o.s.w.r.h.SimpleUrlHandlerMapping - [1b3e48ae-1] Mapped to ResourceWebHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/]]
2023-01-30 14:25:21.707 [parallel-2] DEBUG o.s.w.r.resource.ResourceWebHandler - [1b3e48ae-1] Resource not found
2023-01-30 14:25:21.725 [parallel-2] DEBUG o.s.w.s.h.ResponseStatusExceptionHandler - [1b3e48ae-1] Resolved [ResponseStatusException: "404 NOT_FOUND"] for HTTP GET /togglz-console/
2023-01-30 14:25:21.730 [parallel-2] DEBUG o.s.w.s.a.HttpWebHandlerAdapter - [1b3e48ae-1] Completed 404 NOT_FOUND
The text was updated successfully, but these errors were encountered: