Hygieia: API throwing Exception After Configuring Jenkins: io.jsonwebtoken.SignatureException: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.

Created on 6 Jul 2017  路  7Comments  路  Source: hygieia/hygieia

Iam able to see Jenkins Collector data in DB. but in dashboard it is showing all 0's. API is throwing io.jsonwebtoken.SignatureException: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted. Error.

Please find below Error log.

io.jsonwebtoken.SignatureException: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:342) ~[jjwt-0.6.0.jar!/:0.6.0]
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:458) ~[jjwt-0.6.0.jar!/:0.6.0]
at io.jsonwebtoken.impl.DefaultJwtParser.parseClaimsJws(DefaultJwtParser.java:518) ~[jjwt-0.6.0.jar!/:0.6.0]
at com.capitalone.dashboard.auth.token.TokenAuthenticationServiceImpl.getAuthentication(TokenAuthenticationServiceImpl.java:59) ~[api.jar!/:2.0.5-SNAPSHOT]
at com.capitalone.dashboard.auth.token.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:37) ~[api.jar!/:2.0.5-SNAPSHOT]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.0.3.RELEASE.jar!/:4.0.3.RELEASE]

Most helpful comment

@sathishbob try clearing your dashboard cookies, that helped me

All 7 comments

HI,

I am also facing the same, because of the same the loginpage is not coming .

Its just showing api connectivity green.

I pulled the latest code and also tried mvn clean package install still its not working.

It started after creating new api key and installed the same on properties, i tried removing the api key still its the same issue.

Can you please advice.

@sathishbob try clearing your dashboard cookies, that helped me

@iglunev , it helped me ..

Thanks

@smlcodes - Please reopen if you have anymore issues with this.

@sathishbob , could you please share steps to clear dashboard cookies. I cleared few stuff, issue still exists.

@preetcam Just clearing your cache and opening in incognito mode. Try searching the issues list for this type of issue there are many resolved issues like this that may be able to help you.

can you please suggest how to clean cache and cookies? which command to use?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spennec picture spennec  路  4Comments

drewkhoury picture drewkhoury  路  6Comments

mohsinzaheer25 picture mohsinzaheer25  路  6Comments

softwareklinic picture softwareklinic  路  7Comments

oshingc picture oshingc  路  5Comments