Open the monitoring platform of spring boot admin and find that the service details monitored by it all throw exceptions:
Error: {"timestamp":1502749349892,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/metrics"} Error: {"timestamp":1502749409302,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/env"} Error: { "timestamp": 1502749421564, "status": 401, "error": "Unauthorized", "message": "Full authentication is required to access this resource.", "path": "/jolokia/" } Error: {"timestamp":1502749435545,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/dump"} Error: {"timestamp":1502749445132,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/trace"}
These functions involve sensitive information, and the monitored terminal needs security authentication to access the corresponding monitoring point. Adding configuration can avoid this exception:
management.security.enabled=false