简体   繁体   中英

Jhipster registry adminstration + UAA

Jhipster Registry Administration Panel 是否需要任何特殊配置才能与 UAA 一起使用?

I do not know the answer but at least I know this discussion is relevant: https://github.com/jhipster/jhipster-registry/pull/278

In my case I upgraded to jhipster/jhipster-registry:v5.0.1 but still get a NPE thrown by UaaTokenRelayFilter like this:

WARN 1 --- [  XNIO-1 task-5] o.s.c.n.z.filters.post.SendErrorFilter   : Error during filtering
 com.netflix.zuul.exception.ZuulException: Filter threw Exception
      at com.netflix.zuul.FilterProcessor.processZuulFilter(FilterProcessor.java:227)
      at com.netflix.zuul.FilterProcessor.runFilters(FilterProcessor.java:157)
      at com.netflix.zuul.FilterProcessor.preRoute(FilterProcessor.java:133)
      at com.netflix.zuul.ZuulRunner.preRoute(ZuulRunner.java:105)
      at com.netflix.zuul.http.ZuulServlet.preRoute(ZuulServlet.java:125)
      at com.netflix.zuul.http.ZuulServlet.service(ZuulServlet.java:74)
      ...
 Caused by: java.lang.NullPointerException: null
      at org.springframework.security.jwt.JwtHelper.decode(JwtHelper.java:45)
      at io.github.jhipster.registry.security.oauth2.OAuth2ClientCredentialsService.getAccessToken(OAuth2ClientCredentialsService.java:40)
      at io.github.jhipster.registry.filters.UaaTokenRelayFilter.run(UaaTokenRelayFilter.java:51)
      at com.netflix.zuul.ZuulFilter.runFilter(ZuulFilter.java:117)
      at com.netflix.zuul.FilterProcessor.processZuulFilter(FilterProcessor.java:193)
      ... 111 common frames omitted

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