简体   繁体   中英

JHipster-Registry Metrics for microservice says Access is denied

setup the following components using Jhipster (version of generator-jhipster: @ 5.3.1)

Gateway Jhipster Registry UAA Server

Everything works fine so far.

In Jhipster Registry, when I go to Administration >> Application Metrics lists the apis for Jhipster-Registry only. But it gives error when the uaa or gateway is selected in the drop down.

[AuditEvent [timestamp=2018-09-14T09:17:14.584Z, principal=internal, type=AUTHORIZATION_FAILURE, data={details=remoteAddress=172.20.0.3, tokenType=BearertokenValue=<TOKEN>, type=org.springframework.security.access.AccessDeniedException, message=Access is denied}]

Please let me know if I am missing some configuration.

You are using a UAA Server into a docker ? The UAA Server docker is on the same network of the JHipster_Registry ? You can try to use "--network host" to run the containers on the same network of the host.

F.

运行 JHipster Registry 时尝试添加uaa配置文件

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM