-
0 votesanswersviews
无权查看spring boot管理应用程序中的 endpoints
我有一个 spring 靴应用与 spring 启动 Actuator . 登录http://localhost:9501(Spring管理应用程序)时,我会通知数据库中现有用户的用户和密码,即abc . 然后我得到错误: Error: Internal Server Error", "exception":"io.jsonwebtoken.Malform... -
0 votesanswersviews
Spring-Boot-Admin没有加载管理页面,并且为登录页面加载了UI
我需要Spring Boot Admin版本Spring Boot 1.5的帮助问题:我在github中提供了创建Spring Boot Admin App的步骤 . 我将@EnableAdminServer注释应用到我的Startup类我可以看到登录页面加载但样式不是加载并在输入用户名和密码后点击登录按钮,它不会重定向到Spring Boot Admin主页 . 使用的依赖关系如下: <d... -
1 votesanswersviews
Camel Spring Boot Actuator不使用cxfrs路由
我使用springboot camel开发了简单的基于cxfrs的路由,但是当我添加spring-boot-starter-actuator并将其作为@SpringBootApplication运行时: Spring Actuator endpoints 像/ health不工作并返回http 404 . 我的路线: from("cxfrs:http://127.0.0.1:8181?r... -
0 votesanswersviews
Spring Boot -1.5.3 . 发布版本 - 启用了安全功能?
我使用Spring Boot - 1.5.3 . 我的项目的版本 . 只需使用 Actuator 和spring boot initializer site从spring boot initializer site测试我的演示应用程序 . (因此我不再需要共享我的POM,因为它是默认的 . )当我启动我的应用程序并尝试点击指标终点URL时,我得到401未授权状态(下面给出的图像) . Fo... -
2 votesanswersviews
使用Spring Boot Actuator刷新 endpoints 在运行时刷新Spring Redis缓存管理器Bean
我在我的应用程序中使用 Spring boot 1.5.15 . 我已经使用 Redis 作为缓存服务器添加了缓存支持,并使用Spring Caching注释来处理缓存操作 . 使用Spring Caching和Redis,无法为我使用的每个缓存提供单独的到期时间 . 所以,我已经定制了如下的CacheManager bean并创建了一个配置类来获取我使用的各个缓存的yaml文件中的到期值 . ... -
1 votesanswersviews
Spring Boot 2.1.0管理服务器端口在不同的端口上
在我的spring boot 2.0应用程序中,我让主应用程序侦听端口1234,我希望管理服务器在1235上运行 . 所以在我的配置文件中,我设置: management.server.port=1235 我的服务器无法启动,出现此错误: [错误] 2018-11-14 05:20:14.958 [main] SpringApplication - 应用程序运行失败org.springfram... -
1 votesanswersviews
具有外部属性的Spring引导配置文件
我想在spring boot中设置3个配置文件:使用外部配置文件进行 生产环境 ,开发和测试 . 申请类: @SpringBootApplication public class Application { public static void main(String[] args){ SpringApplication.run( Application.class, a... -
0 votesanswersviews
Health 检查时,Spring Boot Admin非法字符
我使用Spring Cloud Netflix OSS部署了一些Spring启动应用程序,并配置了Spring启动管理器来监控连接到Eureka服务器的那些应用程序 . 但对于其中两个应用程序,我遇到了错误 . 你能告诉我这个错误的原因是什么,以及如何减轻这个错误 . 此 endpoints 运行状况URL由Spring引导执行程序提供,并且heath URL的输出为 {"descrip... -
0 votesanswersviews
连接到spring-boot-admin时禁用spring-boot-client身份验证
需要帮助在连接到spring-boot-admin时,在spring-boot客户端中禁用基本身份验证 . 似乎将'management.security.enabled'&'security.basic.enabled'设置为false应禁用所有安全性( Actuator endpoints 基本身份验证) . 提到了各种文档,论坛和这个链接:How to configure spring b... -
0 votesanswersviews
Spring Boot Actuator返回Docker上的应用程序
我在Docker上有一个正在运行的应用程序 . 但是,当我尝试检查它的 Health 状况,如服务器:端口/ Health ,它说DOWN . 为什么?这是Docker的常见问题吗? 谢谢 编辑: 2017-09-27 14:56:30.495 WARN 22559 --- [nio-8234-exec-4] o.s.b.actuate.health.JmsHealthIndicator:运行状... -
1 votesanswersviews
如何使用es 6.2.3配置spring-boot-starter-data-elasticsearch 2.0.1
我正在尝试使用es 6.2.3将项目更新为spring-boot-starter-data-elastic-search 2.0.1,但这不起作用 . 我收到此错误: INFO 27836 --- [ost-startStop-1] o.elasticsearch.plugins.PluginsService:loaded plugin [org.elasticsearch.index.rein... -
0 votesanswersviews
Grafana singlestat和transformNull
我正在使用带有Graphite数据源的Grafana 5.0.3,并且我在使用transformNull函数时遇到了Singlestat的一些问题 . 下面引用的数据源来自Spring Boot 2 Micrometer的http指标,因此我无法修改生成此数据的代码 . 我有一个图表,可以跟踪自上次服务器重启以来的HTTP 500错误 . 场景1 - 数据变为空 当我重新启动服务器并且没有发生新... -
5 votesanswersviews
在application.groovy中指定的闭包时,Spring Boot Actuator / env endpoints 响应格式错误
我有一个标准的Grails 3应用程序,我在applications.govov文件中添加了一个application.groovy文件到grails-app / conf目录 . 该文件包含以下形式的闭包: a = { b = 1 } 当我向Spring Boot Actuator提供的/ env endpoints 提交GET请求时,响应JSON格式不正确 . 它包含已成功序列化的J... -
0 votesanswersviews
spring boot Actuator endpoints 映射根类
在 Spring 天,我们可以设计如下的休息网络服务 . @RestController public class HelloController { @RequestMapping(value = "/hello", method = RequestMethod.GET) public String printWelcome(ModelMap model) {... -
0 votesanswersviews
Gradle spring boot - / Health 终端无响应
我有一个spring boot rest api项目 - 我无法让 spring 启动 Actuator / Health 终端工作 . 它只是没有出现,当我尝试去localhost时,我得到一个'Whitelabel Error Page':8080 / health . 我已经尝试将各种属性添加到我的application.properties但似乎没有工作 - 我不需要任何自定义映射或 Ac... -
2 votesanswersviews
将 spring 保护器 Actuator Health 终点更改为自定义终点
是否可以将 spring 保护器 Actuator 的 Health 终点更改为自定义终点?像下面这样的东西 . http://localhost:8080/actuator/health 至 http://localhost:8080/myapp/apphealth 只想改名而不是 Actuator / Health 的响应 . 可能吗? -
1 votesanswersviews
spring 启动 Actuator endpoints - 406不可接受
我的 spring 启动 Actuator endpoints 如/ health,/ env,/ info等我得到406 Not Acceptable错误 我使用的是spring-boot 1.5.8版 访问 endpoints ,如http://localhost:6061/health http://localhost:6061/env 这是我的gradle构建文件的一部分 buildsc... -
2 votesanswersviews
使用OAuth2身份验证启用Spring Boot Health Actuator
我们已经看到了许多与Spring Boot的Health Actuator endpoints 1.5版相关的问题 . 经历了其中的一些,我们仍然处于亏损状态 . 我们的目标是: 利用Spring Boot / Spring Security自动配置安全过滤器链(即不必完全实现/配置 HttpSecurity ) 启用 secured Health 访问(查看应用程序 Health 信息... -
0 votesanswersviews
Kubernetes活跃度 - 使用Spring Boot为特定 endpoints 保留线程/内存
你知道(如果可能的话)如何为spring boot微服务中的特定 endpoints 保留线程/内存? 我有一个接受 HTTP Requests via Spring MVC 的 microservice ,这些请求触发对 3rd system 的http调用,有时会部分降级,并且响应速度非常慢 . 我无法减少超时时间,因为有些调用本质上非常慢 . 我启用了spring-boot-actuator... -
1 votesanswersviews
如何避免spring-boot-admin中的证书验证?
以什么方式可以避免spring-boot-admin中的证书验证? 链接错误图片:https://ibb.co/fkZu8y 我配置RestTemplate以避免类中的证书,但我不知道如何发送它,我想它必须在客户端,spring-boot-admin-starter-client自动工作 . 这是避免证书验证的代码 . public class SSLUtil { public Rest... -
0 votesanswersviews
使用Netflix Zuul前往不同港口的路线
我有一个设置,其中一些微服务被发现服务(Spring Boot Eureka服务)发现并通过边缘服务(Spring Cloud Netflix Zuul)进行路由 . 我的服务中的配置是这样的: management: context-path: /manage port: 9000 security: enabled: false eureka: instance: ... -
1 votesanswersviews
Spring Boot Actuator的DataSourcesHealthIndicatorConfiguration没有找到dataSource bean
我已将Actuator添加到现有的Spring Boot(v1.2.2)项目中 . 我的目标是从/ health endpoints 查看数据库信息 . 目前该 endpoints 返回: { "status": "UP", "diskSpace": { "status": "... -
0 votesanswersviews
Spring Boot - Thymeleaf模板
我使用的是Spring Boot 1.2.7和Thymeleaf . 所有的html页面都在 src/main/resource/templates 文件夹中,当我在控制器中说 return "<viewName>" 时,一切正常 . 现在,我想为AngularJS使用不同的文件夹结构 . 想将页面移动到其他文件夹,比如 webapps/pages . 尝试配置解... -
1 votesanswersviews
如何将spring MVC应用程序注册到spring boot admin
我有 Spring 季MVC网络应用程序 . 我通过添加如下的依赖性在其中使用了 spring 启动器 . <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-actuator</artifactId> &... -
1 votesanswersviews
如何用Spring Boot Admin取代Spring Batch Admin
我的直接问题是:在Spring Batch Admin中,有一个清晰的概念和实用的功能来管理工作 . 因此,在Spring Batch Admin中,您可以启动,停止一个作业,停止所有作业,重新启动,放弃,查看每个作业的状态,并检查它是成功还是失败 . 如果我使用部署为战争的Spring Cloud Task和在同一服务器中部署为战争的Spring Boot Admin,我该如何管理我的工作? 更...