spring-boot-admin

How avoid the certificate validation in spring-boot-admin?

夙愿已清 提交于 2019-12-12 19:14:14
问题 In what way can I avoid certificate validation in spring-boot-admin? Link error image: https://ibb.co/fkZu8y I configure the RestTemplate for avoid the certificate in a class, but I do not know how to send it, I guess it must be in the client, the spring-boot-admin-starter-client works automatically. This is the code for avoid the certificate validation. public class SSLUtil { public RestTemplate getRestTemplate() throws KeyStoreException, NoSuchAlgorithmException, KeyManagementException {

Unauthorized in spring boot admin

为君一笑 提交于 2019-12-12 07:35:20
问题 I wanted to control the microservices that are running in the Eureka server. I used spring-boot-admin for this, but I am getting the error on accessing the information about the Trace,Log etc... The error I am getting is Error: {"timestamp":1489052472862,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/metrics"} My dependencies are <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator<

How to get Hystrix Dashboard working again in Spring Boot Admin 2.x

痴心易碎 提交于 2019-12-11 14:55:30
问题 Spring Boot Admin 1 has an integrated Hystrix Dashboard. After upgrading my stack from Spring Boot 1.x to 2.x; this dashboard seems to have disappeared. How can I re-enable it? 回答1: The official support for Hystrix Dashboard was dropped in Spring Boot Admin 2.x. There now exists an unofficial plugin for Spring Boot Admin 2.x that brings Hystrix Dashboard back to live. Add the following Maven dependency to your Spring Boot Admin application's pom.xml , rebuild and deploy. <dependency> <groupId

Spring Cloud Stream and RabbitMQ health check

半世苍凉 提交于 2019-12-10 16:59:44
问题 I have a simple Spring Boot application using Spring Cloud Stream Rabbit and Eureka Discovery Client. The application works fine together with Eureka Server, and the messaging over RabbitMQ is also working. But if I spin up a Spring Boot Admin Server, the application starts logging health check failures: 2017-06-21 19:47:57.352 INFO 11416 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration 2017-06-21 19:51:25.047 INFO 11416 --- [nio-8303

spring boot admin disable specific tabes from UI

倖福魔咒の 提交于 2019-12-10 11:54:23
问题 I want to disable specific tabs from Spring boot admin UI. Is there any way to achieve this ? might be using some property or anything. My SBA server properties are as follows : spring.boot.admin.context-path=/admin spring.boot.admin.ui.title=Admin server.address=localhost server.port=6789 spring.security.user.name=user spring.security.user.password=Admin123 回答1: Disable those endpoints in your applications 回答2: As @joshiste pointed out you have to configure your applications not spring boot

Spring Boot Admin Page

那年仲夏 提交于 2019-12-09 07:06:55
问题 I am trying to understand how to use SBAP in my application because it is a very handy tool for development. I'm reading their reference guide but I'm not understanding a few things. Here is my pom for my application right now: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <packaging>war</packaging>

Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]

喜夏-厌秋 提交于 2019-12-06 19:09:15
问题 env: case 1 : client : springboot(1.5.12.RELEASE) + spring-boot-admin-starter-client 1.5.7 admin: springboot(2.1.1.RELEASE) + spring-boot-admin-starter-server 2.1.1 when i run client,and refresh admin app. the error is "Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]"; case2 : (2.1.1.RELEASE) Both the client and the server use the same version and have the same error. Detailed errors are as follows: 2018-12-04 11:10:40.129 ERROR 2572 --- [nio-9090-exec-5] o

Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]

 ̄綄美尐妖づ 提交于 2019-12-04 23:11:11
env: case 1 : client : springboot(1.5.12.RELEASE) + spring-boot-admin-starter-client 1.5.7 admin: springboot(2.1.1.RELEASE) + spring-boot-admin-starter-server 2.1.1 when i run client,and refresh admin app. the error is "Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]"; case2 : (2.1.1.RELEASE) Both the client and the server use the same version and have the same error. Detailed errors are as follows: 2018-12-04 11:10:40.129 ERROR 2572 --- [nio-9090-exec-5] o.a.catalina.connector.CoyoteAdapter : Exception while processing an asynchronous request java.lang

Spring Boot Actuator - MAX property

依然范特西╮ 提交于 2019-12-02 11:43:34
I am using Spring Boot Actuator dependency to get insights of application. For that, I have used Spring Boot Admin. Configuration for client-server is working fine. I have to measure the count, total-time, max for endpoints which are going to execute. uri:/user/asset/getAllAssets TOTAL_TIME: 831ms MAX: 0ms uri:/user/getEmployee/{employeeId} TOTAL_TIME: 98ms MAX: 0ms Why MAX (time) is 0 while TOTAL_TIME: is Xms While I execute generalize form localhost:8889/actuator/metrics/http.server.requests I get the MAX as 3.00.. I had also seen production-ready-features but not able to find any

Recurring AsyncRequestTimeoutException in Spring Boot Admin log

三世轮回 提交于 2019-11-29 07:32:45
I'm currently running Spring Boot Admin on my local machine for testing purposes and I'm getting the following error nonstop. The application itself seems to be working fine, but my logs are getting filled with these errors. I'm not sure why... org.springframework.web.context.request.async.AsyncRequestTimeoutException: null at org.springframework.web.context.request.async.TimeoutDeferredResultProcessingInterceptor.handleTimeout(TimeoutDeferredResultProcessingInterceptor.java:42) ~[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE] at org.springframework.web.context.request.async