We are trying to get the /status /health endpoints to work on the CAS 6.2
main branch following this guide:

https://apereo.github.io/cas/development/monitoring/Monitoring-Statistics.html

We have this in our pom.xml:

implementation
"org.apereo.cas:cas-server-support-reports:${project.'cas.version'}"

Our cas.properties has:
#settings for monitoring and statistics
spring.boot.admin.url=https://cas6test.go.utah.edu:8444
spring.boot.admin.client.managementUrl=${cas.server.prefix}/status

management.endpoints.web.exposure.include=*
management.endpoints.enabled-by-default=true
cas.monitor.endpoints.endpoint.defaults.access=AUTHENTICATED

spring.security.user.name=casuser
spring.security.user.password=Mellon

I don't see port 8444 open using:
netstat -tulpn | grep LISTEN

In catalina.out I see:

 22-Jun-2020 10:53:21.601 WARNING
[AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@1063035f}]
zipkin2.reporter.AsyncReporter$BoundedAsyncReporter.flush Dropped 2 spans
due to ResourceAccessException(I/O error on POST request for "
http://localhost:9411/api/v2/spans": Connection refused (Connection
refused); nested exception is java.net.ConnectException: Connection refused
(Connection refused))

        org.springframework.web.client.ResourceAccessException: I/O error
on POST request for "http://localhost:9411/api/v2/spans": Connection
refused (Connection refused); nested exception is
java.net.ConnectException: Connection refused (Connection refused)

                at
org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:751)

                at
org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateWrapper.doExecute(ZipkinRestTemplateSenderConfiguration.java:228)

                at
org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:644)

Any hints or clues? We need this as it seems to be a prerequisite for:

https://apereo.github.io/cas/6.0.x/monitoring/Configuring-Monitoring-Administration.html#configuration


Thanks,

Bryan

University of Utah

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAG9x2GWtaRwDPbMP%2B%3D6Lmpu9BHbjJNV__BJiMfguav0%2BdaGS8w%40mail.gmail.com.

Reply via email to