Any Idea for this issue - com.nimbusds.jose.RemoteKeySourceException: Couldn't retrieve remote JWK set: Read timed out
ricktam1469 opened this issue · comments
I a getting this issue com.nimbusds.jose.RemoteKeySourceException: Couldn't retrieve remote JWK set: Read timed out only for the first time hit.
have u tried increasing the timeout!
Can you please help with the section where do I need to change it. I am unable to find it.
There is no such timeout in the code you have provided, and I am also unable to change the value as timeout mentioned is final variable. Can you please help me in this?
At this place - https://github.com/rrohitramsen/aws_jwt_cognito/blob/master/src/main/java/com/aws/jwt/token/AwsCognitoJwtParserUtil.java#L168 you are getting error, please try moving this call in retry method.
Where is retry method?
you mean re-try and catch method???
I have tried all the ways but it is not working at all. If you don't have any solution, could you please suggest if anything else is there?