Hello Erik,

I was getting that error as well and it turned out that I didn't have the 
"spring.security" lines set in my properties file.

spring.security.user.name=[setuser]
spring.security.user.password=[setpassword]
spring.security.user.roles=ADMIN

Also, be sure that the "management.endpoints" are exposed for the 
application. That can be seen here: 
https://fawnoos.com/2023/12/15/cas70x-gettingstarted-overlay/

Hope that helps.

Sincerely,



Will

On Wednesday, February 5, 2025 at 5:50:58 PM UTC-7 Erik Mallory wrote:

> Taking another run at the SBA for cas, since now it's rolled into the war.
> I'm running into the following error:
> <Failed to register application as Application(name=CAS, 
> managementUrl=/sba/instances, healthUrl=
> https://appdev-523.wichita.edu:8443/cas/actuator/health, serviceUrl=
> https://appdev-523.wichita.edu:8443/cas
> ) at spring-boot-admin ([
> https://appdev-523.wichita.edu:8443/cas/sba/instances]): Could not 
> extract response: no suitable HttpMessageConverter found for respon
> se type [java.util.Map<java.lang.String, java.lang.Object>] and content 
> type [text/html;charset=UTF-8]. Further attempts are logged on DEBUG level>
>
> this leads me to believe that /sba/instances is not the right place to be 
> pointing the client at.
> So where is the right place to point the client at to get it to register?
> Below is my configuration for cas 7.0.10
>
> spring.boot.admin.client.enabled=true
> spring.boot.admin.server.enabled=true
> spring.boot.admin.client.auto-registration=true
> spring.boot.admin.client.instance.health-url=
> https://appdev-523.wichita.edu:8443/cas/actuator/health
> #spring.boot.admin.client.instance.management-base-url=
> https://appdev-523.wichita.edu:8443/cas
> spring.boot.admin.client.instance.management-url=/sba/instances
> spring.boot.admin.client.url=https://appdev-523.wichita.edu:8443/cas/sba
> spring.boot.admin.client.instance.service-host-type=hostname
> Thanks
>

-- 
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c86b0156-1482-4559-9f4e-b869122528bdn%40apereo.org.

Reply via email to